From 53d6d3045e22d04af534167656b24d970435eeb5 Mon Sep 17 00:00:00 2001 From: Carl George Date: Mar 25 2021 20:26:59 +0000 Subject: Add missing el7 requirements --- diff --git a/centpkg.spec b/centpkg.spec index ad7882e..5ab24f5 100644 --- a/centpkg.spec +++ b/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 - 0.5.1-2 +- Add missing el7 requirements + * Thu Mar 25 2021 Carl George - 0.5.1-1 - Latest version