diff --git openscap/openscap.spec openscap/openscap.spec.tmp index d6f9ec140f..27693258d9 100644 --- openscap/openscap.spec +++ openscap/openscap.spec.tmp @@ -14,7 +14,7 @@ restorecon -R /usr/bin/oscap /usr/libexec/openscap; \ Name: openscap Version: 1.2.14 -Release: 4%{?dist} +Release: 5%{?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 12 2017 Zbigniew Jędrzejewski-Szmek - 1.2.14-5 +- Python 2 binary package renamed to python2-openscap + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.2.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild