Commit Graph

156 Commits

Author SHA1 Message Date
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
Panu Matilainen
3a2d93f311 Limit _smp_mflags to max 16
- patch from Dennis Gilmore
2010-01-22 15:20:08 +02:00
Panu Matilainen
ab53232420 Handle JAR files containing filenames with spaces (#243157, #461854, #547704)
- patch originally from  Peter Bieringer
2010-01-22 11:22:07 +02:00
Panu Matilainen
afe45959fb Dont try to repack empty JAR's (#269481, #547699)
- patch originally from Kai Bolay
2010-01-22 10:59:42 +02:00
Jonathan Masters
9ed9b4e345 A variety of small cleanups 2008-05-06 19:08:20 -04:00
Jon Masters
fcf5e22a65 Bump the release. 2008-04-03 03:14:54 -04:00
Jon Masters
83405d773d Update config.guess|sub, sync with RHEL-5. 2008-04-03 03:11:24 -04:00
Jon Masters
0c5255b638 Set package_name correctly. 2008-04-03 02:46:05 -04:00
Jeremy Katz
75220114eb conflict instead of requires 2007-07-05 14:34:42 -04:00
Jesse Keating
e284fd4907 Clean up dist junk; require right aged rpm (remove at F8 final time?) 2007-07-05 12:45:59 -04:00
Jesse Keating
9b11fc216b Enable buildroot check by default 2007-07-05 12:41:21 -04:00
Jeremy Katz
59155fec98 bump version, add %dist bits, add lost changelog entries 2007-06-19 14:55:09 -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
6b022102df define optflags for modern arm arches (Lennert Buytenhek, #243523) 2007-06-19 14:35:57 -04:00
Jeremy Katz
e54f487738 report gnueabi if appropriate for arm (Lennert Buytenhek, #243523) 2007-06-19 14:35:41 -04:00
Jeremy Katz
85ff3763b6 allow disabling jar repacking (#219731) 2007-06-19 14:28:50 -04:00
Jeremy Katz
1b84f70101 fix dist.sh --fc (#223651) 2007-06-19 14:24:12 -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
9f4238cef9 fix usage of TMPDIR (mattdm, #235614) 2007-06-19 14:16:16 -04:00
Jeremy Katz
1b6281ab55 add install and clean targets to makefile. make the spec file be normal
instead of doing everything manually
2007-06-19 13:54:21 -04:00
Jeremy Katz
5b4d287b6b fix the permissions on these as well so that we're not oding it from the spec
file
2007-06-19 13:53:46 -04:00
Jeremy Katz
33fb6e3b66 use git bits for making the archive 2007-06-19 13:50:17 -04:00
Jeremy Katz
19f1cde13b fix perms 2007-06-19 13:42:44 -04:00
Jeremy Katz
acfbad4bf7 bump spec file 2007-06-19 15:42:48 +00:00
Jeremy Katz
95521bebac add support for find-provides.d dir; use for modalias tracking (from jcm) 2007-06-19 15:23:29 +00:00
Jeremy Katz
feffba404a add support for kmps/kmodtool stuff (from jcm) 2007-06-19 15:21:46 +00:00
Jeremy Katz
48c39c99dc patch from jcm to adjust kmod handling 2007-06-19 15:18:25 +00:00