From 36d7e1cbca1a78c2f04ffb4fabc4bf16b3ecb455 Mon Sep 17 00:00:00 2001 From: Martin Kutlak Date: Wed, 6 Sep 2017 11:56:48 +0200 Subject: [PATCH] Python 3 binary package renamed to python3-satyr Signed-off-by: Martin Kutlak --- satyr.spec | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/satyr.spec b/satyr.spec index c001fda..3451c4d 100644 --- a/satyr.spec +++ b/satyr.spec @@ -26,7 +26,7 @@ Name: satyr Version: 0.23 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Tools to create anonymous, machine-friendly problem reports Group: System Environment/Libraries License: GPLv2+ @@ -80,12 +80,17 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Python bindings for %{name}. %if 0%{?with_python3} -%package python3 +%package -n python3-satyr +%{?python_provide:%python_provide python3-satyr} +# Remove before F30 +Provides: %{name}-python3 = %{version}-%{release} +Provides: %{name}-python3%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python3 < %{version}-%{release} Summary: Python 3 bindings for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} -%description python3 +%description -n python3-satyr Python 3 bindings for %{name}. %endif # if with_python3 @@ -141,12 +146,16 @@ make check || { %endif %if 0%{?with_python3} -%files python3 +%files -n python3-satyr %dir %{python3_sitearch}/%{name} %{python3_sitearch}/%{name}/* %endif %changelog +* Wed Sep 6 2017 Martin Kutlak - 0.23-9 +- Python 3 binary package renamed to python3-satyr + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek - 0.23-8 - Add Provides for the old name without %%_isa