Scribus scripts

Todd Zullinger tmz at pobox.com
Tue Oct 2 17:08:27 UTC 2007


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20071002/55686083/attachment-0001.bin 


More information about the users mailing list