make it build on RPM less than 4.14
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
86491cb54f
commit
3c780df3b9
@ -163,7 +163,12 @@ Python 3 version.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
# XXX: switch to %{?commit:-n %{name}-%{commit}} in RPM 4.14
|
||||
%if %{undefined commit}
|
||||
%autosetup -p1
|
||||
%else
|
||||
%autosetup -p1 %{?commit:-n %{name}-%{commit}}
|
||||
%endif
|
||||
mkdir build
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user