remove SCM leftovers

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-11-28 13:09:06 +01:00
parent dcf39ef8d3
commit 7f087029b7
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

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