Commit Graph

26 Commits

Author SHA1 Message Date
Panu Matilainen 68230da9ce Use %{_rpmconfigdir} throughout configuration macros and such 2008-11-22 18:09:48 +02:00
Panu Matilainen b4d6e18a98 Trash unused MULTILIBNO hackery in installplatform 2008-10-19 19:59:57 +03:00
Panu Matilainen 927f384a9b Kick out the dumb defaultdocdir logic from installplatform
- defaultdocdir is simply %{_datadir}/doc
2008-10-17 08:11:10 +03:00
Jindrich Novy 19d3b1c820 Fix missspelling in macro name (_initddir -> _initrddir), thanks to
- Ville Skyttä
- old macro with typo is kept for compatiblity
2008-06-30 12:23:42 +02:00
Panu Matilainen 4ad7f40395 Rip useless ROOT_GROUP checking from configure
- it was only used for an ancient RH-specific %_fixgroup anyway which
  in turn only ever did anything when building as root - bad bad...
2008-05-08 14:37:29 +03:00
Panu Matilainen 48ff62a529 First crack at adding ISA provides to packages (rhbz#235755)
- Horrible kludgery to get the isa names and bits into platform specific
  macros from installplatform script. That beast needs to die. I mean really

- In build, add provides: name(isa) = evr automatically when it makes
  sense (similarly to name = evr provides). ISA consists of ISA name and
  bitness (or wordsize). This can be used to correctly
  express multilib dependencies without resorting to (expensive!) file
  dependency kludges, eg for dlopen()'ed libraries where automatic
  dep extraction doesn't force dependency on 32bit vs 64bit version, you
  can now use:
      Requires: foo-plugin%{?_isa}
  This expands to foo-plugin(x86-32) for i?86 packages, foo-plugin(x86-64)
  to x86_64 etc, and permits spec to be shared with older distros which
  don't have ISA provides.

- The same could be expressed with "canon arch" just as well, but
  using the ISA to differentiate from %_arch and the like:
  eg i386 could be used instead of x86-32 but it's overloaded with meanings
  (the actual i386 processor vs i386 compatible cpu family etc)
2008-04-10 19:36:03 +03:00
Ralf Corsépius 1a8008bcd9 Add datarootdir. 2007-09-05 07:52:26 +02:00
Panu Matilainen 345d1189ae Fixing fallout from MARK64 removal.. 2007-07-30 13:43:22 +03:00
jbj 84d6a9cac5 macosx/opendarwin hackery, take 1.
CVS patchset: 7710
CVS date: 2005/01/25 05:24:40
2005-01-25 05:24:40 +00:00
jbj 050717618a - python: put rpmmodule.so where python expects to find.
- add brp-strip-static-archive build root policy helper.
- add -lelf to rpm LDFLAGS, not LDADD, since there is no libelf.la now.

CVS patchset: 6001
CVS date: 2003/01/08 21:37:01
2003-01-08 21:37:01 +00:00
jbj 3ea6dcbfe5 Set %_arch to RPMCANONARCH.
CVS patchset: 5716
CVS date: 2002/09/17 18:52:26
2002-09-17 18:52:26 +00:00
jbj 90b34cd4e5 - add a macro to create a sub-package with debugging symbols.
CVS patchset: 5662
CVS date: 2002/08/22 19:21:14
2002-08-22 19:21:14 +00:00
jbj ae8428475c - add --with-efence to configure, check install/upgrade with efence.
- beecrypt: short hex string conversion overflows target buffer.
- mark "successors only" packages in transaction.
- reap scriptlets with SIGCHLD handler.
- rename PSM_t to rpmpsm, add methods and refcounts to manage.
- remove %%configure/%%makeinstall from arch-os/macros, default is OK.
- don't export MALLOC_CHECK_ to scriptlets.
- squeaky clean memory leak checking.
- always malloc rpmfi structure, refcounts are correct in rpmtsRun().
- skip redundant /sbin/ldconfig scripts on upgrade (if possible).

CVS patchset: 5645
CVS date: 2002/08/19 22:27:44
2002-08-19 22:27:44 +00:00
jbj 30b9428ce0 - make peace with gcc-3.1, remove compiler cruft.
CVS patchset: 5313
CVS date: 2002/02/10 19:00:16
2002-02-10 19:00:16 +00:00
jbj 81d60b4706 Sync with rpm-4.0.4 rollbacks.
CVS patchset: 5293
CVS date: 2002/02/02 22:45:41
2002-02-02 22:45:41 +00:00
jbj bad8c7a9b2 - fix: _smp_flags macro broken.
- python: bind rhnUnload differently.
- fix: rescusitate --querytags.
- fix: short aliases broken (#49213).

CVS patchset: 4949
CVS date: 2001/07/17 03:03:14
2001-07-17 03:03:14 +00:00
jbj cfa46ad5cb - fix: scope multi-mode options like --nodeps correctly (#48825).
CVS patchset: 4940
CVS date: 2001/07/13 13:44:26
2001-07-13 13:44:26 +00:00
jbj 81de17180f - fix: adjust arg count for --POPTdesc/--POPTargs deletion.
- add linux per-platform macro %_smp_mflags <sopwith@redhat.com>.
- document more popt aliases for --help usage.
- remove --tarbuild from man page(s), use -t[abpcils] instead (#48666).

CVS patchset: 4936
CVS date: 2001/07/11 14:23:01
2001-07-11 14:23:01 +00:00
jbj b533de2b27 Yet another patial harlink set fix.
CVS patchset: 4903
CVS date: 2001/06/25 20:01:42
2001-06-25 20:01:42 +00:00
jbj bfa1698ec3 - 1st crack at Mandrake specific per-platform macros.
CVS patchset: 4459
CVS date: 2001/01/17 16:00:36
2001-01-17 16:00:36 +00:00
jbj a463744b6d - change optflags for i386.
- multilib patch, take 1.

CVS patchset: 3920
CVS date: 2000/07/05 20:39:15
2000-07-05 20:39:15 +00:00
jbj 18a1a352b4 - add RPMTAG_OPTFLAGS, configured optflags when package was built.
- add RPMTAG_DISTURL for rpmfind-like tools (content unknown yet).
- teach brp-compress about /usr/info and /usr/share/info as well.
- update macros.in from rpm-4.0 (w/o dbi configuration).

CVS patchset: 3878
CVS date: 2000/06/20 21:45:50
2000-06-20 21:45:50 +00:00
jbj ef6736bd90 Move noLang to rpmlib.
Add defaultdocdir to per-platform macros.

CVS patchset: 3788
CVS date: 2000/06/01 05:36:14
2000-06-01 05:36:14 +00:00
jbj c89b7ff341 Hi!
I'd like to start building sparc64 packages (eventhough the install rule
details are yet to be designed - IMHO if 64bit SPARC userland is going into
7.0 we should rebuild all packages into 64bit in the next months or so to
have time to chase bugs etc.), and this is about what I need.
Basically I'd like to have %{_lib} to stand for the last part (normally
"lib") of dirname for directories like /lib, /usr/lib, /usr/X11R6/lib
because on sparc64-linux they are /lib64, /usr/lib64, /usr/X11R6/lib64 (and
on Solaris /lib/sparcv9, /usr/lib/sparcv9 etc.), so that one can use things
like
/usr/%{_lib} in the spec files.
Another thing which I need is an arch specific build root policy.
This patch does a few things:
1) add installplatform into EXTRA_DIST files, so that it is actually invoked
   during rpm build not from CVS
2) Define %_lib lib and let target specific macros override it
3) Split __spec_install_post into __arch_install_post and __os_install_post,
   --buildpolicy now specifies the __os_install_post part only. spec files
   can still override the __arch_install_post if the want to.
   brp-sparc64-linux is used to move 64bit libraries to */lib64 directories
   from */lib directories if make install of some package left them there.
4) Change installplatform so that on sparc* it creates both sparc and
   sparc64 target macro dirs (/usr/lib/rpm/sparc{,64}-redhat-linux in
   sparc*-redhat-linux case).

CVS patchset: 3685
CVS date: 2000/04/19 16:03:49
2000-04-19 16:03:49 +00:00
jbj e93943f1e0 - portability: skip bzip2 if not available.
- portability: skip gzseek if not available (zlib-1.0.4).
- portability: skip personality if not available (linux).
- portability: always include arpa/inet.h (HP-UX).
- portability: don't use id -u (Brandon Allbery).
- portability: don't chown/chgrp -h w/o lchown.
- portability: splats in rpm.spec to find /usr/{share,local}/locale/*

CVS patchset: 3610
CVS date: 2000/03/09 18:13:02
2000-03-09 18:13:02 +00:00
jbj 601d666d48 - fix: filter excluded paths before adding install prefixes (#8709).
- add i18n lookaside to PO catalogue(s) for i18n strings.
- try for /etc/rpm/macros.specspo so that specspo autoconfigures rpm.
- per-platform configuration factored into /usr/lib/rpm subdir.

CVS patchset: 3588
CVS date: 2000/02/25 16:29:44
2000-02-25 16:29:44 +00:00