Re: ExtraDistTagConditionalMacros

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

 



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

Attachment: pgpkVgv5UCZKV.pgp
Description: PGP signature

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux