Commit Graph

265 Commits

Author SHA1 Message Date
Jens Petersen
121c2fa889 move macros.ghc-srpm to ghc-srpm-macros and require it (#1089102) 2014-05-01 10:10:45 +09:00
Peter Robinson
f60ba57637 With gcc 4.9 aarch64 now supports stack-protector 2014-04-29 23:37:34 +01:00
Ville Skyttä
82a41dfa6a Drop brp-* scripts needlessly duplicated with rpm
One possible incompatibility, hopefully non-issue: our brp-strip*
allowed setting strip and objdump to use via args and STRIP and
OBJDUMP env vars whereas the rpm ones allow it through args only
(i.e. %{__strip} and %{__objdump} as far as specfiles are concerned).
2014-04-27 17:09:14 +03:00
Ville Skyttä
20c7e01657 Drop bunch of macro definitions needlessly duplicated with rpm
Specifically, the following are gone from here now: %_prefix,
%_sysconfdir, %_infodir, %_mandir, %_defaultdocdir, %_configure,
%makeinstall, %debug_package, %_use_internal_dependency_generator,
%_missing_doc_files_terminate_build, %_unpackaged_files_terminate_build
2014-04-27 12:02:23 +03:00
Ville Skyttä
24cd400d7c %changelog spelling fixes 2014-04-27 12:02:23 +03:00
Ville Skyttä
20a45694f9 Trim trailing whitespace 2014-04-27 11:58:46 +03:00
Panu Matilainen
147cb4ced1 - Temporarily bring back find-requires and -provides scripts to rrc-side
- Packages that refer to /usr/lib/rpm/redhat/find-requires|provides
  do exist afterall, bring the scripts (but NOT macro overrides for them)
  back until the packages (python3 at least) are fixed.
2014-04-15 16:11:41 +03:00
Panu Matilainen
eaf6603313 - Let OCaml handle its own arch macros (#1087794) 2014-04-15 14:36:04 +03:00
Panu Matilainen
5c5a1d10b9 Oops, bogus date in changelog (sigh) 2014-04-15 10:14:32 +03:00
Panu Matilainen
dd2a70568b - Move kmod and libsymlink dependency generators here from rpm
- These are specific to Fedora so might as well live here, and
  having them here also avoids having to carry patches in rpm
  for no good reason etc
2014-04-15 10:08:30 +03:00
Panu Matilainen
2cbbbb322e - Drop most of the script-based dependency generation bits
- Use rpmdeps to generate any "normal" dependencies even for the
  kernel module stuff, drop all other unnecessary duplication
  like elf, libtool and pkgconfig deps.
2014-04-10 15:20:54 +03:00
Panu Matilainen
43629272a8 - Allow opting out of config.{guess,sub} replacement hack (#991613) 2014-04-08 13:30:58 +03:00
Panu Matilainen
0f965fc0b3 - Add mono path macros (#1070936) 2014-04-08 13:26:14 +03:00
Panu Matilainen
a1cd32b14d Doh, remember to bump the actual version 2014-04-08 12:41:42 +03:00
Panu Matilainen
c8cbd244cf - Move the remaining dependency generator stuff to the kmp macro package
- Stop overriding rpm external dependency generator settings by default
- No normal package should ever end up using the old unmaintained
  dependency generator scripts from here, but the kmp system depends
  for now on the way this was previously set up here so letting
  that old cruft live in the non-default package for now.
2014-04-08 12:36:08 +03:00
Panu Matilainen
fdc99f0414 Split kernel module scripts and macros to a separate package
- These are not very relevant for Fedora, more so for RHEL and derivates
  where it would be far preferrable to maintain the scripts as separately
  from Fedoras redhat-rpm-config package as they are unmaintained and
  only get out of sync here. Splitting these to a separate package
  is the first step towards that.
- This isn't supposed to affect Fedora packages in any way.
2014-04-07 14:47:28 +03:00
Panu Matilainen
0e6d36bee9 Split kernel module macros to a separate file 2014-04-07 14:38:58 +03:00
Panu Matilainen
188c86566f Be more explicit about the package contents 2014-04-07 14:36:52 +03:00
Panu Matilainen
fe3b678a9d - Stop pretending this package is relocatable, its not
- Require rpm >= 4.11 for /usr/lib/rpm/macros.d support etc
- Move our macros out of from /etc, they're not configuration
2014-04-02 17:26:32 +03:00
Panu Matilainen
060a4721d1 - Make fedora dist-git the upstream of this package and its sources,
all patches dropped as they're no longer relevant
- Add maintainer comments to spec wrt versioning and changes
- Except for Changelog documentation, the resulting binary package
  is identical to previous version (9.1.0-58), ie only maintenance
  practise is changed here, not contents.
2014-04-02 13:12:25 +03:00
Dan Horák
bca39317e9 - enable ppc64le otherwise default rpm cflags will be used 2014-03-24 17:27:07 +01:00
Panu Matilainen
6e5c1076ec - config.guess/sub don't need to be group-writable (#1061762) 2014-02-07 11:00:05 +02:00
Kevin Fenzi
e04bd964a3 Update libtool hardening hack and re-enable (#978949) 2014-01-13 12:45:57 -07:00
Dhiru Kholia
d1c22eee30 Enable "-Werror=format-security" by default (#1043495) 2013-12-18 08:41:34 +02:00
Karsten Hopp
f808f779df update config.sub with ppc64p7 support (already in automake)
We used to fix this in the selected ppc64p7 packages, but can't do that anymore
because the current %configure macro overwrites our changes.
2013-09-04 21:55:10 +02:00
Panu Matilainen
499f65fa2a - update config.guess/sub from upstream for little-endian ppc archs 2013-08-16 13:25:23 +03:00
Petr Písař
8716aaa134 Perl 5.18 rebuild 2013-07-29 08:56:28 +02:00
Tomas Mraz
daac6dfeb6 Disable the libtool hack as it is breaking builds 2013-07-25 16:42:52 +02:00
Kevin Fenzi
e6fe460e84 Make docdirs unversioned on Fedora 20+ (#986871)
- Hack around libtool issue for hardened build for now (#978949)
2013-07-24 16:20:05 -06:00
Petr Písař
3610794c3e Perl 5.18 rebuild 2013-07-17 21:02:48 +02:00
Panu Matilainen
15fbd4c0c2 - fix brp-java-repack-jars failing on strange permissions (#905573) 2013-07-05 13:29:16 +03:00
Panu Matilainen
8153763b1f - switch from -fstack-protector to -fstack-protector-strong (#978763) 2013-07-04 10:26:49 +03:00
Panu Matilainen
3be8fc4ae6 - make cpu limit for building configurable through _smp_ncpus_max macro
- forward "port" from rhel-6 (#669638)
2013-06-27 10:08:01 +03:00
Panu Matilainen
9781bbafca Fix an old bogus date in changelog 2013-05-29 13:00:57 +03:00
T.C. Hollingsworth
490aabb061 add nodejs_arches macro for ExclusiveArch for Node.js packages 2013-05-29 12:56:32 +03:00
Adam Jackson
6ef9b403ea Less verbose of a comment 2013-05-13 12:30:24 -04:00
Adam Jackson
3cff8f9b97 redhat-config-*: Use + to append rather than %rename, to protect against
multiple -specs= ending up in the command line. (#892837)
2013-05-13 11:19:02 -04:00
Panu Matilainen
234364ec2f - Also set FCFLAGS from %%configure (#914831) 2013-04-23 07:33:30 +03:00
Panu Matilainen
4b27de8d70 - Add optflags stack protector override for AArch64 (#909788) 2013-04-23 07:31:50 +03:00
Panu Matilainen
9c8971c1cd - Switch back to manual config.guess/sub copies for reproducability
- Replace config.guess/sub from %%configure again (#951442)
2013-04-22 14:16:11 +03:00
Panu Matilainen
5ec4cc65c2 - Add -grecord-gcc-switches to global CFLAGS (#951669) 2013-04-22 13:20:19 +03:00
Panu Matilainen
ea63b1b6bc - Add virtual system-rpm-config provide 2013-03-25 13:08:11 +02:00
Dennis Gilmore
6ec83fd8c4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 15:31:02 -06:00
Jens Petersen
1b89fd3a33 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.
2012-11-17 21:25:07 +09:00
Toshio Kuratomi
83cfe608da Patch to fix spaces in java jar files
https://bugzilla.redhat.com/show_bug.cgi?id=872737
2012-11-09 13:49:08 -08:00
Toshio Kuratomi
62a6fd7d9f Patch to fix spaces in files used in filtering macros
https://bugzilla.redhat.com/show_bug.cgi?id=783932
2012-11-09 03:40:39 -08:00
Toshio Kuratomi
5c4ec180bc Drop (un)setting LANG and DISPLAY in build stages, require rpm >= 4.8.0. 2012-10-03 18:19:33 -07:00
Toshio Kuratomi
94c3f755ba 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
- Require zip since java repack jars requires it
  https://bugzilla.redhat.com/show_bug.cgi?id=857479
- Java jars need the MANIFEST.MF file to be first in the archive
  https://bugzilla.redhat.com/show_bug.cgi?id=465664
- Fix kernel_source macro to match the directory that kernel sources are installed in
  https://bugzilla.redhat.com/show_bug.cgi?id=648996
- Patch _mandir, _infodir, and _defaultocdir to use _prefix
  https://bugzilla.redhat.com/show_bug.cgi?id=853216
2012-10-03 17:30:10 -07:00
Toshio Kuratomi
94fba4eae8 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
2012-10-03 10:17:07 -07:00
Dennis Gilmore
0577043ed3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 10:25:12 -05:00
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
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
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
cc13fe8402 - unbreak find-requires again, doh (#564527) 2010-02-15 11:49:10 +00:00
Panu Matilainen
f17b98976e - python byte-compilation errors abort the build by default 2010-02-03 11:06:30 +00: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
Orion Poplawski
d185d4c6cf - Change configure macro to use _configure to allow override (bug #489942) 2009-11-23 23:15:49 +00:00
Bill Nottingham
bf522f7483 Drop XZ compression level to 2. 2009-09-28 15:24:39 +00:00
Adam Jackson
a28ad6b658 - Delete *.orig in %install 2009-09-03 13:44:22 +00:00
Paul Howarth
a4525c3182 - redhat-rpm-config-9.0.3-filtering-macros.patch: Rediff so we don't ship a
.orig file
- add (empty) %build section
- fix unescaped macros in changelog
2009-09-03 08:57:20 +00:00
Adam Jackson
a6ccaf0d9f fix changelog 2009-09-01 19:14:30 +00:00
Chris Weyl
b587b5da6b - add the filtering framework approved by the FPC/FESCo. (#516240) 2009-08-19 06:08:05 +00:00
Adam Jackson
621c75fd0f - redhat-rpm-config-9.0.4-brpssa-speedup.patch: When looking for static
archives, only run file(1) on files named *.a. (#517101)
2009-08-13 17:24:04 +00:00
Adam Jackson
b25d4df599 - redhat-rpm-config-9.0.3-jars-with-spaces.patch: Handle repacking jars
whose filenames contain spaces. (#461854)
2009-08-12 17:47:31 +00:00
Jesse Keating
b8c8815624 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 02:55:19 +00:00
Bill Nottingham
3497de8754 Fix changelog. 2009-07-22 20:27:08 +00:00
Bill Nottingham
5dcbc56efa Use XZ payload compression for binaries. 2009-07-22 20:26:37 +00:00
Tom Callaway
32d33e8f11 always delete %buildroot at %install (unless it is /) 2009-07-21 17:35:50 +00:00
Bill Nottingham
8cfdc299c7 Bump release 2009-07-17 19:51:35 +00:00
Bill Nottingham
f6271b5879 Add F12 architecture bits. 2009-07-17 19:50:47 +00:00
Adam Jackson
f2fb5924c4 - limit-smp-16-threads.patch: Rediff so we don't ship a .orig file
(#500316)
2009-06-03 19:16:29 +00:00
Jesse Keating
2fb4e83bfb - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-25 19:31:00 +00:00
Jon Masters
ef20b7b81b Change default hashing algorithm on file digests to SHA-256. Resolves:
#485826.
2009-02-23 17:52:17 +00:00
Dennis Gilmore
1885be5cc7 fix arm arches 2009-02-17 20:43:27 +00:00
Dennis Gilmore
c6ffd92ca0 set buildarch and buildflas to match
https://fedoraproject.org/wiki/Features/ArchitectureSupport
2009-02-17 00:03:08 +00:00
Dennis Gilmore
4bde0d0ee8 use the right spec file, dumbass 2009-02-16 17:12:17 +00:00
Dennis Gilmore
e572a580b4 limit -smp_mflags to -j16 2009-02-16 17:07:41 +00:00
Tom Callaway
bc963527b9 fix license tag 2008-09-03 20:22:56 +00:00
Panu Matilainen
cc05ec1e3d - Unbreak find-requires (#443015) 2008-08-11 07:26:42 +00:00
Jon Masters
cb635b65d5 Rebase to upstream 9.0.3. 2008-05-06 23:54:35 +00:00
Jon Masters
7c92c3e26f Update to release 9.0.2 which contains a few trivial fixes. 2008-04-03 07:23:59 +00:00
Jeremy Katz
c46920bba7 - Remove dist defines, fedora-release does that now
- Enable post-build buildroot checking by default
2007-07-05 18:42:01 +00:00
Jeremy Katz
ee4ba18f75 - use stock find-lang.sh (#213041)
- arm fixes (Lennert Buytenhek, #243523)
- allow jar repacking to be disabled (#219731)
- fix running dist.sh --fc (#223651)
- hardlink identical .pyc and .pyo files to save space (Ville Skyttä)
- fix TMPDIR usage (Matthew Miller, #235614)
2007-06-19 18:56:52 +00:00
Jeremy Katz
afe42b0556 - integrate patches into upstream CVS. 2007-06-19 16:00:30 +00:00
Jesse Keating
9c725c836e Dist part goes on Release not Version. I'm an idiot. 2007-05-18 16:27:30 +00:00
Jesse Keating
2f51f0b91e - Update macros for F8
- hardcode dist in release string, as we provide it. chicken/egg.
2007-05-18 16:26:30 +00:00
Jon Masters
30c63bc274 Add modalias tracking. 2007-04-11 19:58:55 +00:00
Jon Masters
45933be68b Rebase previous patches, add Fedora macros. 2007-04-03 04:07:44 +00:00
Ben Konrath
9abf9abef7 - Fix date problem in %changelog 2007-03-14 18:13:24 +00:00
Ben Konrath
61a17008e0 - Update brp-java-repack-jars to fix issue with tomcat. 2007-03-14 18:11:59 +00:00
Jon Masters
377c0d60f8 Actually updated patches this time around. 2006-10-18 18:40:31 +00:00
Jon Masters
0508811c5f I've updated and synced macros with SuSE/Novell. 2006-10-18 18:22:04 +00:00
Jon Masters
141cba90d8 I've updated kernel_module_package again. 2006-10-18 00:23:15 +00:00
Jon Masters
e53623e26d Added kmp macros, kmodtool 2006-10-16 21:00:43 +00:00
Jon Masters
e3077ee936 Use new symsets location. 2006-10-12 05:54:52 +00:00
Jon Masters
25befb7fc6 update find-requires handling 2006-10-12 04:01:29 +00:00
Deepak Bhole
de9ce505bb Fix brp-java-repack-jars to work with builddirs that aren't %name-%version 2006-09-12 22:24:31 +00:00
Fernando Nasser
83a5b2cc39 Fix order of tokens in find command (thanks mikeb@redhat.com) 2006-09-11 19:25:05 +00:00
Ben Konrath
fca1b5906c Fix bug in repack jars script. 2006-09-07 18:43:43 +00:00
Jeremy Katz
88e25c03cc - path fix 2006-09-06 13:36:49 +00:00
Jeremy Katz
7b32f88158 - Add script from Ben Konrath <bkonrath@redhat.com> to repack jars to avoid
multilib conflicts
2006-09-05 20:45:19 +00:00
Jon Masters
05e77c226c oops. inverted a test by mistake 2006-07-30 18:59:10 +00:00
Jon Masters
23eaa761bf Updated tests for kernel and kmods being built 2006-07-30 18:50:18 +00:00
Jon Masters
393fc46f1d Fix a bug I introduced in find-provides/find-requires. Will later add
better support for determining the name of the package in those
    scripts.
2006-06-15 17:39:35 +00:00
Jon Masters
51cffd062a Bumped version to fix a typo in KMP find-requires.ksyms 2006-06-15 14:01:46 +00:00
Jon Masters
7123642bad Added KMP packaging to Red Hat RPM macros, bumped version. 2006-06-13 02:57:59 +00:00
Jeremy Katz
3d2df7f802 auto-import redhat-rpm-config-8.0.40-1 on branch devel from
redhat-rpm-config-8.0.40-1.src.rpm
2006-02-03 23:13:22 +00:00
Jesse Keating
4f4a7df154 gcc update bump 2005-12-09 22:42:59 +00:00
Elliot Lee
ba2da49e49 test commit *docs* 2005-09-07 17:56:14 +00:00
Elliot Lee
bcec155357 test commit 2005-09-07 17:52:18 +00:00
Elliot Lee
1d9cab9128 test commit 2005-09-07 17:50:31 +00:00
Elliot Lee
6b6f9a8de6 fix #165416 2005-08-17 00:33:09 +00:00
Elliot Lee
59866594ea auto-import redhat-rpm-config-8.0.38-1 on branch devel from
redhat-rpm-config-8.0.38-1.src.rpm
2005-08-01 17:55:14 +00:00
Elliot Lee
5a6e4ab45e auto-import redhat-rpm-config-8.0.37-1 on branch devel from
redhat-rpm-config-8.0.37-1.src.rpm
2005-08-01 17:46:46 +00:00
Elliot Lee
306b4aed7e Fix the fix 2005-06-16 15:54:07 +00:00
Elliot Lee
2a2a9222a8 New version. 2005-06-15 22:28:40 +00:00
Elliot Lee
76783b5856 new version 2005-03-23 20:23:04 +00:00
arjanv
d241203424 reduce the change 2005-03-03 14:04:44 +00:00