Commit Graph

567 Commits

Author SHA1 Message Date
Adam Jackson
796b80f2f4 redhat-rpm-config-9.1.0-hardened.patch: Add macro magic for %_hardened_build 2011-08-01 12:26:41 -04:00
Adam Jackson
8e60e55b8a redhat-rpm-config-9.1.0-relro.patch: LDFLAGS, not CFLAGS. 2011-07-07 13:17:24 -04:00
Jon Masters
a51eb50bb4 redhat-rpm-config: change default arch level target for all ARM v7 to armv7hl
All ARM version 7 systems support a vector hardware floating point unit and
have the ability to run using the hard floating point ABI (aapcs-vfpv3-d16).
This is the only configuration we support as a v7 target, so we force the
use of hard floating point. This prevents e.g. packages being built with
a armv5tel target on an armv7 system without explicit intent.

Signed-off-by: Jon Masters <jcm@jonmasters.org>
2011-07-02 04:55:37 -04:00
Adam Jackson
92e4921960 Add -z relro 2011-06-27 12:40:49 -04:00
Jens Petersen
8e0316b094 revert back to ghc_arches at releng's request 2011-06-21 13:05:25 +09:00
Jens Petersen
62baae777d Revert "replace ghc_archs with ghc_excluded_archs"
This reverts commit 8fc99b69b6.
2011-06-21 12:58:44 +09:00
Jens Petersen
60590c6d51 Revert "rename the arch patch in .spec too"
This reverts commit f657756e52.
2011-06-21 12:58:44 +09:00
Jens Petersen
f657756e52 rename the arch patch in .spec too 2011-06-18 16:15:24 +09:00
Jens Petersen
8fc99b69b6 replace ghc_archs with ghc_excluded_archs 2011-06-18 16:05:16 +09:00
Dennis Gilmore
127539ef29 add arm hardware floating point macros
update the armv7l macros
2011-06-13 10:49:23 -05:00
Jens Petersen
39a665e921 fix typo of parallel in changelog 2011-06-02 13:27:25 +09:00
Dennis Gilmore
708e5ed256 add a -srpm to the arch macros so they dont conflict with the langaugae
base arch macros
2011-05-30 21:25:00 -05:00
Dennis Gilmore
b7a1febf43 include the macros files 2011-05-27 11:40:29 -05:00
Dennis Gilmore
1e51f9b0b7 add macros defining arches so language stacks can add new arches without adding the arches to every spec file
macros are needed at srpm creation time so live here
2011-05-27 11:30:20 -05:00
Fedora Release Engineering
f6ccdd625f dist-git conversion 2010-07-29 17:59:00 +00:00
Panu Matilainen
39013eb03a - adjust to new pkg-config behavior wrt private dependencies (#596433) 2010-05-27 12:21:55 +00:00
Panu Matilainen
63747f2774 - avoid unnecessarily running brp-strip-comment-note (#568924) 2010-03-01 09:06:10 +00: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
cc13fe8402 - unbreak find-requires again, doh (#564527) 2010-02-15 11:49:10 +00:00
Panu Matilainen
635437c7bf Unbreak find-requires (#443015, #564527)
- regression originating from commit 9ed9b4e345
  which was supposed to fix something for on ARM but broke pretty much
  all else
- this should've been in 9.1.0 but somehow gone missing, ugh...
- fix originally from Bill Nottingham
2010-02-15 13:45:45 +02:00
Panu Matilainen
f17b98976e - python byte-compilation errors abort the build by default 2010-02-03 11:06:30 +00: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
f49ef8cb4c Lose one more leftover patch (merged in 9.1.0 already) 2010-02-02 10:44:28 +00:00
Panu Matilainen
2e8b67dd78 Dont install ChangeLog into /usr/lib/rpm/redhat directory, doh 2010-02-02 12:02:10 +02:00
Panu Matilainen
7a4a80afb5 - new version, lose merged patches (fixes #521141, #455279, #496522,
#458648)
- require rpm for parent dir, version >= 4.6.0 for sane keyserver behavior
- buildrequire libtool to grab copies of config.guess and config.sub
- add URL to the git repo and upstream changelog as documentation
2010-02-02 09:49:38 +00:00
Panu Matilainen
d53f48cc84 Tarball creation tweaks
- add ChangeLog to tarballs
- make tagging non-interactive
- silence the tarball generation commands
2010-02-02 11:24:04 +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
631ba9b6fe Use $(NAME) instead of hardwired name everywhere in makefile 2010-01-26 17:27:54 +02:00
Panu Matilainen
a11368f98a Remove config.guess and config.sub
- these used to have RH-specific hacks in them and %configure used to
  copy updated versions to builddir on invocation but neither is done
  now, these are just copies of upstream (libtool / automake) versions
  so there's no point dragging them along
- some packages might expect to find them in /usr/lib/rpm/redhat/ so
  perhaps spec should copy them at build-time from automake/libtool
  to ensure a recent version
2010-01-26 16:09:35 +02:00
Panu Matilainen
de76474f35 Remove "upstream reference" spec file
- this makes no sense as the spec needs to be separately maintained
  for distribution versions separately anyway
2010-01-26 15:52:39 +02:00
Panu Matilainen
7ec7e86b74 Set version directly in Makefile (and bump the version) 2010-01-26 15:51:57 +02:00
Panu Matilainen
1d1bd8e3cb Remove ancient and unused brp-redhat script
- this was last used eons ago somewhere in rpm 3.x - 4.[01] era
2010-01-26 15:40:02 +02:00
Panu Matilainen
9d5f7858ba rpm >= 4.6.0 doesn't process macrofiles: from rpmrc anymore, remove
- macrofiles: is silently ignored by recent rpm versions, remove the
  useless setting to avoid possible confusion
2010-01-26 14:43:47 +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
bda00a1a70 Use rpm's perl dependency extractors
- rpm's dep extractors have gotten numerous improvements over the years,
  while the ones here haven't seen any updates since 2002
- point the find-* scripts to rpm's scripts, remove the redundant and
  outdated perl.* scripts
2010-01-22 17:09:57 +02:00
Panu Matilainen
ca3cae8695 Make peace with newer git 2010-01-22 16:27:43 +02:00
Panu Matilainen
c57d60b64e Remove unused CVSROOT variable from Makefile 2010-01-22 16:25:45 +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
4c01ac82e6 Remove brp-sparc64-linux blast from the past
- kludgery like this might've been necessary back in 2000 to get started
  with multilib setup but it certainly isn't needed now
2010-01-22 15:55:11 +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
82f9946bc0 Speed up static archive stripping processing (#517101)
- only bother processing files named *.a instead of everything in buildroot
- patch from Adam Jackson
2010-01-22 15:26:58 +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
f9c0aca4ae Make i686 the default x86 architecture, optimize for Atom CPU
- as per http://fedoraproject.org/wiki/Features/F12X86Support
- patch from Bill Nottingham
2010-01-22 15:23:31 +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
5c981d5072 Fedora 11 default buildflags
- as per http://fedoraproject.org/wiki/Features/ArchitectureSupport
  - set 32 bit intel build arch to i586 on compatible hardware
  - set 32 bit sparc build arch to sparcv9 on compatible hardware
- add missing armv7l arch
- set the default build arch to match fedora arm build target
2010-01-22 15:20:26 +02:00