[Fedora-packaging] Re: ExtraDistTagConditionalMacros

Axel Thimm Axel.Thimm at ATrpms.net
Fri Mar 23 17:51:53 UTC 2007

On Fri, Mar 23, 2007 at 12:10:05PM -0500, Tom spot Callaway wrote:
> I have added a draft for Extra DistTag Conditional Macros. Dag Wieers
> pointed out on the epel-devel mailing list that there were some useful
> macros that we could add to the existing helper macros to ease
> conditionals in spec files.
> http://fedoraproject.org/wiki/PackagingDrafts/ExtraDistTagConditionalMacros
> Comments are always welcomed.

Having the macros is OK, but we should discourage lazy-riding on them,
as it tends to assume an API/ABI stability, that doesn't exist (at
least not on Fedora in that extend).

For example F7 has foo-1 and therefore the packager of bar thinks it
would be easier to query the fc7 or f7 macro than to check for foo's
version. On the next update of foo to foo-2 package bar and it's
specfile break.

E.g. add something like: "Try to avoid explict conditionals on the
distribution and prefer testing for features instead"
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20070323/fcf190d1/attachment.sig>

More information about the Fedora-packaging mailing list