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
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
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
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
Davide Madrisan
c8faaf8a70
libmsgmng.lib: allow users to write and select customized color schemes (~/.autospec.d/color-theme.<color_scheme>)
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 19:33:38 +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
ac3e9bc14b
conf/Makefile: enable 'color-theme.none'
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 00:19:53 +01:00
Davide Madrisan
98fe5c6a6f
autospec: deprecate the option '--colorize'
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 00:00:54 +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
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
4edf024f5f
libcfg.lib: do not check for configuration files groups and permissions
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 21:42:10 +01:00
Davide Madrisan
ffe2b496d1
autospec.spec: remove the variable 'rpmbuild_group': it's no more needed. Personal data is located in the files ~/.autospec and ~/.autospec.d/*.conf
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 21:18:33 +01:00
Davide Madrisan
e8b9a33167
lib/libmsgmng.lib, conf/Makefile: move theme settings to configuration files (color-theme.*)
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 21:01:37 +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
990661c11e
autospec: send the debug message showing autospec version as soon as possible
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 12:21:10 +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
a483f12876
autospec.conf: better documentation for terminal (and web) color setup
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-08 21:20:49 +01:00
Davide Madrisan
924f2b2cab
libmsgmng.lib: allow users to modify ESC, CRIT, NOTE, WARN, EXIT, and NORM color codes
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-08 21:07:55 +01:00
Davide Madrisan
bcfa07d7dc
autospec: postpone the load of libcfg.lib
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-07 23:25:32 +01:00
Davide Madrisan
218df59a47
templates/standard: add a devel subpackage
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-07 23:17:32 +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
9421ad3760
Release 1.14.0
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-01 23:47:28 +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
3425fbf7ee
libnetwork.lib: git.create_tarball(): add a warning message when the version passed to the function is not the expected one (that is a string made by the current date in the format YYYYMMDD followed by 'git')
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-31 22:01:49 +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
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
dfbd94458e
libnetwork.lib: new helper function: 'git.download'
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-29 22:55:49 +01:00
Davide Madrisan
b8c8ce7fbe
autospec.spec: update some requirements of the autospec subpackages in order to always use the real package names instead of their aliases ('Provides' tag)
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-20 17:23:36 +02:00
Davide Madrisan
770a201882
lib/libnetwork.lib: curl.download(): do use the curl options set by the function argument '--options' (or '-o') instead of the global variable ''
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-20 12:28:30 +02: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
58cae7acea
Makefile: make 'make dist' a bit more verbose
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-14 22:19:58 +02:00
Davide Madrisan
5be79dc09c
po/it/spec-create.po: add missing translations
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-13 19:47:21 +02:00
Davide Madrisan
b0555e95b7
libnetwork: print an informational message before creating the source compressed tarball. This may take a while
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-13 19:34:16 +02:00
Davide Madrisan
dde8cdd235
libnetwork: clone the entire git repository when the option '--preserve-dot-git' is selected by user
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-13 19:23:40 +02:00
Davide Madrisan
4c24d74501
test01_pkgquality: Do not use the operator '|&'. Use instead '2>&1 |' which is compatible at least with bash 3.2
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-11 21:20:34 +02:00
Davide Madrisan
ffc10a6e87
autospec.spec: add a missing build requirement: make
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-11 20:57:50 +02:00
Davide Madrisan
49655b2bf4
Makefile: modify the 'dist' directive to allow 'make dist', 'make dist-rpm', and 'make dist-rpm-install' with a cloned git archive
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-06 22:07:20 +02:00
Davide Madrisan
20748b3fe6
autospec.spec: make the specfile more distro-agnostic
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-06 18:46:50 +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
6962a1ac16
libnetwork.lib: git.create_tarball(): add some debug messages
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-02 23:06:47 +02:00
Davide Madrisan
500d3b335e
libnetwork.lib: git.create_tarball(): fix typo
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-02 21:14:04 +02:00
Davide Madrisan
5022004eac
libnetwork.lib: git.create_tarball(): only clone the last commit
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-02 20:53:01 +02:00
Davide Madrisan
5cb16aebb6
autospec.spec: add a build requirement for gettext
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-09-29 21:31:12 +02:00
Davide Madrisan
ef06c3e486
libnetwork.lib: do not run the git command in quiet mode
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-09-22 08:19:29 +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
Davide Madrisan
775f2a7049
libnetwork.lib: remove the extra newline added to workaroung a bug in curl; it is fixed now
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-08-28 23:55:09 +02:00
Davide Madrisan
82b35315ec
test01_pkgquality: when a file is detected as problematic do add its mime type
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-08-23 19:45:17 +02:00
Davide Madrisan
616d130d55
lib/libapsa.lib: coding style fixes
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-07-21 19:47:56 +02:00
Davide Madrisan
547b750aef
Release 1.12.3
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-07-17 22:38:49 +02:00
Davide Madrisan
b89f644e9e
02-specfile-formatting-rules.conf: new default value for library_name_structure: "". The old value ("^lib") does no longer apply.
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-07-17 19:26:28 +02:00
Davide Madrisan
89d6517a79
libapse.lib: do not use "dirname" and "basename": bash provides primitives to do that
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-07-07 21:20:22 +02:00
Davide Madrisan
037669307b
libapse.lib: style fixes
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-07-07 19:47:23 +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
11e2bc349c
update documentation
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-28 20:18:57 +02:00
Davide Madrisan
2acb605788
templates/kde4: add build requirement for automoc4
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-27 19:59:25 +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
036d9628f2
templates/kde4: add a requirement for kdelibs-devel in the -devel package preamble
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-27 15:30:53 +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
75bf9e1ed6
italian manpage: add a few more examples and comments
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-25 23:22:39 +02:00
Davide Madrisan
9833128f5e
Release 1.12.1
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-23 23:04:21 +02:00
Davide Madrisan
c6cd929d8b
conf/06-security-system-library-paths.conf: allowed_libdirs: replace /opt/kde4/lib with /opt/kde/lib
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-21 22:08:58 +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
c85911f95b
conf/02-specfile-formatting-rules.conf: update source0_name_structure to allow *.tar.xz archives
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-20 20:55:31 +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
b26efe219f
ChangeLog, NEWS: updated
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-20 17:04:38 +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
1dd0902efb
BUGS: updated (the option --ignore-test works again)
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-19 14:20:11 +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
476b8f1a62
autospec.spec: add a static requirement for bash
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-19 00:05:02 +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
f38c13e4f6
documentation: improve italian manpage
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-18 16:16:51 +02:00
Davide Madrisan
4c0d56f1a1
italian manpage: yet another update
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-15 23:42:21 +02:00
Davide Madrisan
b2e25bdff1
documentation: update italian man page
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-15 22:18:36 +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
7b881f8e4f
TODO: remove out-of-date stuff
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-10 22:18:00 +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
1f2bd2cf03
tests/test01_pkgquality: check for libraries with undefined symbols after relocation
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-08 22:50:53 +02:00
Davide Madrisan
fc5e47711d
templates/{library,standard,standard-daemon}: Missing requirement: "Requires(preun): %{__install_info}"
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-08 18:30:37 +02:00