Fix %_isa and add some missing Provides

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 18:25:34 -04:00
parent afd3ea3bea
commit 49b1bc1549

View File

@ -116,7 +116,7 @@ Requires: systemd-units
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-python3 = %{version}-%{release}
Requires: python3-%{name} = %{version}-%{release}
Requires(pre): shadow-utils
Requires: python3-augeas
Requires: python3-dbus
@ -296,6 +296,8 @@ Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Requires: systemd-python
Requires: python2-abrt
# Remove before F30
Provides: abrt-addon-python = %{version}-%{release}
Provides: abrt-addon-python%{?_isa} = %{version}-%{release}
Obsoletes: abrt-addon-python < %{version}-%{release}
@ -309,6 +311,10 @@ Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Requires: python3-systemd
Requires: python3-abrt
# Remove before F30
Provides: abrt-addon-python3 = %{version}-%{release}
Provides: abrt-addon-python3%{?_isa} = %{version}-%{release}
Obsoletes: abrt-addon-python3 < %{version}-%{release}
%description -n python3-abrt-addon
This package contains python 3 hook and python analyzer plugin for handling
@ -465,6 +471,7 @@ Requires: dbus-python
Requires: libreport-python
%{?python_provide:%python_provide python2-abrt}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
BuildRequires: python-nose
@ -483,7 +490,7 @@ BuildRequires: python2-devel
Requires: %{name} = %{version}-%{release}
Requires: python2-abrt = %{version}-%{release}
# Remove before F30
Provides: %{name}-python-doc%{?_isa} = %{version}-%{release}
Provides: %{name}-python-doc = %{version}-%{release}
Obsoletes: %{name}-python-doc < %{version}-%{release}
%description -n python2-abrt-doc
@ -499,6 +506,7 @@ Requires: python3-dbus
Requires: libreport-python3
%{?python_provide:%python_provide python3-abrt}
# Remove before F30
Provides: %{name}-python3 = %{version}-%{release}
Provides: %{name}-python3%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python3 < %{version}-%{release}
BuildRequires: python3-nose
@ -515,9 +523,9 @@ Group: Documentation
BuildArch: noarch
BuildRequires: python3-devel
Requires: %{name} = %{version}-%{release}
Requires: %{name}-python3 = %{version}-%{release}
Requires: python3-%{name} = %{version}-%{release}
# Remove before F30
Provides: %{name}-python3-doc%{?_isa} = %{version}-%{release}
Provides: %{name}-python3-doc = %{version}-%{release}
Obsoletes: %{name}-python3-doc < %{version}-%{release}
%description -n python3-abrt-doc