Commit Graph

66 Commits

Author SHA1 Message Date
Panu Matilainen c73da1f920 Leave rpm's hkp keyserver configuration alone
- rpm < 4.6 used to try and fetch and import any missing keys from
  keyserver automatically on rpmdb iteration if hkp_keyserver was set, which
  caused hideous slowdowns and huge load on pgp keyservers AND was a
  security hazard as rpm thinks imported == trusted key. This is safe
  enable now as rpm will only ever import keys when explicitly told to do
  so with --import
- this makes pgp import directly from PGP servers work, ie
   'rpm --import 0x<keyid>'
2010-01-26 17:48:44 +02:00
Panu Matilainen 2a452bba1e Permit using different python version for brp-python-bytecompile (#521141)
- pass %{__python} macro to brp-python-bytecompile instead of using
  hardwired /usr/bin/python, as suggested by Bowe Strickland
2010-01-26 13:55:54 +02:00
Panu Matilainen f359c096c2 Remove redundant %find_lang definition
- this was only useful back when we were using our own find-lang.sh
2010-01-22 15:59:04 +02:00
Panu Matilainen 56ed371d31 Remove redundant and deprecated %_initrddir definition (#455279)
- this has been provided by rpm since forever, no need to carry it here
2010-01-22 15:47:15 +02:00
Panu Matilainen 850eda59f8 Disable autotools dependency tracking in %configure (#496522)
- autotools dependency tracking isn't generally useful in rpm builds;
  disabling it results in cleaner build logs and possibly slight build speedups
- patch from Ville Skyttä
2010-01-22 15:43:38 +02:00
Panu Matilainen c9d2ffe123 Don't set --target in %configure (#458648)
- --target is only ever useful for handful of compiler toolchain packages
  and cross-compiler packages are better off setting it themselves if
  necessary, rpm messing here only gets in the way
- patch originally from Stepan Kasal
2010-01-22 15:39:38 +02:00
Panu Matilainen f2e3413ddb Enable overriding the default ./configure path of %configure (#489942)
- syncs up with rpm upstream setup
- FFLAGS has a Fedora-specific override forcing us to carry this %configure
  copy, need to fix rpm to permit more fine-grained overrides...
2010-01-22 15:37:33 +02:00
Panu Matilainen b5b2aedbc1 Add filtering framework for external dependency generator (#516240)
- patch from Chris Weyl
2010-01-22 15:30:02 +02:00
Panu Matilainen e56e816f47 Enable use of XZ compression for binary rpm payloads
- as per https://fedoraproject.org/wiki/Features/XZRpmPayloads
  - lowish compression preset level to keep deltarpm rebuild time tolerable
  - source rpms dont really benefit from XZ compression as the contents are
    typically tarballs which are already compressed
- patch from Bill Nottingham
2010-01-22 15:26:19 +02:00
Panu Matilainen 159a65fb61 Ensure empty buildroot for %install
- remove any existing buildroot contents and safely create a new one
- patch originally from OpenSUSE / Michael Schroeder, adopted to Fedora
  by Tom "spot" Callaway
2010-01-22 15:24:29 +02:00
Panu Matilainen e2a80f379c Change default hashing algorithm in file digests to SHA-256 (#485826)
- as per https://fedoraproject.org/wiki/Features/StrongerHashes
- patch from  Miloslav Trmač
2010-01-22 15:22:42 +02:00
Panu Matilainen 3a2d93f311 Limit _smp_mflags to max 16
- patch from Dennis Gilmore
2010-01-22 15:20:08 +02:00
Jonathan Masters 9ed9b4e345 A variety of small cleanups 2008-05-06 19:08:20 -04:00
Jon Masters 83405d773d Update config.guess|sub, sync with RHEL-5. 2008-04-03 03:11:24 -04:00
Jesse Keating 9b11fc216b Enable buildroot check by default 2007-07-05 12:41:21 -04:00
Jeremy Katz 9ffd969654 use stock find-lang rather than the (old) copy (#213041) 2007-06-19 14:38:34 -04:00
Jeremy Katz d82d89ec83 %{_gnu} gets defined in the platform definitions and _shouldn't_ be
-gnu on some arm arches (Lennert Buytenhek, #243523)
2007-06-19 14:36:18 -04:00
Jeremy Katz 85ff3763b6 allow disabling jar repacking (#219731) 2007-06-19 14:28:50 -04:00
Jeremy Katz a959c1f92d hardlink identical .pyc and .pyo files to save some space. patch from
Ville Skyttä <ville DOT skytta AT iki DOT fi>
2007-06-19 14:20:53 -04:00
Jeremy Katz feffba404a add support for kmps/kmodtool stuff (from jcm) 2007-06-19 15:21:46 +00:00
Jeremy Katz e053cecd41 add script that does repacking of jar files to avoid multilib conflicts.
originally written by Ben Konrath <bkonrath AT redhat DOT com>
2007-06-19 15:13:23 +00:00
Elliot Lee 12233c1d7b fix #165416 2005-08-17 00:27:33 +00:00
Elliot Lee d5e4ed68cb add wall back in 2005-08-01 17:53:18 +00:00
Elliot Lee 1986646f85 8.0.37:
On Fri, 29 Jul 2005, Ulrich Drepper wrote:

> Please find attached the hopefully final changes for the compile flags.
>  It's a patch against redhat-rpm-config-8.0.36-1.src.rpm.  The changes are:
>
> ~ enable stack protector with minimal size 4 (default is 8, too high
>   IMO).  Vlad ran some tests on SPEC.  SPEC is highly CPU intensive,
>   unlike 90%+ of the distribution.  Even in those tests the performance
>   decrease was below 1%, probably even in the noise.  Especially the
>   decrease of the minimum size to 4 made no measurable impact.
>
> ~ remove the -fsigned-char flag for ppc.  glibc has not been compiled
>   with the flag anyway, so if anything changes, we eliminate some bugs.
>   The only theoretical issue would be if a library we ship uses CHAR_MAX
>   in an interface.  I personally haven't seen this for good reasons.
>   The only interface I know is localeconv(3) in glibc and this interface
>   is now corrected.
>
> ~ minor fix for SPARC
2005-08-01 17:44:57 +00:00
Elliot Lee f20fd09542 fix 2005-06-16 15:42:31 +00:00
Elliot Lee b8c7c4c827 Enable python, pkgconfig provides 2005-06-15 22:18:12 +00:00
Elliot Lee ded130c1dd new version 2005-03-23 20:05:40 +00:00
Elliot Lee f41aa8c35f #147961 2005-03-22 03:30:56 +00:00
Elliot Lee 1518ff2d14 Fix java builds 2005-02-09 15:09:11 +00:00
Elliot Lee d10e27e7b7 add _FORTIFY_SOURCE 2004-11-15 15:23:30 +00:00
Elliot Lee 2eb59b7156 sync 2004-03-01 17:29:43 +00:00
Elliot Lee ecdfe2c6d3 fix 108049 2003-11-03 20:35:50 +00:00
Elliot Lee 4ccbbe76dc 8.0.27-1 2003-07-15 13:44:02 +00:00
Elliot Lee a2894a5e9a 8.0.27-1 2003-07-15 13:38:58 +00:00
Jens Petersen 7bf42f4c8d * Mon Jul 07 2003 Jens Petersen <petersen@redhat.com> - 8.0.25-1
- update config.{guess,sub} to 2003-06-17
- define VENDOR to be redhat only when /etc/redhat-release present
  [suggested by jbj]
- put VENDOR in vendor field in our config.guess file for
  ia64, ppc, ppc64, s390, s390x, x86_64 and elf32-i386 Linux
- drop the --host, --build, --target and --program-prefix configure options
  from %%configure, since this causes far too many problems
2003-07-07 01:18:33 +00:00
Jens Petersen 2a08d46318 - add config.guess and config.sub (2003-02-22)
- make %%configure use them
2003-05-01 08:13:14 +00:00
Elliot Lee 4410abdbbb Unset $DISPLAY in macros 2003-03-03 16:16:20 +00:00
Elliot Lee ae8ce229ab 8.0.21 2003-02-24 18:39:29 +00:00
Elliot Lee e7eb34f089 Reorganize rpmrc/macros to set cflags in a nicer manner. 2003-02-13 16:33:31 +00:00
Elliot Lee 47b9f849d4 8.0.19 2003-01-22 18:30:56 +00:00
Nalin Dahyabhai 7d233e283e add brp-implant-ident-static, which requires mktemp 2003-01-20 20:06:50 +00:00
Bill Nottingham 3397996dd9 add brp-strip-static-archive 2003-01-09 19:52:00 +00:00
Elliot Lee 5fbe73ed91 8.0.15-1 2002-12-16 18:53:55 +00:00
Tim Powers 1640cd5cac more debug macro tweaks 2002-12-14 20:37:32 +00:00
Tim Powers 4707ac95be add internal dep generation macro, turn it on 2002-12-14 17:57:23 +00:00
Bill Nottingham ff2bb81934 use internal dependency generator 2002-12-13 23:04:56 +00:00
Alexander Larsson d18a947668 Make a temporary copy of the debug_package macro so that we get the noarch fix 2002-12-13 17:13:18 +00:00
Elliot Lee cec7d078f8 someday I will get it right 2002-12-11 18:05:00 +00:00
Elliot Lee e44c237bfb 8.0.9 2002-12-11 15:05:08 +00:00
Bill Nottingham 47209decbe nuke -g 2002-12-04 04:55:22 +00:00