Commit Graph

154 Commits

Author SHA1 Message Date
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
6adc14a8a1 spec-create: Select makefile as build_techology when makefiles or GNUmalefiles are found, not only Makefiles
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-09 23:07:31 +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
0594180470 libnetwork.lib: move code from spec-create to the new function git.create_tarball()
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-24 22:39:23 +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
a360868bda sped-create: exist with error when git is required but cannot be found
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-23 21:00:46 +02:00
Davide Madrisan
1ccfb7faff sped-create: also support git URL starting by http:// and https://
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-23 20:40:33 +02:00
Davide Madrisan
4ec7565752 spec-create: add a "## GITSOURCE" comment when git is used
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-23 00:18:04 +02:00
Davide Madrisan
36fcfd24d6 spec-create: allow specfile creation from a git repository
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-22 16:51:59 +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
a662178d61 spec-create: add a build requirent for cmake and scons when required
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-03-25 23:46:01 +02:00
Davide Madrisan
e4ce9bf357 spec-create: preliminary support for scon
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-03-25 22:05:44 +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
90f3996a3d spec-create: fix expansion of lines containing @configure@
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-22 01:05:56 +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
ff13cc3031 spec-create,templates: add the %debug_package macro when required
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-06 23:13:44 +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
f67320c5d0 spec-create-old: this plugin is now unmaintained 2011-12-18 16:06:36 +01:00
Davide Madrisan
0f71f389e3 spec-create, templates/library: support library packages with a name not starting by lib 2011-12-18 15:24:59 +01:00
Davide Madrisan
7ee4298afd spec-create: fix error message 2011-12-18 15:02:51 +01:00
Davide Madrisan
89e3325bea spec-create: support up to two nested @if/@else/@fi blocks in the templates 2011-12-18 14:18:35 +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
Davide Madrisan
1d2c39f52c spec-create, templates: move part of package documemtation to the devel package or add a comment if the devel package is not provided by the template. 2011-12-16 22:00:51 +01:00
Davide Madrisan
f49b9a4893 spec-create: support source packages with a makefile but no configure script 2011-12-16 14:07:29 +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