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@lists.fedoraproject.org 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