diff --git libieee1284/libieee1284.spec libieee1284/libieee1284.spec.tmp index 38004d369d..252b83428d 100644 --- libieee1284/libieee1284.spec +++ libieee1284/libieee1284.spec.tmp @@ -1,7 +1,7 @@ Summary: A library for interfacing IEEE 1284-compatible devices Name: libieee1284 Version: 0.2.11 -Release: 23%{?dist} +Release: 24%{?dist} License: GPLv2+ Group: System Environment/Libraries URL: http://cyberelk.net/tim/libieee1284/ @@ -23,12 +23,16 @@ Group: Development/Libraries The header files, static library, libtool library and man pages for developing applications that use libieee1284. -%package python +%package -n python2-libieee1284 +%{?python_provide:%python_provide python2-libieee1284} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python extension module for libieee1284 Requires: %{name} = %{version}-%{release} Group: System Environment/Libraries -%description python +%description -n python2-libieee1284 Python extension module for libieee1284. To use libieee1284 with Python, use 'import ieee1284'. @@ -67,7 +71,7 @@ rm -rf %{buildroot} %{_libdir}/*.so %{_mandir}/*/* -%files python +%files -n python2-libieee1284 %defattr(-,root,root) %{_libdir}/python*/*/*.so @@ -76,6 +80,10 @@ rm -rf %{buildroot} %postun -p /sbin/ldconfig %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.2.11-24 +- Python 2 binary package renamed to python2-libieee1284 + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.2.11-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild