From ea759a7fb60f29b3681bfc2e8aa93d3c82ab7335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:44:09 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-satyr --- satyr.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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)