[Bug 165265] Review Request: libnjb

Ralf Corsepius rc040203 at freenet.de
Mon Aug 8 15:19:10 UTC 2005


On Sun, 2005-08-07 at 14:46 -0400, bugzilla at redhat.com wrote:

> ------- Additional Comments From triad at df.lth.se  2005-08-07 14:46 EST -------
> Thanks Ralf, your comments are much welcomed and your advice much
> needed.
> 
> The Packager:-tag is only used conditionally if built for something
> else than Fedora. (One of the two questionable conditionals.) rpmlint
> obviously does not honour conditionals.
> 
> Regarding the conditionals: these have been introduced in accordance
> with the dist-tag guidelines at http://www.fedoraproject.org/wiki/DistTag
> in order to use the same .spec file for Mandrake, PLD and possibly SuSE.
Sorry, but any such attempt is extremely complicated or error-prone rsp.
only works in primitive cases, to say the least.

E.g. %configure is not supported by SuSE, SuSE uses their meta-tags
(#neededforbuild etc.), packages are named differently on different
distros and might have different deps on different distros, etc.

In practice. "portable rpm.specs" are very hard to write and hardly
work.

> If it is the view of the Fedora Extras project that conditionals may not
> be used to prepare generic .spec files, 
I don't know what's the official position of FE on this.

My personaly position is not to approve packages with such macros,
because they are too error prone.

Ralf






More information about the fedora-extras-list mailing list