From 5259e5da83b0bd4cbf807f0e39fe0a9d880223a8 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Fri, 15 May 2015 12:38:02 +0200 Subject: [PATCH] RHEL 5 does not support noarch subpackages --- bacula.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bacula.spec b/bacula.spec index 7d724fc..e30b425 100644 --- a/bacula.spec +++ b/bacula.spec @@ -171,7 +171,10 @@ This package contains the director files. %package logwatch Summary: Bacula Director logwatch scripts Group: System Environment/Daemons +# RHEL 5 does not support noarch subpackages +%if 0%{?fedora} || 0%{?rhel} >= 6 BuildArch: noarch +%endif Requires: bacula-director = %{version}-%{release} Requires: logwatch