On 02/15/2015 04:18 PM, Ranjan Maitra wrote:
On Sun, 15 Feb 2015 08:07:47 +0100 Ralf Corsepius <rc040...@freenet.de> 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@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

Reply via email to