Commit Graph

2 Commits

Author SHA1 Message Date
jbj df6f361f16 Add athlon rpmrc config.
Add sparcv9 per-platform config.

CVS patchset: 3784
CVS date: 2000/06/01 00:54:36
2000-06-01 00:54:36 +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