summaryrefslogtreecommitdiff
path: root/platform.in
AgeCommit message (Collapse)AuthorFilesLines
2013-02-02remove references to removed brp scriptsAnas Nashif1-2/+0
2013-02-02platform changesAnas Nashif1-1/+19
2011-03-25Push platform config out of main rpm macros filePanu Matilainen1-0/+8
- canon arch & color stuff is now calculated per each known arch in installplatform, and just a single place where arch name mangling is done
2011-03-25Move %_fixperms to main macro configPanu Matilainen1-12/+0
- Fixing broken permissions in sources isn't exactly platform/vendor specific in nature (at least Suse adds this this to their own "platform" separately, kinda proving the point) - Kick out the remaining unused RH-pecific platform.in section
2011-03-25Yank out 2001 vintage Mandrake-specific macrosPanu Matilainen1-61/+0
- Its unlikely these were ever actually used by Mandrake, but in any case they switched to different setup long ago, and since then the company + distribution has seen more than a few renames etc..
2010-01-27Pass %{__strip} and %{__objdump} to brp-strip* scriptsPanu Matilainen1-3/+3
- permits easy overriding of the used tools globally
2010-01-04Eliminate unused id -u testsPanu Matilainen1-1/+0
- this was used by _fixowner and _fixgroup macros back in the day but they no longer exist as they're unusable without building as root
2010-01-04Require lchown() and remove ancient broken chown kludgeryPanu Matilainen1-2/+0
- lchown() is POSIX 2001, we dont care about older / nonconformant stuff
2009-12-17Use grep -E and grep -F instead of egrep and fgrep.Ville Skyttä1-1/+1
egrep and fgrep are deprecated in GNU grep and "historical" in POSIX.
2008-11-22Use %{_rpmconfigdir} throughout configuration macros and suchPanu Matilainen1-5/+5
2008-10-19Trash unused MULTILIBNO hackery in installplatformPanu Matilainen1-7/+0
2008-10-17Kick out the dumb defaultdocdir logic from installplatformPanu Matilainen1-1/+1
- defaultdocdir is simply %{_datadir}/doc
2008-06-30Fix missspelling in macro name (_initddir -> _initrddir), thanks toJindrich Novy1-1/+3
- Ville Skyttä - old macro with typo is kept for compatiblity
2008-05-08Rip useless ROOT_GROUP checking from configurePanu Matilainen1-2/+0
- 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-04-10First crack at adding ISA provides to packages (rhbz#235755)Panu Matilainen1-0/+4
- 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)
2007-09-05Add datarootdir.Ralf Corsépius1-0/+1
2007-07-30Fixing fallout from MARK64 removal..Panu Matilainen1-1/+1
2005-01-25macosx/opendarwin hackery, take 1.jbj1-1/+7
CVS patchset: 7710 CVS date: 2005/01/25 05:24:40
2003-01-08- python: put rpmmodule.so where python expects to find.jbj1-0/+1
- 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
2002-09-17Set %_arch to RPMCANONARCH.jbj1-1/+1
CVS patchset: 5716 CVS date: 2002/09/17 18:52:26
2002-08-22- add a macro to create a sub-package with debugging symbols.jbj1-4/+5
CVS patchset: 5662 CVS date: 2002/08/22 19:21:14
2002-08-19- add --with-efence to configure, check install/upgrade with efence.jbj1-39/+0
- 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-02-10- make peace with gcc-3.1, remove compiler cruft.jbj1-2/+4
CVS patchset: 5313 CVS date: 2002/02/10 19:00:16
2002-02-02Sync with rpm-4.0.4 rollbacks.jbj1-1/+5
CVS patchset: 5293 CVS date: 2002/02/02 22:45:41
2001-07-17- fix: _smp_flags macro broken.jbj1-1/+1
- 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-13- fix: scope multi-mode options like --nodeps correctly (#48825).jbj1-2/+2
CVS patchset: 4940 CVS date: 2001/07/13 13:44:26
2001-07-11- fix: adjust arg count for --POPTdesc/--POPTargs deletion.jbj1-0/+4
- 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-06-25Yet another patial harlink set fix.jbj1-21/+62
CVS patchset: 4903 CVS date: 2001/06/25 20:01:42
2001-01-17- 1st crack at Mandrake specific per-platform macros.jbj1-1/+63
CVS patchset: 4459 CVS date: 2001/01/17 16:00:36
2000-07-05- change optflags for i386.jbj1-0/+8
- multilib patch, take 1. CVS patchset: 3920 CVS date: 2000/07/05 20:39:15
2000-06-20- add RPMTAG_OPTFLAGS, configured optflags when package was built.jbj1-1/+8
- 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-01Move noLang to rpmlib.jbj1-0/+2
Add defaultdocdir to per-platform macros. CVS patchset: 3788 CVS date: 2000/06/01 05:36:14
2000-04-19Hi!jbj1-9/+11
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-03-09- portability: skip bzip2 if not available.jbj1-3/+6
- 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-02-25- fix: filter excluded paths before adding install prefixes (#8709).jbj1-0/+46
- 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