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
Version: 0.1.16
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Comps XML file manipulation library
License: GPLv2+
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: cmake
@ -59,7 +59,7 @@ Obsoletes: platform-python-%{name} < %{version}-%{release}
Python3 bindings for libcomps library.
%prep
%autosetup -p1 -n %{name}-%{name}-%{version}
%autosetup -p1 -n %{name}-%{version}
mkdir build-py3
mkdir build-doc