Re: PyPDF2 and stapler (RPM build error for stapler)

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

 



On 02/15/2015 04:18 PM, Ranjan Maitra wrote:
On Sun, 15 Feb 2015 08:07:47 +0100 Ralf Corsepius <rc040203@xxxxxxxxxx> wrote:

On 02/15/2015 06:46 AM, Ranjan Maitra wrote:

RPM build errors:
      Installed (but unpackaged) file(s) found:
     /usr/bin/stapler
     /usr/lib/python2.7/site-packages/staplelib/__init__.py
     /usr/lib/python2.7/site-packages/staplelib/__init__.pyc
     /usr/lib/python2.7/site-packages/staplelib/__init__.pyo
     /usr/lib/python2.7/site-packages/staplelib/commands.py
     /usr/lib/python2.7/site-packages/staplelib/commands.pyc
     /usr/lib/python2.7/site-packages/staplelib/commands.pyo
     /usr/lib/python2.7/site-packages/staplelib/iohelper.py
     /usr/lib/python2.7/site-packages/staplelib/iohelper.pyc
     /usr/lib/python2.7/site-packages/staplelib/iohelper.pyo
     /usr/lib/python2.7/site-packages/staplelib/stapler.py
     /usr/lib/python2.7/site-packages/staplelib/stapler.pyc
     /usr/lib/python2.7/site-packages/staplelib/stapler.pyo
     /usr/lib/python2.7/site-packages/staplelib/tests.py
     /usr/lib/python2.7/site-packages/staplelib/tests.pyc
     /usr/lib/python2.7/site-packages/staplelib/tests.pyo
     /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/PKG-INFO
     /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/SOURCES.txt
     /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/dependency_links.txt
     /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/entry_points.txt
     /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/not-zip-safe
     /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/requires.txt
     /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/top_level.txt


Any suggestions as to what I am doing wrong/how to correct it?

Your rpm.spec's %files section is incomplete.

Thanks, Ralf! What would complete it?

Adding the missing files to the spec's file section?

E.g. your spec seems to be missing

%files
...
%{_bindir}/stapler
...

and something similar to
...
%{python2_sitelib}/*
...

But answering this in detail would require to see your spec.

My advice would be to look into other, similar specs (e.g. a python package with some executable in /usr/bin/) in Fedora.

Ralf

--
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