[Mageia-dev] Another problem with new rpm

2012-12-26 Thread Pascal Terjan
It seems you can no longer use a variable not coming from a tag as a parameter of %setup The following spec leads to error: line 88: Bad %setup option -n: missing argument %define pre rc5 %define rel 5 %if %pre %define release %mkrel 0.%{pre}.%{rel} %define distname

Re: [Mageia-dev] Another problem with new rpm

2012-12-26 Thread Pascal Terjan
On Wed, Dec 26, 2012 at 2:13 PM, Pascal Terjan pter...@gmail.com wrote: It seems you can no longer use a variable not coming from a tag as a parameter of %setup The following spec leads to error: line 88: Bad %setup option -n: missing argument %define pre rc5 %define rel 5 %if

Re: [Mageia-dev] Another problem with new rpm

2012-12-26 Thread Pascal Terjan
On Wed, Dec 26, 2012 at 3:11 PM, Pascal Terjan pter...@gmail.com wrote: And the really annoying ones are: %setup -q -n %{oname}-%{version} I would hate to have to expand the variable Oops this one is still working (I don't know why), the package had another problem :) So it would seem only the

Re: [Mageia-dev] Another problem with new rpm

2012-12-26 Thread Jani Välimaa
On Wed, 26 Dec 2012 14:13:44 + Pascal Terjan pter...@gmail.com wrote: It seems you can no longer use a variable not coming from a tag as a parameter of %setup The following spec leads to error: line 88: Bad %setup option -n: missing argument %define pre rc5 %define rel 5

Re: [Mageia-dev] Another problem with new rpm

2012-12-26 Thread Pascal Terjan
On Wed, Dec 26, 2012 at 5:46 PM, Jani Välimaa jani.vali...@gmail.com wrote: On Wed, 26 Dec 2012 14:13:44 + Pascal Terjan pter...@gmail.com wrote: It seems you can no longer use a variable not coming from a tag as a parameter of %setup The following spec leads to error: line 88: Bad

Re: [Mageia-dev] Another problem with new rpm

2012-12-26 Thread Pascal Terjan
On Wed, Dec 26, 2012 at 6:47 PM, Pascal Terjan pter...@gmail.com wrote: On Wed, Dec 26, 2012 at 5:46 PM, Jani Välimaa jani.vali...@gmail.com wrote: On Wed, 26 Dec 2012 14:13:44 + Pascal Terjan pter...@gmail.com wrote: It seems you can no longer use a variable not coming from a tag as a

Re: [Mageia-dev] Another problem with new rpm

2012-12-26 Thread Jani Välimaa
On Wed, 26 Dec 2012 18:50:52 + Pascal Terjan pter...@gmail.com wrote: On Wed, Dec 26, 2012 at 6:47 PM, Pascal Terjan pter...@gmail.com wrote: On Wed, Dec 26, 2012 at 5:46 PM, Jani Välimaa jani.vali...@gmail.com wrote: On Wed, 26 Dec 2012 14:13:44 + Pascal Terjan

Re: [Mageia-dev] Another problem with new rpm

2012-12-26 Thread Pascal Terjan
On Wed, Dec 26, 2012 at 7:00 PM, Jani Välimaa jani.vali...@gmail.com wrote: On Wed, 26 Dec 2012 18:50:52 + Pascal Terjan pter...@gmail.com wrote: On Wed, Dec 26, 2012 at 6:47 PM, Pascal Terjan pter...@gmail.com wrote: On Wed, Dec 26, 2012 at 5:46 PM, Jani Välimaa