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

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

 



On 02/16/2015 06:41 AM, Ranjan Maitra wrote:
Hi,

Thanks for this!

In case you do not to intend to submit this package to Fedora, the only
way to avoid this clash, is to resort to renaming your package (e.g. to
call it pdfstapler).

How and where in the .spec file should I do this?

Something along the lines of:

Name: pdfstapler
...
URL: <somewhere>/stapler-<version>.tar.gz
...
%setup -q -n stapler-<version>
...

What happens to the binary, etc inside the package?
The contents would not actually change.

What would change is the package's name and the location used for "%doc <rel filename>" (/usr/share/doc/pdfstapler instead of /usr/share/doc/stapler).

Of course, you'd have to check if the files inside of your package would clash with files provided by other packages, in particular against the files inside of the other "stapler":

# repoquery -ql stapler
/usr/share/doc/stapler
/usr/share/doc/stapler/LICENSE
/usr/share/java/stapler/stapler.jar
/usr/share/maven-metadata/stapler-stapler.xml
/usr/share/maven-poms/stapler/stapler.pom


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