Re: rpm makefile patch for Linux/PPC


Subject: Re: rpm makefile patch for Linux/PPC
From: Gary Thomas (gdt@linuxppc.org)
Date: Wed Jan 26 2000 - 10:42:22 CST


On 26-Jan-00 sterwill@abisource.com wrote:
> Really, we only need the "topdir" key (which one can get, in a symbolic
> form, from rpm --showrc). It tells us where to put our source files
> (usually /usr/src/redhat/SOURCES) and our spec file so we can say
> "rpm, go build _that_ package", which is done through something like
> "rpm -ba /usr/src/redhat/SPECS/abisuite-0.7.8.spec". If there's another,
> better way to do this, like building where "topdir" doesn't need to be
> known, I'm completely open to it.
>

These are known inside RPM and could be easily passed to your build/makefiles.
  $RPM_SOURCE_DIR - normally /usr/src/redhat/SOURCES
  $RPM_BUILD_DIR - /usr/src/redhat/BUILD/<package>

Is this not enough for your build process to go on?



This archive was generated by hypermail 2b25 : Wed Jan 26 2000 - 10:42:24 CST