On Tue, 2007-04-24 at 21:46 +0200, Axel Thimm wrote:
We unanimously agreed to this, and we decided to take this even
further to generally discourage use of %define in favour of %global. I
created a proposal for the guidelines at
http://fedoraproject.org/wiki/PackagingDrafts/global_preferred_over_define
It also contains the Packaging/* pages that need editing, which I
eye-ball-checked that they only contain trivial %defines.
Can rpmlint detect a %define that should be a %global ? (or could it be
extended to perform such a test?)
It would be nice to be able to automatically detect such possibly
problematic cases.