RHEL 5 does not support noarch subpackages

This commit is contained in:
Simone Caronni 2015-05-15 12:38:02 +02:00
parent 9c09f86fa8
commit 5259e5da83

View File

@ -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