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

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

 



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

Thanks! I tried to mimic batti, but not much help.

However, your suggestions really helped me and I was able to modify the spec file (was missing the python2-sitelib part) and can make a rpm. Here is the spec file:

$ fpaste pdfstapler.spec
Uploading (2.4KiB)...
http://ur1.ca/jqgcf -> http://paste.fedoraproject.org/185742/15606142

Not completely sure if this is correct. So it would be great if someone could verify to its correctness.

But I still had some other questions.

Specifically, how do I get the version number in the name of the rpm. Right now, it is stapler-master simply because the master is used in the source file?

Also, the binary is called stapler. However, there is already a stapler binary (as part of a totally different package for URL applications). Is there a way to name this automagically? (The package and the binary that I am packaging are called stapler - I guess I was thinking of renaming them to pdfstapler to avold confusion.)

Many thanks again and best wishes,
Ranjan

____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!


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