Commit Graph

787 Commits

Author SHA1 Message Date
Panu Matilainen
e95fc2098b - enable minidebuginfo generation (#834073) 2012-06-27 13:32:42 +03:00
Panu Matilainen
7f5c2c3943 - revert back to plain -g, -g3 seems to cancel dwz size improvements 2012-06-25 17:22:09 +03:00
Panu Matilainen
5316e51652 - require dwz, enable dwarf compression for debuginfo packages (#833311) 2012-06-25 14:42:15 +03:00
Petr Písař
51aea39741 Pull in dependency with macros specific for building Perl source packages 2012-06-06 14:00:11 +02:00
Jens Petersen
6ce33965b9 ghc_arches: add s390 and s390x 2012-03-03 15:31:01 +09:00
Panu Matilainen
b2f900ec00 - add GNAT arch definitions 2012-02-22 10:12:42 +02:00
Dennis Gilmore
93950caa5d per ppc team request drop -mminimal-toc on ppc64 2012-01-15 12:24:11 -06:00
Dennis Gilmore
8d1ad74fc7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 20:46:15 -06:00
Peter Robinson
3b39f7f26b mktemp was long obsoleted by coreutils 2012-01-11 10:43:24 +00:00
Jens Petersen
aa2690b410 macros.ghc-srpm: add ghc_arches_with_ghci for fully bootstrapped ghc archs 2011-12-27 21:40:35 +09:00
Dennis Gilmore
df3fa9bf05 remove patch that forces --disable-silent-rules to configure
it breaks anything set to not ignore unknown configure options
2011-11-09 07:27:37 -06:00
Jens Petersen
cf4ace9dc3 add armv5tel to ghc_arches 2011-10-18 16:30:42 +09:00
Dennis Gilmore
e5475deba5 build armv5tel on armv7l since they are the same abi armv7hl is
a incompatable ABI
2011-09-28 09:45:25 -05:00
Jens Petersen
3e2fed4717 add armv7hl to ghc_arches 2011-09-28 09:57:24 +09:00
Ville Skyttä
bb7037453e Fix URL. 2011-09-25 10:53:08 +03:00
Adam Jackson
3e26010b1e redhat-hardened-cc1: Inject -fPIE, not -fPIC.
cf. http://lists.fedoraproject.org/pipermail/devel/2011-September/157365.html
2011-09-22 14:42:22 -04:00
Adam Jackson
688e86b5a8 Expose %_hardening_{c,ld}flags independently to make it easier for
packages to apply them to selected components
2011-09-16 17:06:58 -04:00
Colin Walters
677db6759b Globally disable silent rules 2011-08-10 05:36:25 -04:00
Adam Jackson
ca385d9198 redhat-hardened-{cc1,ld}: Move some of the rewrite magic to gcc specs so
we don't end up with both -fPIC and -fPIE on the command line
2011-08-08 10:59:25 -04:00
Adam Jackson
da8d7a1e6a redhat-hardened-{cc1,ld}: Move some of the rewrite magic to gcc specs so
we don't end up with both -fPIC and -fPIE on the command line
2011-08-08 10:58:51 -04:00
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