diff --git librtfcomp/librtfcomp.spec librtfcomp/librtfcomp.spec.tmp index b6f67b3991..de6a991608 100644 --- librtfcomp/librtfcomp.spec +++ librtfcomp/librtfcomp.spec.tmp @@ -1,7 +1,7 @@ %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: librtfcomp Version: 1.1 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Library for reading of compressed RTF files Group: System Environment/Libraries @@ -28,12 +28,16 @@ Requires: python-devel Pyrex The %{name}-devel package contains libraries and header files for developing applications that use %{name}. -%package python +%package -n python2-librtfcomp +%{?python_provide:%python_provide python2-librtfcomp} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for the %{name} library Group: Development/Libraries Requires: %{name} = %{version}-%{release} -%description python +%description -n python2-librtfcomp %{summary} %prep @@ -73,11 +77,15 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/* %{_libdir}/*.so -%files python +%files -n python2-librtfcomp %defattr(-,root,root,-) %{python_sitearch}/pyrtfcomp.so %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.1-21 +- Python 2 binary package renamed to python2-librtfcomp + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild