Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-01-12 13:33:01 +01:00
parent 22e84140ea
commit 71bc898b54

View File

@ -14,7 +14,7 @@ restorecon -R /usr/bin/oscap /usr/libexec/openscap; \
Name: openscap
Version: 1.2.16
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Set of open source libraries enabling integration of the SCAP line of standards
Group: System Environment/Libraries
License: LGPLv2+
@ -62,7 +62,7 @@ Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python 2 bindings for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
BuildRequires: python-devel
BuildRequires: python2-devel
%description -n python2-openscap
The %{name}-python package contains the bindings so that %{name}
@ -340,6 +340,10 @@ rm -rf $RPM_BUILD_ROOT
%{oscapdocker_pysitelib}/oscap_docker_python/*
%changelog
* Fri Jan 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.16-2
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Tue Nov 14 2017 jcerny@redhat.com - 1.2.16-1
- upgrade to the latest upstream release