Fix expected source archive version

Related: rhbz#1951431
This commit is contained in:
Pavla Kratochvilova 2021-04-28 11:53:48 +02:00
parent 9b766a9a39
commit 5ac77b664f

View File

@ -2,12 +2,12 @@
Name: libcomps Name: libcomps
Version: 0.1.16 Version: 0.1.16
Release: 1%{?dist} Release: 2%{?dist}
Summary: Comps XML file manipulation library Summary: Comps XML file manipulation library
License: GPLv2+ License: GPLv2+
URL: https://github.com/rpm-software-management/libcomps URL: https://github.com/rpm-software-management/libcomps
Source0: %{url}/archive/%{name}-%{version}/%{name}-%{version}.tar.gz Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: cmake BuildRequires: cmake
@ -59,7 +59,7 @@ Obsoletes: platform-python-%{name} < %{version}-%{release}
Python3 bindings for libcomps library. Python3 bindings for libcomps library.
%prep %prep
%autosetup -p1 -n %{name}-%{name}-%{version} %autosetup -p1 -n %{name}-%{version}
mkdir build-py3 mkdir build-py3
mkdir build-doc mkdir build-doc