On 24/05/17 17:32 +0200, Zdenek Dohnal wrote:
Hi, I was doing rebase for gutenprint pre-release in recent rawhide (fc27) and I couldn't build it because I had %VERSION macro defined by myself and it got rewritten by default macro %version. That indicates rpm macros have been case insensitive since fc27 (colleague told me the same situation is in fc26 too, but I encountered it in fc27).
Isn't this because "Version" is the name of a tag? Just like Name and Release. And Tag names are not case-sensitive, so you could write this in your spec file: VERSION: 12.34 Reusing those for your own macros seems like a very bad idea and bound to lead to confusion. Does %version refer to the VERSION tag? Or does %VERSION refer to that? _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx