Re: Scribus scripts

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

 



On Tue, 2007-10-02 at 13:08 -0400, Todd Zullinger wrote:
> Craig White wrote:
> > OK - I was wrong...this did work - I forgot the \ at the end of the
> > line. Therefore, this works...
> > 
> > %build
> > [ -n "$QTDIR" ] || . %{_sysconfdir}/profile.d/qt.sh
> > %configure  \
> >  --with-pythondir=%{_prefix} \
> >  --with-extra-libs=/usr/lib64
> > make %{?_smp_mflags}
> > 
> > but of course, this is for the x86_64 so some logic would have to be
> > integrated.
> 
> The %{_libdir} macro should do the right thing.  On 32 bit arches it
> should evaluate to /usr/lib and on 64 bit arches to /usr/lib64.  Does
> that one work for you?  If not, what does rpm --eval '%{_libdir}' say
> on a 64 bit arch?  (I don't have any to test with, so I'm just going
> off of what I'm reading in the rpm macro configs and my understanding
> of how it's supposed to work -- either of which may be wrong. :)
> 
> I'm pretty sure that using %{_libdir} works on the Fedora build
> system, I just built some scrath packages as a test.  Hopefully that
> works for you as well. :)
----
yeah - you're right...

# rpm --eval '%{_libdir}'
/usr/lib64

-- 
Craig White <craig@xxxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux