diff --git libxml2/libxml2.spec libxml2/libxml2.spec.tmp index 065b9c943e..006d2df195 100644 --- libxml2/libxml2.spec +++ libxml2/libxml2.spec.tmp @@ -3,7 +3,7 @@ Summary: Library providing XML and HTML support Name: libxml2 Version: 2.9.4 -Release: 4%{?dist}%{?extra_release} +Release: 5%{?dist}%{?extra_release} License: MIT Group: Development/Libraries Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz @@ -62,14 +62,15 @@ Requires: libxml2 = %{version}-%{release} Static library for libxml2 provided for specific uses or shaving a few microseconds when parsing, do not link to them for generic purpose packages. -%package -n python-%{name} +%package -n python2-%{name} +%{?python_provide:%python_provide python2-%{name}} Summary: Python bindings for the libxml2 library Group: Development/Libraries Requires: libxml2 = %{version}-%{release} Obsoletes: %{name}-python < %{version}-%{release} Provides: %{name}-python = %{version}-%{release} -%description -n python-%{name} +%description -n python2-%{name} The libxml2-python package contains a Python 2 module that permits applications written in the Python programming language, version 2, to use the interface supplied by the libxml2 library to manipulate XML files. @@ -190,7 +191,7 @@ rm -fr %{buildroot} %{_libdir}/*a -%files -n python-%{name} +%files -n python2-%{name} %defattr(-, root, root) %{_libdir}/python2*/site-packages/libxml2.py* @@ -217,6 +218,10 @@ rm -fr %{buildroot} %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 2.9.4-5 +- Python 2 binary package renamed to python2-libxml2 + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 2.9.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild