On Tue, May 12, 2015 at 09:22:21AM -0500, Ranjan Maitra wrote: > > That is trivial to deal with. There are many packages in fedora which > > are renamed to meet packaging guidelines (e.g. many of the python-* or > > perl-* packages). I encourage you to submit it for review. > > I am sorry I do not quite understand. I presume that you mean that one should > rename stapler (my packaged version) to something else. I tried doing this in > the spec file. But it never worked because the spec file looks for that > something else then. I could not figure out how to fix this so just created > the file for my personal use. > > If you or someone else would like to take a look, here it is: > > fpaste pdf-stapler.spec > Uploading (2.4KiB)... > http://ur1.ca/kckv7 -> http://paste.fedoraproject.org/221087/14400891
Just rename the tarball to the new name and you are good. The %{name} macro takes the value from the Name: field in the spec file. If I recall correctly, Fedora packaging guidelines says the package name should be something like python-stapler. > > If you submit it, please post the BZ id here, I would like to follow it. > > In the meantime, could you point me to the home page? I found this: > > https://github.com/hellerbarde/stapler/tree/master, is this correct? > > Yes this is correct. > > I even wrote to the author Philip Stark asking if he would mind changing the > name to avoid conflicts with this other stapler. As an author and user of > software, I feel that it is useful to have clearly defined names. (Besides, > the name "stapler" does not quite do justice to the full capabilities of the > software.) Anyway, he said he would if I came up with a good name so I > suggested a bunch, but he never responded after that. Hmm, are you sure? The readme in the repo explicitly states that it is a fork of the version written by Philip Stark, and this one is written by Fred Wenzel. Philip Stark decided to look for an alternative and found pypdf, a PDF library written in pure Python. He couldn't find a tool which actually used the library, so he started writing his own. This version of stapler is Fred Wenzel's fork of the project, with a completely refactored source code, tests, and added functionality. > Btw, you will need PyPDF2 for which I have a working rpm (again a personal > copy, no naming issues there) which I can provide to you. > > How do I submit this PyPDF2 to BZ? Just create a bug report as a review request. https://fedoraproject.org/wiki/Package_Review_Process Cheers, -- Suvayu Open source is the future. It sets us free. -- 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