Commit Graph

240 Commits

Author SHA1 Message Date
Davide Madrisan
3eed595297 Update the package Documentation
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2015-05-07 20:19:43 +02:00
Davide Madrisan
faf2a81b00 libspec.lib - Accept the rpm token %global which defines macros in global context
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2015-03-29 18:40:01 +02:00
Davide Madrisan
c55acfc48b Release 1.16.5
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-12-30 21:30:11 +01:00
Davide Madrisan
08f2e6f1a8 Changelog - Synchronize with git log
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-12-14 22:35:29 +01:00
Davide Madrisan
1ef49ec99d libnetwork.lib - use the builtin command 'type' instead of 'which'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-12-14 22:31:27 +01:00
Davide Madrisan
5a4e8f799a tests: fix an obsolete and now unsupported syntax for 'find -perm'
tests/test01_pkgquality
tests/test02_pkgsecurity

Fix an obsolete and now unsupported syntax of the external tool 'find'
(-perm +<mode>) that made some quality and security tests fail.
The supported one is now: -perm /<mode>

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-09-16 22:03:37 +02:00
Davide Madrisan
f172d7e6db Update the documentation files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-09-15 21:40:41 +02:00
Davide Madrisan
26856b5b71 spec-create: Honour the pck version set by the user for specs generated from git
specfile.create(): always execute 'git.create_tarball()' with the option
'--pck-version'. This way a user-provided package version will be used
instead of the default one.

This patch will permit to force a user defined package version when desired.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-08-20 21:00:14 +02:00
Davide Madrisan
93f2d120e9 spec-create: add support for tarballs with autogen.sh and no configure
Create a correct %build block in the specfile generated from tarballs
that do not provide any 'configure' script but only an 'autogen,sh' one.
Feature asked by Silvan Calarco.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-08-18 22:26:15 +02:00
Davide Madrisan
bcb23e7e45 Update the documentation files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-08-13 22:43:22 +02:00
Davide Madrisan
169fdd13f5 pck-update: package.generate_name(): return the correct value
when executed without the option '-p'.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-24 20:49:28 +01:00
Davide Madrisan
80098fcc60 documentation: update ChangeLog and NEWS
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-09 21:47:52 +01:00
Davide Madrisan
c44c81249f documentation: update the italian manpage
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-08 20:34:05 +01:00
Davide Madrisan
1b62dc674c autospec, pck-update: Update the copyleft messages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-07 23:23:30 +01:00
Davide Madrisan
703a7f61a5 ChangeLog: document the two last Silvan's patches
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-07 23:14:41 +01:00
Davide Madrisan
c8f985bd1f autospec.po: add missing italian translation strings
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-07 23:08:54 +01:00
Davide Madrisan
e2d0437f60 pck-update: new function package.generate_name()
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-05 22:38:22 +01:00
Davide Madrisan
0cc7bf9f89 ChangeLog: add missing entries
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-08-04 22:42:06 +02:00
Davide Madrisan
42400bcded Mark the new autospec version as "Korbielow".
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 21:50:44 +02:00
Davide Madrisan
f1ba975689 test framework: remove the duplicate check for poor infopages installation
implemented in the module 'test00_specsyntax' and improve the test coded
   in 'test01_pkgquality' and its related help message.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 21:47:18 +02:00
Davide Madrisan
5e8e99ecdc New autospec template ocaml-libs for OCaml libraries.
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 21:33:20 +02:00
Davide Madrisan
b4e680004a conf/02-specfile-rpm-groups.conf:
Add rpm groups for OCaml libraries and development packages.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 18:41:45 +02:00
Davide Madrisan
b21d192d8f test01_pkgquality:
Check for wrong file attributes in bin and lib directories.

Do ignore files with name matching '*.so.owner'.
These are text files needed by OCaml, not libraries.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 18:39:18 +02:00
Davide Madrisan
b4f20819f9 t01_pkgquality: modify regexp to catch OCaml library files
when testing for bad BuildArch tags

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 18:37:44 +02:00
Davide Madrisan
69a4080a61 libtest.lib: fix two broken calls to 'notify()'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 18:35:36 +02:00
Davide Madrisan
617a555c47 Changelog: the new template 'web' is an improvement not a bugfix
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-03-04 22:24:04 +01:00
Davide Madrisan
2f42c957ac Documentation: new target 'web': update italian manpage and the help messages of spec-create
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-03-04 22:19:53 +01:00
Davide Madrisan
4380516390 Changelog: add missing separator
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-03-04 21:38:33 +01:00
Davide Madrisan
5dd0d6bdc1 config: 'source0' files can start by 'git://'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-03-01 22:40:12 +01:00
01e754b9c4 templates/web: new template for web application packages 2013-02-21 12:44:23 +01:00
Davide Madrisan
88242edea8 spec-create: fix version detection of tarballs created via a git clone command
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-02-17 15:48:41 +01:00
ef3b9277ae spec-create: fix regexp to detect names starting with 'lib' (sample failing case: lilv) 2013-01-31 06:20:06 +01:00
636e7f8495 libspec.lib: also support "=" relation when assigning SPEC_OBSOLETES. 2013-01-19 18:22:52 +01:00
644f634393 libspec.lib: reworked sed expressions to get SPEC_SOURCE0_PCKNAME from SPEC_SOURCE0 2013-01-07 13:55:01 +01:00
Davide Madrisan
76440538a6 ChangeLog: sync with git commits
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-01-06 23:39:42 +01:00
Davide Madrisan
2e20dab6ef libspec.lib: fix initialization of SPEC_SOURCE0 and SPEC_SOURCE0_VERBATIM
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-01-06 23:24:56 +01:00
Davide Madrisan
0ca72ced3b Update documentation files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-18 21:50:43 +01:00
Davide Madrisan
45b271e4c9 libspec.lib: better separation of the autospec and rpm output when reporting a syntax error of a specfile
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-09 20:44:31 +01:00
Davide Madrisan
b65b2a0b87 libmsgmng.lib: translate "ERROR", "WARNING", and "DEBUG"
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-09 00:12:57 +01:00
Davide Madrisan
ee9a2c72b2 libspec: 'rpm -q --specfile --specedit <specfile>' does not always exit with an error code when the specfiles have syntax errors. Try to catch these problems.
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-08 23:59:53 +01:00
Davide Madrisan
58edaf3373 libspec: new function 'specfile.check_syntax()'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-08 23:32:54 +01:00
Davide Madrisan
d5d2308272 ChangeLog: update
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-02 19:04:19 +01:00
Davide Madrisan
868c8b882a libs,tests: add a debug message saying that the file is being loaded
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-01 17:54:46 +01:00
Davide Madrisan
61b0a67504 libapse.lib.: do not use the real paths of libspe.lib. Use @libdir@ instead
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-01 17:45:50 +01:00
Davide Madrisan
8cd4f03cb4 libraries: get rid of the clashing variables 'me'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-01 17:40:21 +01:00
Davide Madrisan
88ce40667b config-getvar: update the help message
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-30 22:24:51 +01:00
Davide Madrisan
6b8099f31d libtranslate.lib: new library
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-30 22:02:42 +01:00
Davide Madrisan
6a8aa06630 Makefile.env: remove the variables PO_COPYRIGH_HOLDER and PO_BUGS_ADDRESS
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-29 22:48:34 +01:00
Davide Madrisan
0c66ce02ca po/it/Makefile: better output messages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-27 23:42:25 +01:00
Davide Madrisan
8749270267 po/it/autospec.po: add a missing translation
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-27 21:10:51 +01:00