Re: Biting the bullet?

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

 



On Tue, May 12, 2015 at 10:19:39PM +0200, Suvayu Ali wrote:
> > 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.

Actually, please keep the upstream tarball name; renaming it shouldn't
be necessary. Also, the guidelines contain a recipe for source from
github: https://fedoraproject.org/wiki/Packaging:SourceURL#Github


What you'll need is to provide the _original_ name to the %setup
macro. In this case, that'd be '%setup -q -n stapler'.


> If I recall correctly, Fedora packaging guidelines says the package name
> should be something like python-stapler.

It kind of depends. That is the case for python _modules_ — packages
intended to be used by other python programs. However, this is a
utility which happens to be written in Python — it doesn't need that
prefix (but you _could_ do that).


There a number of other issues in the spec file currently — I'll
address them separately.

-- 
Matthew Miller
<mattdm@xxxxxxxxxxxxxxxxx>
Fedora Project Leader
-- 
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