[LIBREPORT PATCH 2/2] SPEC: only pull RHTSupport by default on RHEL6
Michal Toman
mtoman at redhat.com
Fri Jul 26 13:06:58 UTC 2013
references RHBZ#917778
Signed-off-by: Michal Toman <mtoman at redhat.com>
---
libreport.spec.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libreport.spec.in b/libreport.spec.in
index e638ad4..27644c5 100644
--- a/libreport.spec.in
+++ b/libreport.spec.in
@@ -98,7 +98,8 @@ Requires: libreport = %{version}-%{release}
Provides: report = 0:0.23-1
Obsoletes: report < 0:0.23-1
# in report the rhtsupport is in the main package, so we need to install it too
-%if 0%{?rhel} >= 6
+# report is only in RHEL6, we do not need to carry the dependency to newer RHELs
+%if 0%{?rhel} == 6
Requires: libreport-plugin-rhtsupport = %{version}-%{release}
%endif
--
1.8.3.1
More information about the Crash-catcher
mailing list