On Fri, May 22, 2015 at 09:54:07AM -0500, Ranjan Maitra wrote: > $ fpaste pdf-stapler.spec > Uploading (2.3KiB)... > http://ur1.ca/mlk1u -> http://paste.fedoraproject.org/224688/30572714 Hmmm, first thing here — you're asking for python3-devel but calling %{__python} (which is currently %{__python2}) instead of % %{__python3}, and you're using the python2 sitelib. > However, it "crashes" after installation: [...] > pkg_resources.DistributionNotFound: pypdf==1.12 We actually have pyPdf in the distro. However, it's 1.13. Try: at the top of the file: %define pypdfversion 1.13 requires line: Requires: pyPdf = %{pypdfversion} (no need for BuildRequires), and then put this after %setup for f in setup.py stapler.egg-info/requires.txt ; do sed -i 's/pypdf == 1.12/pypdf == %{pypdfversion}/g' $f done Having made these changes, your specfile works for me and pdf-stapler appears to run — at least, it does not crash. -- Matthew Miller <mattdm@xxxxxxxxxxxxxxxxx> Fedora Project Leader -- 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