Commit Graph

187 Commits

Author SHA1 Message Date
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
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
55bfa01730 Split autospec.conf into several configuration files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-05 23:33:18 +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
af8cfaceb0 autospec.conf: format_unpackaged_file_list: fix rpm variable expansion for /lib and /lib64
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-04 18:39:15 +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
50b3fe9d32 libnetwork.lib: repository.get_srpm_pckname_from_site(): make the search case-insensitive
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-30 23:58:25 +02:00
Davide Madrisan
c77c428ff1 NEWS: update file
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-30 20:55:25 +02:00
Davide Madrisan
8f57ec4a1c libnetwork.lib: do not convert curl dumps to lowercase letters
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-29 00:10:30 +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
04a69669e4 libnetwork.lib: make repository.get_srpm_pckname_from_site() work again for curl dumps of ftp sites
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-25 23:07:55 +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
59ef053eca ChangeLog: fix typo
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-24 21:27:33 +02:00
Davide Madrisan
56c06ecfdf autospec.spec: do not require /usr/bin/host in early stage platform development
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-24 21:23:37 +02:00
Davide Madrisan
f6f0d6445f libnetwork.lib,autospec.spec: do not require "host"
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-23 23:12:08 +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
c3335e6113 Release 1.9.4
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-17 23:48:24 +02:00
Davide Madrisan
ed701d7161 Release 1.9.4
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-17 23:40:35 +02:00
Davide Madrisan
921c4b60f2 templates: remove Patch0 and %patch0
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-17 22:55:13 +02:00
Davide Madrisan
2461f2ef9b libnetwork.lib: make search case insensitive
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-14 23:06:05 +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
244e571a19 template kde4: remove Patch0 and %patch0
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-13 23:10:43 +02:00
Davide Madrisan
49ae2f41ac templates: Move %debug_package macro after all %description blocks
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-13 22:45:47 +02:00
Davide Madrisan
25335bb402 templates: kde4: Move %debug_package macro after all %description blocks
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-13 22:36:57 +02:00
Davide Madrisan
42c9a323e2 templates: several minor fixes and improvements
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-10 23:42:12 +02:00
Davide Madrisan
1040aa4cc7 Release 1.9.3
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-03 21:32:47 +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
574225f2cf Makefile: fix make clean target
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-03-04 17:46:55 +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
a2cbbf48ca templates/library: pkgconfig --> pkg-config
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-02-15 20:40:57 +01:00
Davide Madrisan
58bff5edbc Release 1.9.2
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-02-05 20:42:34 +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
bc66419a27 autospec.conf: swap %{_libexecdir} and %{_libdir} subst in format_unpackaged_file_list
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-29 23:22:58 +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
7a0c30d7ad templates/library: Add requirements for pkgconfig
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-28 21:19:13 +01:00
Davide Madrisan
febe47c6c5 Release 1.9.1
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-25 23:30:21 +01:00