Re: rpmbuild error

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

 



On Wed, 7 Oct 2015 14:15:23 -0500, Ranjan Maitra wrote:

> %{python3_sitelib}

> rpmbuild -bb pyFilter.spec
> ....
> + exit 0
> 
> 
> RPM build errors:
>     File not found: /home/etc/rpmbuild/BUILDROOT/pyFltk-1.3.3.1-1.fc22.x86_64/usr/lib/python3.4/site-packages
> 
> ---------------------------------
> 
> Actually looking into the rpmbuild directory, I see that these files are created in  /home/etc/rpmbuild/BUILDROOT/pyFltk-1.3.3.1-1.fc22.x86_64/usr/libusr/lib64, not in  /home/etc/rpmbuild/BUILDROOT/pyFltk-1.3.3.1-1.fc22.x86_64/usr/lib.
> 
> How do I fix this? I am compiling using python3.

Provided that the install location is correct, you need to adjust your macro
usage. There's a different between sitelib and sitearch installation.

https://fedoraproject.org/wiki/Packaging:Python#Macros
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux