Commit Graph

200 Commits

Author SHA1 Message Date
Adam Jackson
4a42acd940 redhat-config-*: Use + to append rather than %rename, to protect against
multiple -specs= ending up in the command line. (#892837)
2014-01-25 10:03:26 +02:00
Panu Matilainen
0466a24ccb - Also set FCFLAGS from %%configure (#914831) 2014-01-25 10:03:26 +02:00
Panu Matilainen
48bdcffed2 - Add optflags stack protector override for AArch64 (#909788) 2014-01-25 10:03:26 +02:00
Panu Matilainen
2a557175eb - Switch back to manual config.guess/sub copies for reproducability - Replace config.guess/sub from %%configure again (#951442) 2014-01-25 10:03:14 +02:00
Panu Matilainen
b9eb0a184b - Add -grecord-gcc-switches to global CFLAGS (#951669) 2014-01-25 00:41:21 +02:00
Jens Petersen
09b575178f add ARM to ghc_arches_with_ghci for ghc-7.4.2 ghci support
This change must not be backported to F18 before ghc-7.4.2.
2014-01-25 00:39:47 +02:00
Toshio Kuratomi
d22596b0c1 Patch to fix spaces in java jar files
https://bugzilla.redhat.com/show_bug.cgi?id=872737
2014-01-25 00:37:36 +02:00
Toshio Kuratomi
1891cc0aeb Patch to fix spaces in files used in filtering macros
https://bugzilla.redhat.com/show_bug.cgi?id=783932
2014-01-25 00:35:48 +02:00
Ville Skyttä
e8199cfec5 Drop (un)setting LANG and DISPLAY in various build stages.
rpm >= 4.8.0 takes care of that itself.
2014-01-25 00:35:48 +02:00
Toshio Kuratomi
f41a8a73aa Fix kernel_source macro to match the directory that kernel sources are installed in
https://bugzilla.redhat.com/show_bug.cgi?id=648996
2014-01-25 00:35:48 +02:00
Toshio Kuratomi
2f654df096 Patch _mandir, _infodir, and _defaultocdir to use _prefix
https://bugzilla.redhat.com/show_bug.cgi?id=853216
2014-01-25 00:35:48 +02:00
Toshio Kuratomi
be607b55f4 Java jars need the MANIFEST.MF file to be first in the archive
https://bugzilla.redhat.com/show_bug.cgi?id=465664
2014-01-25 00:35:48 +02:00
Toshio Kuratomi
f40ecfaa06 Add patch from https://bugzilla.redhat.com/show_bug.cgi?id=783433
to fix spaces in files and directories that are fed to the
brp-python-hardlink script
2014-01-25 00:35:32 +02:00
Panu Matilainen
98d1974f20 - enable minidebuginfo generation (#834073) 2014-01-25 00:14:16 +02:00
Panu Matilainen
3b282b08f2 - revert back to plain -g, -g3 seems to cancel dwz size improvements 2014-01-25 00:13:09 +02:00
Panu Matilainen
1cff11580f - require dwz, enable dwarf compression for debuginfo packages (#833311) 2014-01-25 00:11:43 +02:00
Jens Petersen
0bdcad5349 ghc_arches: add s390 and s390x 2014-01-25 00:09:07 +02:00
Panu Matilainen
2e8b7fa04c - add GNAT arch definitions 2014-01-25 00:07:47 +02:00
Dennis Gilmore
5b8380d52b per ppc team request drop -mminimal-toc on ppc64 2014-01-25 00:05:30 +02:00
Jens Petersen
28c041a114 macros.ghc-srpm: add ghc_arches_with_ghci for fully bootstrapped ghc archs 2014-01-24 23:56:26 +02:00
Dennis Gilmore
36225c3b7c Revert "macros: Globally add --disable-silent-rules to configure"
This reverts commit 8174ec3d10.

remove patch that forces --disable-silent-rules to configure it breaks anything set to not ignore unknown configure options
2014-01-24 23:55:03 +02:00
Jens Petersen
68557142e4 add armv5tel to ghc_arches 2014-01-24 23:51:28 +02:00
Dennis Gilmore
401166077f build armv5tel on armv7l since they are the same abi armv7hl is a incompatable ABI 2014-01-24 23:49:36 +02:00
Jens Petersen
74c45dc8c2 add armv7hl to ghc_arches 2014-01-24 23:47:43 +02:00
Adam Jackson
7b12d83d77 redhat-hardened-cc1: Inject -fPIE, not -fPIC. cf. http://lists.fedoraproject.org/pipermail/devel/2011-September/157365.html 2014-01-24 23:45:40 +02:00
Adam Jackson
5034f24e6a Expose %_hardening_{c,ld}flags independently to make it easier for packages to apply them to selected components 2014-01-24 23:45:05 +02:00
Colin Walters
8174ec3d10 macros: Globally add --disable-silent-rules to configure
Various projects have been adding AM_SILENT_RULES from Automake to
their Makefiles for "developer convenience"; the goal being that they
see warnings more easily.

Now really the right way to do this is to have a make wrapper (or an IDE)
that knows how to filter out warnings, but let's leave that aside for now.

But for debugging builds, we really need the full log data.  Being
able to see exactly how e.g. libtool is being run helps a lot for
debugging link problems as an example.
2014-01-24 23:42:25 +02:00
Adam Jackson
0ae4b38eee 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 2014-01-24 23:41:09 +02:00
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
Jon Masters
16f86875d9 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>
2014-01-24 23:30:45 +02:00
Adam Jackson
60aea2849e Add -z relro 2014-01-24 23:24:07 +02:00
Jens Petersen
d8bfddbf7e Revert "replace ghc_archs with ghc_excluded_archs"
This reverts commit 8fc99b69b6.
2014-01-24 23:22:42 +02:00
Jens Petersen
71ab2d9056 replace ghc_archs with ghc_excluded_archs 2014-01-24 23:19:09 +02:00
Dennis Gilmore
fe1e807f2f add arm hardware floating point macros update the armv7l macros 2014-01-24 23:13:58 +02:00
Dennis Gilmore
dc985dd5fc add a -srpm to the arch macros so they dont conflict with the langaugae base arch macros 2014-01-24 23:12:41 +02:00
Dennis Gilmore
9ecf19e1bd 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 2014-01-24 23:02:24 +02:00
Panu Matilainen
26a7faf833 - adjust to new pkg-config behavior wrt private dependencies (#596433) 2014-01-24 22:57:27 +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
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
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
2e8b67dd78 Dont install ChangeLog into /usr/lib/rpm/redhat directory, doh 2010-02-02 12:02:10 +02: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