Commit Graph

243 Commits

Author SHA1 Message Date
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
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
f086d23cce libspec.lib: Correctly parse lines containing more complex 'obsoletes' directives
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-25 20:15:01 +01:00
Davide Madrisan
9cc2f35855 libspec.lib: Workaround for lines containing "Obsoletes pck <= ver"
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-25 19:30:56 +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
54e987e3b2 kde4-flist2rpmvars: remove file
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-22 18:11:22 +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
f7ba867c7b template/library: update file
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-22 00:45:22 +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
31416288b6 templates: avoid &>/dev/null
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-18 21:23:10 +01:00
Davide Madrisan
e77d5e88a3 test01_pkgquality: avoid use of pipes
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-18 00:09:22 +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
442af8b3b2 test01_pkgquality: fix find command to avoid false positives
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-15 17:30:49 +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
cfbc63921d test: rework coloring schema and make output a bit more compact
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-15 14:43:29 +01:00
Davide Madrisan
51ba76940c new security test: check for setgid directories
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-15 14:00:08 +01:00
Davide Madrisan
e642fb425e libspec.lib: rework rpmvars.init() in order to support rpm macro expressions
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-15 13:12:55 +01:00
Davide Madrisan
e2514c2fac tests: display the number of issues detected
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-13 00:17:57 +01:00
Davide Madrisan
701cb887d6 tests: be less verbose
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-08 23:37:58 +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
ca665e84fa manpage: minor update
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-02 22:26:19 +01:00
Davide Madrisan
4b120ef1d1 template/kde4: Update %files section
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2011-12-31 17:43:56 +01:00
Davide Madrisan
e871348053 Release 1.8.2
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2011-12-29 19:02:19 +01:00
Davide Madrisan
159fe7f2b2 Makefile: provide a 'dist-rpm-install' target
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2011-12-29 15:30:07 +01:00
Davide Madrisan
e9af2cf8eb templates/kde4: minor updates
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2011-12-29 14:52:47 +01:00
Davide Madrisan
7fee400448 templates/library: add a missing requirement
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2011-12-28 23:46:27 +01:00
Davide Madrisan
70ffb2a0c2 Makefile: do not package files located in .git (make dist)
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2011-12-20 21:03:31 +01:00
Davide Madrisan
8dc143cb1c ChangeLog: update
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2011-12-19 22:41:30 +01:00
Davide Madrisan
ddc4eb1f10 bump to version 1.8.1
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2011-12-18 19:11:56 +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
3541fe9cd9 templates/standard-daemon: Devel package does not exist: move code for infopages installation/removal to the main package scriplets 2011-12-16 22:55:11 +01:00
Davide Madrisan
18548f2e30 templates/standard: devel package does not exist: fix calls of the rpm scriplets 2011-12-16 22:34:35 +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
cc23a330ba ChangeLog: fix bad formatting 2011-12-16 14:10:08 +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
Davide Madrisan
187f86e16e ChangeLog: keep in sync with git 2011-12-16 12:23:42 +01:00
Silvan Calarco
aa237198c2 Initial commit 2011-04-26 21:39:44 +02:00