Commit Graph

443 Commits

Author SHA1 Message Date
fcdbf0fe9b libnetwork.lib: more support for https 2019-11-02 15:58:49 +01:00
b476080461 templates/kde5: add --with-html argument to %find_lang macro 2019-10-27 19:35:00 +01:00
38a689e2de libnetwork.lib.in: git sources: simple support for checking out at a specific commit by supporting the syntax: --git-branch branch[@commit_id] 2019-10-27 15:18:42 +01:00
08bfa59a98 libspec.lib: use rpmspec -P <specfile> instead of rpm -q --specedit ... if rpm 4 is detected 2019-06-25 22:21:20 +02:00
b20b079907 templates/python: don't strip required egg-info files out of files list 2017-11-15 15:13:58 +01:00
93bcf6bb6b libnetwork.lib: add --recursive to git clone commands to correctly fetch repositories with external subtrees 2017-10-31 16:57:10 +01:00
f4e08f4edc templates/kde5: add --with-man to %find_lang arguments
Signed-off-by: Silvan Calarco <silvan.calarco@mambasoft.it>
2017-09-11 11:13:51 +02:00
Davide Madrisan
ff91b95533 README: add libnetwork.lib to the list of libraries
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2017-09-10 15:09:41 +02:00
Davide Madrisan
6257d8d148 Update the README file
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2017-09-10 15:01:35 +02:00
Davide Madrisan
6ebbdc3161 conf/05-system-external-commands.conf: document yum usage
We're currenctly moving to the yum package manager.
Document the yum syntax for `rpm_download_and_install'.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2017-09-10 13:49:08 +02:00
Davide Madrisan
ac8046392b Add a README.md file
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2017-09-10 13:41:26 +02:00
Davide Madrisan
869ac846fe config-getvar: update the help message
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2016-10-16 19:19:27 +02:00
Davide Madrisan
495d49176b templates: python - fix comment
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2016-10-16 17:40:00 +02:00
2b1dbb0b1d pck-update.in: support for http+git and https+git fake protocols to indicate a git repository 2016-07-05 22:49:42 +02:00
b5b1121aee libnetwork.lib: support for git urls incompatibile with .git suffix (under testing) 2016-07-05 22:45:45 +02:00
99fd03d6a7 libapse.lib: ignore everything after a dash ('-') when checking for last version 2016-04-08 15:31:10 +02:00
Davide Madrisan
7761a49bb3 Update ChangeLog and NEWS
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2016-02-16 20:19:32 +01:00
Davide Madrisan
c357ffbc08 templates/python: multiversion package build
Add the rpm macros required for building both Python2 and Python3 packages
with a single specfile:

  python2:  rpmbuild -ba <specfile>
  python3:  rpmbuild -ba <specfile> --define="with_pyver 3"

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2016-02-16 19:34:06 +01:00
28a476679d templates/kde5: (not very recent) updates to template 2015-09-26 15:07:31 +02:00
305f5ff3c6 04-..-filelist.conf: moving KDE4 icons to /usr/share/icons to share them with KF5 2015-09-26 15:04:23 +02:00
96207345da 03-apse.conf: use a mirror for distrowatch or they will ban your IP 2015-09-26 15:02:50 +02:00
41731ef882 libnetwork.lib: support for git repositories which don't have '.git' in their url 2015-09-26 15:00:22 +02:00
Davide Madrisan
564a5cb63b Release 1.16.6 'Tuscany'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2015-05-07 20:25:46 +02:00
Davide Madrisan
3eed595297 Update the package Documentation
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2015-05-07 20:19:43 +02:00
Davide Madrisan
970b29e4a1 Add a basic support for the KDE Framework 5 packages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2015-05-06 22:35:32 +02:00
2fa427ff26 pck-update: stricter checks on buildreqs with explicit arch 2015-04-16 00:34:36 +02:00
68ad87406c color-theme.web: make error text bolder to be more readable on red background 2015-04-14 22:21:27 +02:00
Davide Madrisan
36e4b14573 GHC template - improve the template and fix some indentations
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2015-04-12 19:26:41 +02:00
Davide Madrisan
faf2a81b00 libspec.lib - Accept the rpm token %global which defines macros in global context
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2015-03-29 18:40:01 +02:00
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