Python 2 binary package renamed to python2-satyr

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:44:09 -04:00
parent 31e4dd8f6f
commit ea759a7fb6

View File

@ -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 <zbyszek@in.waw.pl> - 0.23-7
- Python 2 binary package renamed to python2-satyr
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Fri Aug 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.23-6
- Rebuilt after RPM update (№ 3)