Re: Scribus scripts

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

 



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. :)

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Life may have no meaning. Or even worse, it may have a meaning of
which I disapprove.
    -- Ashleigh Brilliant

Attachment: pgpN10DgykpHL.pgp
Description: PGP signature


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

  Powered by Linux