Commit Graph

364 Commits

Author SHA1 Message Date
Davide Madrisan
4f100fc519 autospec.spec.in - Add some missing entries in the %changelog section
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2015-03-08 19:19:50 +01:00
Davide Madrisan
c55acfc48b Release 1.16.5
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-12-30 21:30:11 +01:00
Davide Madrisan
08f2e6f1a8 Changelog - Synchronize with git log
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-12-14 22:35:29 +01:00
Davide Madrisan
1ef49ec99d libnetwork.lib - use the builtin command 'type' instead of 'which'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-12-14 22:31:27 +01:00
15013489c1 pck-update: always rebuild srpm when rpms are built unless --nosrpm is passed 2014-09-27 18:37:23 +02:00
5058e2121b pck_update: more changes on rpmbuildopt parameters ordering to workaround cross-arch builds
This is still a workaround to allow cross-arch builds with long rpm command lines
because it seems that rpmbuild is ignoring extra passed parameters when they
exceed a certain number (5 or 6 as far as I remember)
2014-09-26 13:28:11 +02:00
a2e617b4c2 pck-update: buildreqs_to_install: keep conservative classic behaviour on archs different from x86_64 2014-09-26 13:25:54 +02:00
b3419dc9c0 pck-update: fix duplicated names in BuildRequires: in multiarch systems (x86_64) 2014-09-26 13:13:14 +02:00
Davide Madrisan
5a4e8f799a tests: fix an obsolete and now unsupported syntax for 'find -perm'
tests/test01_pkgquality
tests/test02_pkgsecurity

Fix an obsolete and now unsupported syntax of the external tool 'find'
(-perm +<mode>) that made some quality and security tests fail.
The supported one is now: -perm /<mode>

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-09-16 22:03:37 +02:00
Davide Madrisan
f172d7e6db Update the documentation files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-09-15 21:40:41 +02:00
e5052816bb pkg-update: --target needs to be passed as last option to rpmbuild 2014-09-06 01:06:02 +02:00
ec9f775c87 pck-update: support for package.arch specfile build requirement
When this form of requirement is detected it is converted to package@arch as required by smart.
Also add comments and a FIXME about a problem with previous patch of this code and noarch packages.
2014-09-04 14:01:45 +02:00
Davide Madrisan
6f965f674b pck-update - apply the architecture dependent rules first
Apply the architecture dependent rules for unpackaged files
before the common ones.  This will also simplify the logic
of the path substitutions.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-08-26 19:59:50 +02:00
Davide Madrisan
609e1425ea 04-rpmbuild-format-unpackaged-filelist.conf - add kde4 rules for x86_64
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-08-26 19:17:55 +02:00
Davide Madrisan
26856b5b71 spec-create: Honour the pck version set by the user for specs generated from git
specfile.create(): always execute 'git.create_tarball()' with the option
'--pck-version'. This way a user-provided package version will be used
instead of the default one.

This patch will permit to force a user defined package version when desired.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-08-20 21:00:14 +02:00
Davide Madrisan
0ae1946627 spec-create - remove unused code
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-08-19 21:41:49 +02:00
Davide Madrisan
93f2d120e9 spec-create: add support for tarballs with autogen.sh and no configure
Create a correct %build block in the specfile generated from tarballs
that do not provide any 'configure' script but only an 'autogen,sh' one.
Feature asked by Silvan Calarco.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-08-18 22:26:15 +02:00
Davide Madrisan
9458f64b1d 04-rpmbuild-format-unpackaged-filelist.conf - add 'python3_sitelib' (x86_64)
The x86_64 architecture needs an extra line:

   /usr/lib/python3.3/site-packages --> %{python3_sitelib}

as was pointed out by Silvan.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-08-18 19:26:29 +02:00
Davide Madrisan
bcb23e7e45 Update the documentation files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-08-13 22:43:22 +02:00
Davide Madrisan
d4e5b9a752 pck-update: fix the unpackaged files list issues (x86_64 only)
conf/04-rpmbuild-format-unpackaged-filelist.conf
Split the translation rules for the unpackaged files into a common block
('format_unpackaged_file_list_common') and an architecture-specific file
per supported architecture (currently 'i586' and 'x86_64').
This solves the problem of some wrongly filenames reported by autospec
when running on the x86_64 architecture.

The translation rules for Python 2.7 and Python 3 have been updated
to reflect the current support for Python in openmamba.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-08-13 20:54:02 +02:00
b767938678 libnetwork.lib: quick fix: .git suffix is not optional when cloning from http/https urls 2014-07-08 18:09:24 +02:00
e94617662e autospec.po: add missing italian translation strings for ghc
File has also been reordered by tool called by Makefile
2014-05-27 13:40:45 +02:00
c4e2f98d93 pck-update: specify target_cpu when installing build requirements for x86_64 multiarch support 2014-02-22 22:36:10 +01:00
a23800a2b6 templates/python: remove unexisting option --single-version-externally-managed 2013-12-14 14:15:17 +01:00
bd287516e3 Merge branch 'master' of ssh://git.openmamba.org:4444/autospec 2013-12-09 10:50:36 +01:00
a7db8b7c72 templates/ghc: new template for ghc modules 2013-12-09 10:49:41 +01:00
Davide Madrisan
169fdd13f5 pck-update: package.generate_name(): return the correct value
when executed without the option '-p'.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-24 20:49:28 +01:00
Davide Madrisan
c9aea5b6a5 documentation: update VERSION
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-09 22:12:46 +01:00
Davide Madrisan
80098fcc60 documentation: update ChangeLog and NEWS
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-09 21:47:52 +01:00
Davide Madrisan
c44c81249f documentation: update the italian manpage
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-08 20:34:05 +01:00
Davide Madrisan
1b62dc674c autospec, pck-update: Update the copyleft messages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-07 23:23:30 +01:00
Davide Madrisan
703a7f61a5 ChangeLog: document the two last Silvan's patches
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-07 23:14:41 +01:00
Davide Madrisan
c8f985bd1f autospec.po: add missing italian translation strings
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-07 23:08:54 +01:00
38ccd4e178 spec-create: new options '--packager-fullname' and '--packager-email' 2013-11-07 22:45:44 +01:00
291f42297b pck-update: new options '--packager-fullname' and '--packager-email' 2013-11-07 22:45:02 +01:00
Davide Madrisan
e2d0437f60 pck-update: new function package.generate_name()
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-05 22:38:22 +01:00
Davide Madrisan
0cc7bf9f89 ChangeLog: add missing entries
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-08-04 22:42:06 +02:00
653fc9cd35 libnetwork.lib: never use '--depth=1' when cloning from http and https git urls
- fix necessary and tested with code.google.com
- additionally print full 'git clone ..' command line used in debug output
2013-08-04 22:34:00 +02:00
eb1d352c92 pck-update: fix update of git urls starting with http:// and https://
Source URLs from git don't just end with '.git', btw they can be detected by searching for '.git/'
2013-08-04 22:32:56 +02:00
46ec87de31 pck-update: don't clone from git repository at every build is source with current version already exists 2013-08-04 22:23:50 +02:00
Davide Madrisan
42400bcded Mark the new autospec version as "Korbielow".
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 21:50:44 +02:00
Davide Madrisan
f1ba975689 test framework: remove the duplicate check for poor infopages installation
implemented in the module 'test00_specsyntax' and improve the test coded
   in 'test01_pkgquality' and its related help message.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 21:47:18 +02:00
Davide Madrisan
5e8e99ecdc New autospec template ocaml-libs for OCaml libraries.
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 21:33:20 +02:00
Davide Madrisan
b4e680004a conf/02-specfile-rpm-groups.conf:
Add rpm groups for OCaml libraries and development packages.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 18:41:45 +02:00
Davide Madrisan
b21d192d8f test01_pkgquality:
Check for wrong file attributes in bin and lib directories.

Do ignore files with name matching '*.so.owner'.
These are text files needed by OCaml, not libraries.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 18:39:18 +02:00
Davide Madrisan
b4f20819f9 t01_pkgquality: modify regexp to catch OCaml library files
when testing for bad BuildArch tags

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 18:37:44 +02:00
Davide Madrisan
69a4080a61 libtest.lib: fix two broken calls to 'notify()'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 18:35:36 +02:00
b597848f6b pck-update: fix build requirements generation with multiple providers
When --whatprovides returns multiple requirements only consider the first one.
Seen with mono(..) requirements in monodevelop.
2013-07-17 14:32:17 +02:00
fcdf10374f Update translation for string intoduced in previous commit 2013-07-13 16:01:49 +02:00
8b06b41b20 pck-update, libspec, libapse: support for a special specfile macro to disable scraping from specified sources
E.g.: enter the macro below in the specfile to disable scrape sources with indexes 0,2 and 4:
2013-06-05 00:23:06 +02:00