Commit Graph

21 Commits

Author SHA1 Message Date
Davide Madrisan
a176e54cee libspec.lib: specfile.check_syntax(): modify the error message
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-09 00:38:21 +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
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
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
6b8099f31d libtranslate.lib: new library
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-30 22:02:42 +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
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
54b8190ba1 revert commit a03a529513: this creates some issues in the translations
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 23:05:06 +01:00
Davide Madrisan
a03a529513 all plugins: do not load a library already loaded by another autospec module
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 11:52:20 +01:00
Davide Madrisan
1504e58b3e libspec.lib: style fixes
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-07-07 17:17:11 +02:00
Stefano Cotta Ramusino
9db6a7c44d libspec.lib: expand compound rpm variables such as %{majorminor}
Signed-off-by: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
2012-07-04 03:37:20 +02:00
Davide Madrisan
7a982322a8 pck-update: remove SPEC_OBSOLETES_ESCAPED
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-25 20:25:45 +01:00
Davide Madrisan
f086d23cce libspec.lib: Correctly parse lines containing more complex 'obsoletes' directives
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-25 20:15:01 +01:00
Davide Madrisan
9cc2f35855 libspec.lib: Workaround for lines containing "Obsoletes pck <= ver"
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-25 19:30:56 +01:00
Davide Madrisan
e642fb425e libspec.lib: rework rpmvars.init() in order to support rpm macro expressions
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-15 13:12:55 +01:00
Davide Madrisan
3daac96b68 plugins,tools,tests,libs: use LC_ALL instead of LANG
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-02 21:16:48 +01:00
ea971add94 libspec: the previous fix was not correct 2011-09-24 18:53:50 +02:00
fa9b236d17 libspec: provide a better workaround for rpm segfaults when evaluating urls with '%' characters 2011-09-24 18:43:02 +02:00
55df4cbe08 libspec: quote '%' characters before passing strings to rpm --eval to avoid a segmentation fault error 2011-07-19 16:07:53 +02:00
Silvan Calarco
aa237198c2 Initial commit 2011-04-26 21:39:44 +02:00