Re: How to make one SPEC file for multiple architectures...?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2005-06-30 at 15:57 -0500, Thomas Cameron wrote:
> All -
> 
> I normally write up my spec file except for the %files section, run
> rpmbuild -bb against it, and then find all the directories and files
> in /var/tmp/[package]-root to populate my %files section.  I know this
> is the slacker way, but it always works.
> 
> How *should* I do it?  Because when I move a source RPM from my i386 to
> my x86_64 platform, it boogers up.

Populate the %files in the spec and then modify to use macros for
%{_libdir} and friends which will be appropriately set depending on
target.

Paul


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux