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
|
f525086f8b
|
Makefile: new target 'pot-files'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-11-19 22:45:31 +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
|
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
|
a2056ba9d5
|
autospec, autospec.conf, plugins: replace the option '--colorize' by '--colors <color-theme>'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-11-11 18:56:52 +01:00 |
|
Davide Madrisan
|
0f301dc9fa
|
all plugins: the option '--colorize-theme' must set colorize to '1'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-11-10 22:55:40 +01:00 |
|
Davide Madrisan
|
cd7d6b663d
|
autospec,plugins,libraries: a color scheme can be selected now by using the new command-line option '--colorize-theme'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-11-10 15:47:12 +01:00 |
|
Davide Madrisan
|
b5a1a17876
|
plugins/*: Execute 'notify.disable_colors()' when 'colorize' is set to '0' (disabled) to ignore color redefinitions made by user
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-11-09 22:57:36 +01:00 |
|
Davide Madrisan
|
8b6e2b2c50
|
config-getvar: update copyleft
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-11-08 20:33:11 +01:00 |
|
Davide Madrisan
|
45b6f0d61d
|
pck-update: restore build requirement detection for *.so requirements
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-11-07 22:45:44 +01:00 |
|
Davide Madrisan
|
f929f20486
|
config-getvar: fix the help message (incorrect list of default files)
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-11-07 22:24:08 +01:00 |
|
Davide Madrisan
|
15825d0a4b
|
spec-create: new option '--changelog'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-11-07 21:26:51 +01:00 |
|
Davide Madrisan
|
941504de3c
|
pck-update: add a warning message when a requirement is ignored
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-11-01 23:11:39 +01:00 |
|
Davide Madrisan
|
3716f5e0c2
|
pck-update: try to avoid reporting package requirements set with 'Requires:' as build requirements. Unless not better identified requirements are in 'a(b)' form don't report them as build requirements to avoid breaking stage1 builds and causing unneeded circular dependencies
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-11-01 22:27:12 +01:00 |
|
Davide Madrisan
|
f107a20bf8
|
libnetwork.lib; pck-update (action 3,5): improve the functions 'git.download()' and 'git.create_tarball()' by adding the option '--pck-version' and use it when calling 'git.download' in pck-update
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-10-30 23:17:59 +01:00 |
|
Davide Madrisan
|
80e22280fe
|
pck-update (action 5): fix the package update from a git repository
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-10-30 19:52:19 +01:00 |
|
Davide Madrisan
|
7cc90d2efb
|
pck-update (action 3,5): preliminary support for source files updates from a git repository
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-10-29 23:15:58 +01:00 |
|
Davide Madrisan
|
5d684cd01a
|
pck-update: infofile.create(): quote all the elements of SPEC_SOURCE to avoid problems when the URL contains the letter '&'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-10-16 21:44:17 +02:00 |
|
Davide Madrisan
|
ebc1fd88ad
|
spec-create: modify the 'Source' tag by including a parsable git url
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-10-03 22:21:20 +02:00 |
|
Davide Madrisan
|
0a648b670e
|
spec-create, lib/libnetwork.lib: add aupport for git branches in spec-create by adding the new options --git-branch and --preserve-dot-git
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-09-19 19:27:50 +02:00 |
|
Davide Madrisan
|
165e54e8d2
|
spec-create: document the creation of a specfile starting from a git repository
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-09-09 20:11:13 +02:00 |
|
Stefano Cotta Ramusino
|
876146520e
|
pck-update: action 3: generate right download URL after action 2
Signed-off-by: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
2012-07-04 03:44:14 +02:00 |
|
Davide Madrisan
|
b856cd2959
|
pck-update,libnetwork.lib: a package name can contain one or more undescores so add _ to the list of allowed characters
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-06-18 21:55:25 +02:00 |
|
Davide Madrisan
|
a14b989d3a
|
pck-update (a4): allow a distribution-ID "upgrade" when updating the release number (example: 1mamba --> 2mamba2)
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-05-29 23:20:59 +02:00 |
|
Davide Madrisan
|
90968556d3
|
pck-update: fix syntax error in getopt --long argument
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-05-28 23:11:36 +02:00 |
|
Davide Madrisan
|
458987e4ba
|
pck-update: new options --update-autobuildreq which replace a block AUTOBUILDREQ-BEGIN ... AUTOBUILDREQ-END by an updated one
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-05-27 19:55:01 +02:00 |
|
Davide Madrisan
|
a191a40d35
|
pck-update: do not check for missing build requirements and source files when pck-update is invoked with the option --list-check
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-05-26 21:42:29 +02:00 |
|
Davide Madrisan
|
5bbd6b6ee3
|
pck-update, test/*: update/add the code to check for the required external tools
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-05-20 22:30:07 +02:00 |
|
Davide Madrisan
|
4c72cde33e
|
pck-update (a0): update message
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-05-20 20:24:45 +02:00 |
|
Davide Madrisan
|
f93b85c9f5
|
unify the output of all the modules test
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
2012-05-20 16:42:59 +02:00 |
|
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
|
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 |
|