diff --git a/satyr.spec b/satyr.spec index 666e548..01e787e 100644 --- a/satyr.spec +++ b/satyr.spec @@ -26,7 +26,7 @@ Name: satyr Version: 0.23 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Tools to create anonymous, machine-friendly problem reports Group: System Environment/Libraries License: GPLv2+ @@ -66,12 +66,16 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development libraries and headers for %{name}. -%package python +%package -n python2-satyr +%{?python_provide:%python_provide python2-satyr} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} -%description python +%description -n python2-satyr Python bindings for %{name}. %if 0%{?with_python3} @@ -127,7 +131,7 @@ make check || { %{_libdir}/libsatyr.so %{_libdir}/pkgconfig/satyr.pc -%files python +%files -n python2-satyr %dir %{python_sitearch}/%{name} %{python_sitearch}/%{name}/* @@ -142,6 +146,10 @@ make check || { %endif %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.23-7 +- Python 2 binary package renamed to python2-satyr + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Fri Aug 11 2017 Igor Gnatenko - 0.23-6 - Rebuilt after RPM update (№ 3)