Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-02-21 01:27:05 +01:00
parent 9e24175b0e
commit 0212b6ad2c

View File

@ -128,7 +128,7 @@
Name: pacemaker
Summary: Scalable High-Availability cluster resource manager
Version: %{pcmkversion}
Release: %{pcmk_release}%{?dist}.1
Release: %{pcmk_release}%{?dist}.2
License: GPLv2+ and LGPLv2+
Url: http://www.clusterlabs.org
Group: System Environment/Daemons
@ -152,8 +152,8 @@ Provides: pcmk-cluster-manager
%endif
# Pacemaker targets compatibility with python 2.6+ and 3.2+
Requires: python >= 2.6
BuildRequires: python-devel >= 2.6
Requires: python2 >= 2.6
BuildRequires: python2-devel >= 2.6
# Pacemaker requires a minimum libqb functionality
Requires: libqb >= 0.13.0
@ -290,7 +290,7 @@ for developing tools for Pacemaker.
License: GPLv2+ and LGPLv2+
Summary: Test framework for cluster-related technologies like Pacemaker
Group: System Environment/Daemons
Requires: python >= 2.6
Requires: python2 >= 2.6
Requires: %{name}-libs = %{version}-%{release}
# systemd python bindings are separate package in some distros
@ -300,7 +300,7 @@ Requires: %{name}-libs = %{version}-%{release}
Requires: python2-systemd
%else
%if 0%{?fedora} > 20 || 0%{?rhel} > 6
Requires: systemd-python
Requires: python2-systemd
%endif
%endif
@ -695,6 +695,10 @@ exit 0
%license %{nagios_name}-%{nagios_hash}/COPYING
%changelog
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.1.18-2.2
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.18-2.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild