From b36e8ab0c0263816c87ea694025d53d9ad466e07 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: May 15 2015 11:24:07 +0000 Subject: RHEL 5 does not support noarch subpackages --- diff --git a/bacula.spec b/bacula.spec index 0afe535..0537159 100644 --- a/bacula.spec +++ b/bacula.spec @@ -166,7 +166,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