mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 08:12:55 +00:00
Add missing el7 requirements
This commit is contained in:
parent
df80835229
commit
53d6d3045e
1 changed files with 10 additions and 2 deletions
12
centpkg.spec
12
centpkg.spec
|
@ -10,16 +10,21 @@
|
|||
|
||||
Name: centpkg
|
||||
Version: 0.5.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: CentOS utility for working with dist-git
|
||||
License: GPLv2+
|
||||
URL: https://git.centos.org/centos/centpkg
|
||||
Source0: https://git.centos.org/centos/centpkg/archive/%{version}/centpkg-%{version}.tar.gz
|
||||
Source0: %{url}/archive/%{version}/centpkg-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
%if %{defined el7}
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
# The equivalent dependencies are added automatically everywhere except el7.
|
||||
Requires: python-pycurl
|
||||
Requires: pyOpenSSL
|
||||
Requires: python-rpkg
|
||||
Requires: python-six
|
||||
%else
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
|
@ -68,6 +73,9 @@ install -D -p -m 0644 src/centpkg-sig.conf %{buildroot}%{_sysconfdir}/rpkg/centp
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Mar 25 2021 Carl George <carl@george.computer> - 0.5.1-2
|
||||
- Add missing el7 requirements
|
||||
|
||||
* Thu Mar 25 2021 Carl George <carl@george.computer> - 0.5.1-1
|
||||
- Latest version
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue