diff --git libxslt/libxslt.spec libxslt/libxslt.spec.tmp index 8e2699abf9..faa9402241 100644 --- libxslt/libxslt.spec +++ libxslt/libxslt.spec.tmp @@ -3,7 +3,7 @@ Summary: Library providing the Gnome XSLT engine Name: libxslt Version: 1.1.29 -Release: 4%{?dist}%{?extra_release} +Release: 5%{?dist}%{?extra_release} License: MIT Group: Development/Libraries Source: ftp://xmlsoft.org/XSLT/libxslt-%{version}.tar.gz @@ -35,13 +35,17 @@ Requires: libgcrypt-devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. -%package python +%package -n python2-libxslt +%{?python_provide:%python_provide python2-libxslt} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for the libxslt library Group: Development/Libraries Requires: libxslt = %{version}-%{release} Requires: libxml2-python -%description python +%description -n python2-libxslt The libxslt-python package contains a module that permits applications written in the Python programming language to use the interface supplied by the libxslt library to apply XSLT transformations. @@ -114,7 +118,7 @@ make tests %{_libdir}/pkgconfig/libxslt.pc %{_libdir}/pkgconfig/libexslt.pc -%files python +%files -n python2-libxslt %defattr(-, root, root,-) %{python_sitearch}/libxslt.py* %{python_sitearch}/libxsltmod* @@ -124,6 +128,10 @@ make tests %doc python/tests/*.xsl %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.1.29-5 +- Python 2 binary package renamed to python2-libxslt + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.1.29-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild