Python 2 binary package renamed to python2-libxslt

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:38:54 -04:00
parent 7762b6b7e8
commit f267843901

View File

@ -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 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 1.1.29-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild