Commit Graph

440 Commits

Author SHA1 Message Date
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
a2aa49e5a0 Release 1.16.1
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-02 17:48:00 +01:00
Davide Madrisan
34f0bd9b6d Update NEWS and autospec.spec
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-01 23:17:44 +01:00
Davide Madrisan
40a6110422 libraries, autospec: refactoring library loading to fix some issues
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-01 22:50:46 +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
55b61eebb1 libapse.lib: use libtranslate.lib
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-30 22:12:32 +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
Davide Madrisan
b5a9663cf5 po/it/Makefile: check 'autospec.po' for untranslated strings
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-27 19:21:10 +01:00
Davide Madrisan
2b2f777819 Release 1.16.0
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-26 22:46:15 +01:00
Davide Madrisan
c81a23c5cf Update package documentation: italian manpage
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-26 22:34:38 +01:00
Davide Madrisan
485cb6a81d Update package documentation: NEWS
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-26 22:24:25 +01:00
Davide Madrisan
29e18765b6 autospec, plugins: rework the logic of the command-line options parser
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-25 23:21:06 +01:00
Davide Madrisan
eb0f465be0 Makefile: fix for make's target 'dist-rpm-install'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-25 17:16:42 +01:00
Davide Madrisan
68c1f2b47a po/it/Makefile: minor fixes
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-25 16:39:12 +01:00
Davide Madrisan
288d828aaa translation framework: xgettext is buggy: use 'bash --dump-po-strings' instead and rework all the code
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-25 15:54:34 +01:00
Davide Madrisan
0e93767db4 plugins: do not ignore the 'color_scheme' set in the configuration files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-24 00:11:27 +01:00
Davide Madrisan
5a00359a29 Point to the translation file autospec-all in all modules and libraries
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-23 23:45:02 +01:00
Davide Madrisan
bf480b6358 update translation framework - second stage
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-23 23:17:17 +01:00
Davide Madrisan
962a8d7f82 update translation framework
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-22 22:40:21 +01:00
Davide Madrisan
13c66cf193 pck-update: do not ignore the option '--changelog' when the variable 'changelog_userdef' is defined in one of the configuration files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-20 22:34:57 +01:00
Davide Madrisan
5774796d00 Makefile.env, Makefile's: add some variables to Makefiles.env and use them in the make targets 'pot-files'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-19 23:30:22 +01:00
Davide Madrisan
b1d7033d1e Update ChangeLog file
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-19 22:59:30 +01:00
Davide Madrisan
f525086f8b Makefile: new target 'pot-files'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-19 22:45:31 +01:00
cd9d62f95b conf/03-apse.conf: fix sed expression not to match trailing spaces in:
. http://directory.fsf.org
     . http://launchpad.net
2012-11-19 15:23:57 +01:00
Davide Madrisan
796b24e1e0 Makefile: target 'check': also check library files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-18 23:07:55 +01:00
Davide Madrisan
fb05bf3201 Release 1.14.3
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-18 20:18:37 +01:00
Davide Madrisan
f2dc888706 libcfg.lib: fix translation string (misplaced ':' character)
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-18 20:16:52 +01:00
Davide Madrisan
c84fa05747 libcfg.lib: exit if the given configuration files do not exist
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-18 20:09:15 +01:00
Davide Madrisan
d659a5d779 update documentation and specfile
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-18 19:30:24 +01:00
Davide Madrisan
f81b2365f6 ChangeLog: standardize the format of the last entries
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-18 16:02:13 +01:00
c5d5093431 libapse.lib: fix some version comparison errors by specifying numbers base
How to reproduce: /usr/bin/autospec -u ocre -a1,2

Errors fixed:
/usr/share/autospec/lib/libapse.lib: line 159: 019: value too great for base (error token is "019")
/usr/share/autospec/lib/libapse.lib: line 162: 019: value too great for base (error token is "019")
2012-11-16 18:40:20 +01:00
Davide Madrisan
5008e884d4 libcfg.lib, config-getvar: option '-C|--config': accept a list of configuration files containing wilcards
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-15 22:55:31 +01:00
Davide Madrisan
343e644abe pck-update: fix a string translation by adding the missing '$' prefix
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-15 19:31:03 +01:00
Davide Madrisan
bbc877d5ed ChangeLog: fix paragraph indentation
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-14 22:48:46 +01:00
Davide Madrisan
15f3575b2e autospec, plugins: add the option '-C|--config' for selecting a different user configuration file or list of user configuration files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-14 22:42:08 +01:00
Davide Madrisan
8eee8ae037 autospec: fix for the options requiring an argument
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-13 23:33:02 +01:00
Davide Madrisan
093aa4676c autospec: add some update debug messages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-13 22:07:36 +01:00
Davide Madrisan
badca703f0 autospec: fix parsing of multi-string arguments
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-13 21:59:40 +01:00
Davide Madrisan
97552d02b8 Release 1.14.2
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-12 21:40:06 +01:00
Davide Madrisan
705396eab1 tests: fix the color tags used in the final messages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 23:41:11 +01:00
Davide Madrisan
cf3bcb0edb manpage: update italian manpage and document new extensions
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 22:48:30 +01:00
Davide Madrisan
c19391e1be conf/Makefile: simplify the makefile by removing the static list of files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 19:35:04 +01:00