Cleanup no longer needed Python 2 dependencies
fence-agents is Python 3 only, but pulls some Python2 build-time requirements which are not needed. fence-agents-compute should also depend on python3-requests rather than python-requests.
This commit is contained in:
parent
38837de645
commit
9bded7cb35
@ -16,7 +16,7 @@
|
||||
Name: fence-agents
|
||||
Summary: Fence Agents for Red Hat Cluster
|
||||
Version: 4.0.24
|
||||
Release: 13%{?alphatag:.%{alphatag}}%{?dist}
|
||||
Release: 14%{?alphatag:.%{alphatag}}%{?dist}
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Group: System Environment/Base
|
||||
URL: http://sourceware.org/cluster/wiki/
|
||||
@ -38,7 +38,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: gnutls-utils
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: python3-pexpect python3-pycurl python3-suds python3-requests openwsman-python3 python-pexpect python-pycurl
|
||||
BuildRequires: python3-pexpect python3-pycurl python3-suds python3-requests openwsman-python3
|
||||
BuildRequires: autoconf automake libtool
|
||||
|
||||
%prep
|
||||
@ -229,7 +229,7 @@ The fence-agents-cisco-ucs package contains a fence agent for Cisco UCS series d
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Group: System Environment/Base
|
||||
Summary: Fence agent for Nova compute nodes
|
||||
Requires: python-requests
|
||||
Requires: python3-requests
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
%description compute
|
||||
The fence-agents-compute package contains a fence agent for Nova compute nodes.
|
||||
@ -781,6 +781,9 @@ The fence-agents-zvm package contains a fence agent for IBM z/VM over IP.
|
||||
%{_mandir}/man8/fence_zvmip.8*
|
||||
|
||||
%changelog
|
||||
* Thu Jan 11 2018 Iryna Shcherbina <ishcherb@redhat.com> - 4.0.24-14
|
||||
- Cleanup no longer needed Python 2 dependencies
|
||||
|
||||
* Tue Nov 07 2017 Troy Dawson <tdawson@redhat.com> - 4.0.24-13
|
||||
- Cleanup spec file conditionals
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user