Python 3 binary package renamed to python3-satyr

Signed-off-by: Martin Kutlak <mkutlak@redhat.com>
This commit is contained in:
Martin Kutlak 2017-09-06 11:56:48 +02:00
parent 939cf06bfb
commit 36d7e1cbca

View File

@ -26,7 +26,7 @@
Name: satyr Name: satyr
Version: 0.23 Version: 0.23
Release: 8%{?dist} Release: 9%{?dist}
Summary: Tools to create anonymous, machine-friendly problem reports Summary: Tools to create anonymous, machine-friendly problem reports
Group: System Environment/Libraries Group: System Environment/Libraries
License: GPLv2+ License: GPLv2+
@ -80,12 +80,17 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Python bindings for %{name}. Python bindings for %{name}.
%if 0%{?with_python3} %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} Summary: Python 3 bindings for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description python3 %description -n python3-satyr
Python 3 bindings for %{name}. Python 3 bindings for %{name}.
%endif # if with_python3 %endif # if with_python3
@ -141,12 +146,16 @@ make check || {
%endif %endif
%if 0%{?with_python3} %if 0%{?with_python3}
%files python3 %files -n python3-satyr
%dir %{python3_sitearch}/%{name} %dir %{python3_sitearch}/%{name}
%{python3_sitearch}/%{name}/* %{python3_sitearch}/%{name}/*
%endif %endif
%changelog %changelog
* Wed Sep 6 2017 Martin Kutlak <mkutlak@redhat.com> - 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 <zbyszek@in.waw.pl> - 0.23-8 * Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.23-8
- Add Provides for the old name without %%_isa - Add Provides for the old name without %%_isa