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