D'oh, finally

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2017-03-16 15:31:05 +01:00
parent 3c780df3b9
commit fcc230ce11

View File

@ -164,11 +164,7 @@ Python 3 version.
%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
%autosetup -p1 -n %{name}-%{commit}
mkdir build
%build