Python 2 binary package renamed to python2-openscap

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:39:04 -04:00
parent b888ca51c6
commit 0c897651ea

View File

@ -14,7 +14,7 @@ restorecon -R /usr/bin/oscap /usr/libexec/openscap; \
Name: openscap Name: openscap
Version: 1.2.14 Version: 1.2.14
Release: 7%{?dist} Release: 8%{?dist}
Summary: Set of open source libraries enabling integration of the SCAP line of standards Summary: Set of open source libraries enabling integration of the SCAP line of standards
Group: System Environment/Libraries Group: System Environment/Libraries
License: LGPLv2+ License: LGPLv2+
@ -53,13 +53,17 @@ Requires: pkgconfig
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%package python %package -n python2-openscap
%{?python_provide:%python_provide python2-openscap}
# Remove before F30
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python 2 bindings for %{name} Summary: Python 2 bindings for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
BuildRequires: python-devel BuildRequires: python-devel
%description python %description -n python2-openscap
The %{name}-python package contains the bindings so that %{name} The %{name}-python package contains the bindings so that %{name}
libraries can be used by python. libraries can be used by python.
@ -271,7 +275,7 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/openscap/xsl/* %{_datadir}/openscap/xsl/*
%{_datadir}/openscap/cpe/* %{_datadir}/openscap/cpe/*
%files python %files -n python2-openscap
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{python_sitearch}/* %{python_sitearch}/*
@ -333,6 +337,10 @@ rm -rf $RPM_BUILD_ROOT
%{oscapdocker_pysitelib}/oscap_docker_python/* %{oscapdocker_pysitelib}/oscap_docker_python/*
%changelog %changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.14-8
- Python 2 binary package renamed to python2-openscap
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Fri Aug 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.2.14-7 * Fri Aug 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.2.14-7
- Rebuilt after RPM update (№ 3) - Rebuilt after RPM update (№ 3)