Heads-up: %define vs %global in specs

Tom "spot" Callaway tcallawa at redhat.com
Tue Jan 5 17:17:09 UTC 2010


On 01/05/2010 11:50 AM, Daniel P. Berrange wrote:
> What exactly do you mean 'no longer work' ? Can we expect to get a formal
> RPM build error for this bogus construct, or will it silently build and
> do the wrong thing ? From your long description, it sounds like the latter,
> which means maintainers should audit their spec files to identify these 
> bogus macros

The easy way to be sure you're not hitting this is to not use %define.
Sed will fix your packages up quickly. ;)

~spot




More information about the devel mailing list