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: pgpjrphgckVQc.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux