Re: RPM macros - case insensitive since Fedora 27 (maybe Fedora 26)

2017-05-26 Thread Zdenek Dohnal
On 05/25/2017 03:35 PM, José Abílio Matos wrote: > > On Wednesday, 24 May 2017 16.58.10 WEST Zdenek Dohnal wrote: > > > > 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:

Re: RPM macros - case insensitive since Fedora 27 (maybe Fedora 26)

2017-05-26 Thread Zdenek Dohnal
On 05/25/2017 03:20 PM, Jonathan Wakely wrote: > On 25/05/17 09:23 +0200, Zdenek Dohnal wrote: >> Yes, you are right - I should use some prefix for it to clearly >> distinguish these two macros. I originally thought the only one and >> unique macro for Version: tag is only %{version} and

Re: RPM macros - case insensitive since Fedora 27 (maybe Fedora 26)

2017-05-25 Thread José Abílio Matos
On Wednesday, 24 May 2017 16.58.10 WEST Zdenek Dohnal wrote: > > 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

Re: RPM macros - case insensitive since Fedora 27 (maybe Fedora 26)

2017-05-25 Thread Jonathan Wakely
On 25/05/17 09:23 +0200, Zdenek Dohnal wrote: Yes, you are right - I should use some prefix for it to clearly distinguish these two macros. I originally thought the only one and unique macro for Version: tag is only %{version} and %{VERSION} etc. are different (because I thought all macros are

Re: RPM macros - case insensitive since Fedora 27 (maybe Fedora 26)

2017-05-25 Thread Zdenek Dohnal
On 05/24/2017 06:08 PM, Jonathan Wakely wrote: > On 24/05/17 17:58 +0200, Zdenek Dohnal wrote: >> On 05/24/2017 05:49 PM, Jonathan Wakely wrote: >>> 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

Re: RPM macros - case insensitive since Fedora 27 (maybe Fedora 26)

2017-05-24 Thread Marcin Juszkiewicz
W dniu 24.05.2017 o 17:32, Zdenek Dohnal pisze: > 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

Re: RPM macros - case insensitive since Fedora 27 (maybe Fedora 26)

2017-05-24 Thread Jonathan Wakely
On 24/05/17 17:58 +0200, Zdenek Dohnal wrote: On 05/24/2017 05:49 PM, Jonathan Wakely wrote: 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

Re: RPM macros - case insensitive since Fedora 27 (maybe Fedora 26)

2017-05-24 Thread Zdenek Dohnal
On 05/24/2017 05:49 PM, Jonathan Wakely wrote: > 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

Re: RPM macros - case insensitive since Fedora 27 (maybe Fedora 26)

2017-05-24 Thread Jonathan Wakely
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

RPM macros - case insensitive since Fedora 27 (maybe Fedora 26)

2017-05-24 Thread Zdenek Dohnal
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