diff --git a/libsolv.spec b/libsolv.spec index 67e0cfe..5452ac3 100644 --- a/libsolv.spec +++ b/libsolv.spec @@ -38,22 +38,14 @@ %bcond_without zchunk %endif -#global commitnum 2901 -#global commit 47fbaa2a0892866d30ec0e1b4c885532d0aca7b8 -#global shortcommit %(c=%{commit}; echo ${c:0:7}) - Name: lib%{libname} Version: 0.7.1 -Release: 1%{?commit:.git.%{commitnum}.%{?shortcommit}}%{?dist} +Release: 1%{?dist} Summary: Package dependency solver License: BSD URL: https://github.com/openSUSE/libsolv -%if %{defined commit} -Source: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz -%else Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz -%endif BuildRequires: cmake BuildRequires: gcc-c++ @@ -162,7 +154,7 @@ Python 3 version. %endif %prep -%autosetup -p1 %{?commit:-n %{name}-%{commit}} +%autosetup -p1 %build %cmake . -B"%{_vpath_builddir}" -GNinja \