Commit Graph

136 Commits

Author SHA1 Message Date
1747b898a2 Removed obsolete templates for kde3 and kde4 2021-02-24 18:01:51 +01:00
c3e90a144f pck-update.in: fix http+git and https+git protocols with preserve_dot_git support 2021-02-24 17:48:03 +01:00
3bcaa2cf38 pck-update.in: notify build requirements installation as warning instead of error so that SRPM installation is tried and autoport can parse the output 2020-12-01 12:53:21 +01:00
66e607a4ca pck-update,linnetwork.lib: preserve .git directory if protocol is http[s]+git 2020-06-22 11:00:33 +02:00
169dcf8bb9 pck-update.in: don't archive any SRPMS with name matching SPEC_OBSOLETES as obsoletes refer to RPM names not SRPMS
This to support exclusive architecture legacy packages e.g. libsuitesparse4 (with ExclusiveArch: arm) obsoletes libsuitesparse (which does not build anymore on this target).
To be checked if this may break some other successful cases, although the problems in keeping a to-be-obsoleted package are less than archiving a to-be-kept one.
2020-02-01 02:13:12 +01:00
0372675fbd spec-create.in: support for Meson 2019-11-02 16:04:09 +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
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
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
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
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
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
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
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
c4e2f98d93 pck-update: specify target_cpu when installing build requirements for x86_64 multiarch support 2014-02-22 22:36:10 +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
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
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
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
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
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
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
85d14ca35f pck-update: pass rpmbuild_opts to 'rpmbuild -bl' to fix unpackaged files list formatting with some configurations 2013-05-07 15:00:39 +02:00
Davide Madrisan
2f42c957ac Documentation: new target 'web': update italian manpage and the help messages of spec-create
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-03-04 22:19:53 +01:00
Davide Madrisan
88242edea8 spec-create: fix version detection of tarballs created via a git clone command
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-02-17 15:48:41 +01:00
ef3b9277ae spec-create: fix regexp to detect names starting with 'lib' (sample failing case: lilv) 2013-01-31 06:20:06 +01:00
26f2b6a93d pck-update: restore support for passing user parameters to rpm
This was apparently broken in commit 58edaf3373:
libspec: new function 'specfile.check_syntax()'
2013-01-04 16:56:05 +01:00
Davide Madrisan
58edaf3373 libspec: new function 'specfile.check_syntax()'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-08 23:32:54 +01:00
Davide Madrisan
88ce40667b config-getvar: update the help message
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-30 22:24:51 +01:00
Davide Madrisan
6b8099f31d libtranslate.lib: new library
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-30 22:02:42 +01:00
Davide Madrisan
29e18765b6 autospec, plugins: rework the logic of the command-line options parser
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-25 23:21:06 +01:00
Davide Madrisan
288d828aaa translation framework: xgettext is buggy: use 'bash --dump-po-strings' instead and rework all the code
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-25 15:54:34 +01:00
Davide Madrisan
0e93767db4 plugins: do not ignore the 'color_scheme' set in the configuration files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-24 00:11:27 +01:00
Davide Madrisan
5a00359a29 Point to the translation file autospec-all in all modules and libraries
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-23 23:45:02 +01:00
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
f525086f8b Makefile: new target 'pot-files'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-19 22:45:31 +01:00