summaryrefslogtreecommitdiff
path: root/rpmpopt.in
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-04-19 16:03:49 +0000
committerjbj <devnull@localhost>2000-04-19 16:03:49 +0000
commitc89b7ff341c504ce2f684149d46b2e6939faed31 (patch)
treefcb2f681bc1fadfaf917dc7bb5eaa58394e261bb /rpmpopt.in
parentbb4eafd53dc21710f0618499cba70bc4d046aa00 (diff)
downloadlibrpm-tizen-c89b7ff341c504ce2f684149d46b2e6939faed31.tar.gz
librpm-tizen-c89b7ff341c504ce2f684149d46b2e6939faed31.tar.bz2
librpm-tizen-c89b7ff341c504ce2f684149d46b2e6939faed31.zip
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
Diffstat (limited to 'rpmpopt.in')
-rw-r--r--rpmpopt.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmpopt.in b/rpmpopt.in
index 531fb242a..d3d6808ff 100644
--- a/rpmpopt.in
+++ b/rpmpopt.in
@@ -80,7 +80,7 @@ rpm alias --redhatrequires -q --define '_dbpath /usr/lib/rpmdb/%{_arch}-%{_vendo
rpm alias --i18ndomains --define '_i18ndomains !#:+'
# Build policies enabled from command line. Last policy applies.
-rpm alias --buildpolicy --define '__spec_install_post @RPMCONFIGDIR@/brp-!#:+'
+rpm alias --buildpolicy --define '__os_install_post @RPMCONFIGDIR@/brp-!#:+'
# Preferred db interface:
# 0 linux glibc libdb1 routines.