Commit Graph

91 Commits

Author SHA1 Message Date
Davide Madrisan
7a68b819d4 pck-update, test00_specsyntax: move code from pck-update (action 4) to a new test file test00_specsyntax
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-19 23:10:12 +02:00
Davide Madrisan
8bb763e34b pck-update: provide the action number in the message asking for running tests
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-19 14:27:21 +02:00
Davide Madrisan
a50a7d17d7 libtest.lib: new library for test framework
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-19 14:16:01 +02:00
Davide Madrisan
055aa310d9 pck-update: do not reinitialize the tests counter before executing a new test battery
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-19 10:58:33 +02:00
Davide Madrisan
af1fa53444 pck-update, test01_*,: rework output of all tests
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-19 00:03:42 +02:00
Davide Madrisan
c439f88deb pck-update: update help message
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-15 22:10:50 +02:00
Davide Madrisan
223e904242 pck-update: check specfiles for CR and CRLF line terminators; they can mislead the specfile parser
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-06 21:02:14 +02:00
Davide Madrisan
4f44b8b825 pck-update: package.update(): better notification message
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-04 23:30:40 +02:00
Davide Madrisan
ae734fb182 pck-update: action 0: better notification message
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-04 22:49:58 +02:00
Davide Madrisan
0c9278c7e8 pck-update: stop execution with an error code when specfile.newrelease() reports an error
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-01 23:18:39 +02:00
Davide Madrisan
d848b0a5b9 pck-update: do not ignore the release set by user
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-28 23:43:12 +02:00
Davide Madrisan
37b7784608 pck-update,lib/libnetwork.lib: "host" is not required by pck-update; move the requirement to libnetwork
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-23 21:21:10 +02:00
Davide Madrisan
041719d96e pck-update (-a0): add support for regexpr
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-14 17:29:56 +02:00
Davide Madrisan
1f7ddcbf13 pck-update (-a5): new option "--list-check" for simply running "rpmbuild -bl" instead of building packages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-03-17 23:47:03 +01:00
Davide Madrisan
5faa3d8776 pck-update: treat rpm --specfile --specedit errors as warnings
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-03-17 22:48:28 +01:00
Davide Madrisan
c8909a86fb pck-update (-a6): minor fixes
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-03-04 20:11:34 +01:00
Davide Madrisan
90ac66435c pck-update: fix for "/usr/bin/pck-update: line 2458: package: command not found"
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-03-02 23:34:14 +01:00
Davide Madrisan
65df56ac7c pck-update (-a6): better check for self-provided packages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-02-06 23:12:56 +01:00
Davide Madrisan
18ab4ff63d pck-update (-a6): never include in the list of build requirements a self-provided package
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-02-05 20:00:00 +01:00
Davide Madrisan
e682c64fc0 pck-update (-a6): fix for requirements like libGLUT>=3.7
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-02-05 19:47:02 +01:00
Davide Madrisan
7c7004d1e8 pck-update: infofile.create(): honour %_specdir and %_sourcedir when checking for syntax errors in the specfiles
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-02-05 16:26:50 +01:00
Davide Madrisan
76e829f045 pck-update: (-a6): fix for /lib/ld-linux.so.2 -> ld-2.14.1.so
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-02-03 23:31:24 +01:00
Davide Madrisan
062ef27deb pck-update (-a6): code cleanups
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-31 00:54:51 +01:00
Davide Madrisan
3ce36517c5 pck-update (-a6): another bunch of code cleanups
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-29 17:34:11 +01:00
Davide Madrisan
877e3d5a37 pck-update (-a6): code cleanups
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-29 01:54:08 +01: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
d349dcdd7a pck-update: add a newline for better readability
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-25 19:19:51 +01:00
Davide Madrisan
1d80f444ec pck-update: better filter for processing unpackaged files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-22 19:15:33 +01:00
Davide Madrisan
0388269d90 pck-update: batter test when looking for unpackaged files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-22 19:03:48 +01:00
Davide Madrisan
c6d41d2d58 pck-update: do convert the list of unpackaged files discovered by rpmbuild into a list thak make use of rpm macros
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-22 17:38:27 +01:00
Davide Madrisan
e0ad10cbdf pck-update: Display the error detected by the command "rpm -q --specfile --specedit" when a specfile contains errors
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-21 23:24:37 +01:00
Davide Madrisan
e7cefb0ed0 pck-update: print the list of packages before running the tests
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-17 23:21:07 +01:00
Davide Madrisan
005f5b1082 pck-update: ignore comments in test n.5 for make too
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-17 22:08:56 +01:00
Davide Madrisan
fcb14501ba pck-update: ignore comments in test n.5
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-17 22:05:55 +01:00
Davide Madrisan
20eefda133 update some copyright messages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-17 22:01:57 +01:00
Davide Madrisan
b8a3d879d1 pck-update: add a msg asking developers to run quality and security test
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-15 15:30:42 +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
Davide Madrisan
b35f72611b pck-update: another fix for git:9d85fd2b1d2c0d532229ff858e15d2ba3f793043 2011-12-17 13:26:49 +01:00
Davide Madrisan
41ba129cd6 pck-update: fix syntax error introduced in git:9d85fd2b1d2c0d532229ff858e15d2ba3f793043 2011-12-17 12:36:14 +01:00
9d85fd2b1d pck-update: escape '<' and '>' characters when printing SPEC_OBSOLETES to infofile to fix a syntax error 2011-11-14 12:07:04 +01:00
Silvan Calarco
aa237198c2 Initial commit 2011-04-26 21:39:44 +02:00