From 79ba62f5fa3bd30f479ee350312670e237244616 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Mar 20 2015 15:30:09 +0000 Subject: fix requries for rhel and centos --- diff --git a/SPECS/abrt.spec b/SPECS/abrt.spec index 2e9e596..f8a0edf 100644 --- a/SPECS/abrt.spec +++ b/SPECS/abrt.spec @@ -33,7 +33,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.1.11 -Release: 19%{?dist}.0.1 +Release: 19%{?dist}.0.2 License: GPLv2+ Group: Applications/System URL: https://fedorahosted.org/abrt/ @@ -352,8 +352,13 @@ Requires: abrt-addon-ccpp Requires: abrt-addon-python Requires: abrt-addon-xorg %if 0%{?rhel} +%if 0%{?%centos_ver} Requires: libreport-centos >= %{libreport_ver} +Requires: libreport-plugin-mantisbt >= %{libreport_ver} +%else +Requires: libreport-rhel >= %{libreport_ver} Requires: libreport-plugin-rhtsupport >= %{libreport_ver} +%endif %else Requires: abrt-retrace-client Requires: libreport-plugin-bugzilla >= %{libreport_ver} @@ -386,8 +391,13 @@ Requires: elfutils Requires: abrt-gui Requires: gnome-abrt %if 0%{?rhel} +%if 0%{?%centos_ver} Requires: libreport-centos >= %{libreport_ver} +Requires: libreport-plugin-mantisbt >= %{libreport_ver} +%else +Requires: libreport-rhel >= %{libreport_ver} Requires: libreport-plugin-rhtsupport >= %{libreport_ver} +%endif %else Requires: abrt-retrace-client Requires: libreport-plugin-bugzilla >= %{libreport_ver}