Mailinglist Archive: opensuse-buildservice (354 mails)

< Previous Next >
Re: [opensuse-buildservice] x86_64 build issues
  • From: Marcus Meissner <meissner@xxxxxxx>
  • Date: Tue, 13 Feb 2007 12:30:12 +0100
  • Message-id: <20070213113012.GA26871@xxxxxxx>
On Tue, Feb 13, 2007 at 11:26:53AM +0000, Andrew Wafaa wrote:
>
> >Use:
> >
> >%files -n lib%{name}
> >%defattr(-,root,root,0755)
> >%{_libdir}/libbongo*
> >
> >And use %configure or ./configure .... --libdir=%_libdir
>
> How would I differentiate the two architectures using this method? Is it a matter of putting the %ifarch statement around the %_libdir statement?

the %_libdir will be replaced by /usr/lib or /usr/lib64 depending on if the architecture
is lib64 or not.

Just editing the %files section is not sufficient.

Ciao, Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups