From fcc230ce11ee55a750c34d207dffda70dc8bbb11 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mar 16 2017 14:31:05 +0000 Subject: D'oh, finally Signed-off-by: Igor Gnatenko --- diff --git a/libsolv.spec b/libsolv.spec index 8367a9b..21fc414 100644 --- a/libsolv.spec +++ b/libsolv.spec @@ -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