Python 3 binary package renamed to python3-libreport
This commit is contained in:
parent
85752376cb
commit
292f303070
@ -6,7 +6,7 @@
|
|||||||
Summary: Generic library for reporting various problems
|
Summary: Generic library for reporting various problems
|
||||||
Name: libreport
|
Name: libreport
|
||||||
Version: 2.9.1
|
Version: 2.9.1
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://abrt.readthedocs.org/
|
URL: https://abrt.readthedocs.org/
|
||||||
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
@ -92,10 +92,6 @@ Requires: libreport-web = %{version}-%{release}
|
|||||||
Development headers for libreport-web
|
Development headers for libreport-web
|
||||||
|
|
||||||
%package -n python2-libreport
|
%package -n python2-libreport
|
||||||
%{?python_provide:%python_provide python2-libreport}
|
|
||||||
# Remove before F30
|
|
||||||
Provides: %{name}-python%{?_isa} = %{version}-%{release}
|
|
||||||
Obsoletes: %{name}-python < %{version}-%{release}
|
|
||||||
Summary: Python bindings for report-libs
|
Summary: Python bindings for report-libs
|
||||||
# Is group correct here? -
|
# Is group correct here? -
|
||||||
Requires: libreport = %{version}-%{release}
|
Requires: libreport = %{version}-%{release}
|
||||||
@ -107,11 +103,16 @@ Obsoletes: report < 0:0.23-1
|
|||||||
%if 0%{?rhel} == 6
|
%if 0%{?rhel} == 6
|
||||||
Requires: libreport-plugin-rhtsupport = %{version}-%{release}
|
Requires: libreport-plugin-rhtsupport = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
|
%{?python_provide:%python_provide python2-libreport}
|
||||||
|
# Remove before F30
|
||||||
|
Provides: %{name}-python = %{version}-%{release}
|
||||||
|
Provides: %{name}-python%{?_isa} = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-python < %{version}-%{release}
|
||||||
|
|
||||||
%description -n python2-libreport
|
%description -n python2-libreport
|
||||||
Python bindings for report-libs.
|
Python bindings for report-libs.
|
||||||
|
|
||||||
%package python3
|
%package -n python3-libreport
|
||||||
Summary: Python 3 bindings for report-libs
|
Summary: Python 3 bindings for report-libs
|
||||||
%if 0%{?_module_build}
|
%if 0%{?_module_build}
|
||||||
# This is required for F26 Boltron (the modular release)
|
# This is required for F26 Boltron (the modular release)
|
||||||
@ -125,8 +126,13 @@ Requires: libreport >= %{version}-%{distfreerelease}
|
|||||||
Requires: libreport = %{version}-%{release}
|
Requires: libreport = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
Requires: dnf
|
Requires: dnf
|
||||||
|
%{?python_provide:%python_provide python3-libreport}
|
||||||
|
# Remove before F30
|
||||||
|
Provides: %{name}-python3 = %{version}-%{release}
|
||||||
|
Provides: %{name}-python3%{?_isa} = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-python3 < %{version}-%{release}
|
||||||
|
|
||||||
%description python3
|
%description -n python3-libreport
|
||||||
Python 3 bindings for report-libs.
|
Python 3 bindings for report-libs.
|
||||||
|
|
||||||
%package cli
|
%package cli
|
||||||
@ -512,7 +518,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
%{python_sitearch}/report/*
|
%{python_sitearch}/report/*
|
||||||
%{python_sitearch}/reportclient/*
|
%{python_sitearch}/reportclient/*
|
||||||
|
|
||||||
%files python3
|
%files -n python3-libreport
|
||||||
%{python3_sitearch}/report/*
|
%{python3_sitearch}/report/*
|
||||||
%{python3_sitearch}/reportclient/*
|
%{python3_sitearch}/reportclient/*
|
||||||
|
|
||||||
@ -737,6 +743,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.9.1-6
|
||||||
|
- Python 3 binary package renamed to python3-libreport
|
||||||
|
- Missing Provides wihtout %%_isa added in python 2 binary package
|
||||||
|
|
||||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.9.1-5
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.9.1-5
|
||||||
- Python 2 binary package renamed to python2-libreport
|
- Python 2 binary package renamed to python2-libreport
|
||||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||||
|
Loading…
Reference in New Issue
Block a user