From af3796900136983563c7e23e015496d5e7b9aa1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:38:54 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-libxml2 --- libxml2.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/libxml2.spec b/libxml2.spec index 065b9c9..ba50ee4 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -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 19 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