[Mageia-dev] Another problem with new rpm

Pascal Terjan pterjan at gmail.com
Wed Dec 26 15:13:44 CET 2012

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        %{name}-%{version}-%{pre}.tar.bz2
%define dirname         %{name}-%{version}~%{pre}
%define release         %mkrel %{rel}
%define distname        %{name}-%{version}.tar.bz2
%define dirname         %{name}-%{version}


%setup -q -n %{dirname}

So far 8 packages are affected

More information about the Mageia-dev mailing list