Managing spec files
Steve Traylen
steve.traylen at cern.ch
Mon Mar 8 16:59:11 UTC 2010
On Mon, Mar 8, 2010 at 5:50 PM, Matt Ford <matt.ford at manchester.ac.uk> wrote:
> Hi All,
>
> I am looking at building a fedora package. I have been over guidelines
> and taken a look at the build system. What I am not clear on is how I
> maintain spec files for different distributions i.e., F12, F11, F10, or
> even EPEL.
Initially to have a package added in principal it only has to work on
rawhide for release with the next release.
>
> Do I have to branch and maintain each spec file separately or is there a
> better way? Are there any tools that abstract the commonality? Do
> people try to write spec files that work on any distro with conditionals?
>
It is true that the separate .spec files are maintained separately. What many
people try and do is maintain them as identical, at least at the start.
Have a look at:
http://fedoraproject.org/wiki/Packaging/DistTag#Conditionals
of course with time with different update policies it will happen that say EPEL
and rawhide .specs diverge.
> Thanks for any wise words,
>
> Matt.
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
>
--
Steve Traylen
More information about the devel
mailing list