Commit Graph

221 Commits

Author SHA1 Message Date
Adam Jackson
51811936c4 redhat-rpm-config-9.1.0-hardened.patch: Add macro magic for %_hardened_build 2014-01-24 23:36:04 +02:00
Adam Jackson
4b29a24132 redhat-rpm-config-9.1.0-relro.patch: LDFLAGS, not CFLAGS. 2014-01-24 23:34:16 +02:00
Adam Jackson
60aea2849e Add -z relro 2014-01-24 23:24:07 +02:00
Panu Matilainen
055d0b77e1 Don't run brp-strip-comment-note when find-debuginfo.sh is run (#568924)
- brp-strip-comment-note is not only unnecessary here but is also
  now messing up things by resetting EI_OSABI to zero (#568921)
- patch from  Roland McGrath
2010-03-01 10:58:17 +02:00
Panu Matilainen
7cf1ad2dbb Enable strict python bytecompile mode (if rpm supports it)
- with %_python_bytecompile_errors_terminate_build set to non-zero,
  byte-compilation errors will abort the build, this helps catch out
  silly "improt foo" syntax errors early on
- not all .py files are valid python (they can be templates, inteded for
  jython consumption etc), and what's valid can depend on the python
  version (notably 2.x vs 3.x) so allow overriding from spec
2010-02-03 12:52:30 +02:00
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
Elliot Lee
dce3663fe6 enable debug packages, etc. 2002-11-22 18:56:01 +00:00
Elliot Lee
1de7d81cf0 Pass __strip and __objdump macros 2002-11-21 16:54:33 +00:00
Elliot Lee
3b777d0999 8.0.5 2002-11-21 15:16:38 +00:00
Alexander Larsson
27ac1446b0 Make brp-strip* not strip debug objects
Add a _enable_debug_packages macro (commented out)
2002-11-20 16:55:36 +00:00
Phil Knirsch
0a68ef9360 - Added fix for outdated config.[sub|guess] files in %configure section. 2002-10-16 18:07:49 +00:00
Elliot Lee
d5044b55bf 8.0.3 2002-10-16 17:19:55 +00:00
Elliot Lee
7f05ca8c77 Be stricter now. 2002-10-04 13:45:14 +00:00
Jeremy Katz
8a919b8bb9 We shouldn't be redefining everything in the redhat-rpm-config macros
file, because that will start overriding things like %{_lib} -- probably
more could have been snipped, but the remaining bits are at least
moderately reasonable to make sure are defined according to "our policy"
2002-10-03 16:31:51 +00:00
Alexander Larsson
61fb9e24cc Add debug package support to %__spec_install_post 2002-09-16 16:22:01 +00:00
Elliot Lee
f0352fc040 Part two of new macros 2002-07-31 18:56:20 +00:00
Elliot Lee
00cbca969b Add comment about missing docs flag. 2002-07-31 17:05:22 +00:00
Jens Petersen
cb63b82a2d Add %{?_gnu} to _target_platform.
Use --host, --build, --target and --program-prefix in %configure.
7.3.92-4
2002-06-28 05:25:23 +00:00
Elliot Lee
d5db7f5ded 7.3.92-2 2002-06-21 18:13:56 +00:00
Elliot Lee
3ee6bad5b9 find-lang fixes 2002-06-20 20:56:07 +00:00
Elliot Lee
668485e883 Locale hack. 2002-06-12 21:04:24 +00:00
Elliot Lee
03bb2914ea Initial revision 2002-06-12 12:59:50 +00:00