From 0c897651ea1c5937dfa0272f4828489c55f4e679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:39:04 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-openscap --- openscap.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/openscap.spec b/openscap.spec index 88cec5b..d80ecba 100644 --- a/openscap.spec +++ b/openscap.spec @@ -14,7 +14,7 @@ restorecon -R /usr/bin/oscap /usr/libexec/openscap; \ Name: openscap Version: 1.2.14 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Set of open source libraries enabling integration of the SCAP line of standards Group: System Environment/Libraries License: LGPLv2+ @@ -53,13 +53,17 @@ Requires: pkgconfig The %{name}-devel package contains libraries and header files for 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} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: python-devel -%description python +%description -n python2-openscap The %{name}-python package contains the bindings so that %{name} libraries can be used by python. @@ -271,7 +275,7 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/openscap/xsl/* %{_datadir}/openscap/cpe/* -%files python +%files -n python2-openscap %defattr(-,root,root,-) %{python_sitearch}/* @@ -333,6 +337,10 @@ rm -rf $RPM_BUILD_ROOT %{oscapdocker_pysitelib}/oscap_docker_python/* %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 1.2.14-8 +- Python 2 binary package renamed to python2-openscap + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Fri Aug 11 2017 Igor Gnatenko - 1.2.14-7 - Rebuilt after RPM update (№ 3)