[zabbix] enable noarch subpackages on EL >= 6
Dan Horák
sharkcz at fedoraproject.org
Wed Aug 11 09:05:55 UTC 2010
commit 23e2977e6749d4b1948376fa6f964afd7b862998
Author: Dan Horák <dan at danny.cz>
Date: Wed Aug 11 11:05:44 2010 +0200
enable noarch subpackages on EL >= 6
zabbix.spec | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/zabbix.spec b/zabbix.spec
index 568d3f5..fa9d2b4 100644
--- a/zabbix.spec
+++ b/zabbix.spec
@@ -70,7 +70,7 @@ multitude of servers.
%package docs
Summary: Zabbix documentation
Group: Documentation
-%if 0%{?fedora} > 9
+%if 0%{?fedora} > 9 || 0%{?rhel} >= 6
BuildArch: noarch
%endif
@@ -182,7 +182,7 @@ The Zabbix proxy compiled to use SQLite
%package web
Summary: Zabbix Web Frontend
Group: Applications/Internet
-%if 0%{?fedora} > 9
+%if 0%{?fedora} > 9 || 0%{?rhel} >= 6
BuildArch: noarch
%endif
Requires: php
@@ -203,7 +203,7 @@ The php frontend to display the zabbix web interface.
%package web-mysql
Summary: Zabbix web frontend for MySQL
Group: Applications/Internet
-%if 0%{?fedora} > 9
+%if 0%{?fedora} > 9 || 0%{?rhel} >= 6
BuildArch: noarch
%endif
Requires: zabbix-web = %{version}-%{release}
@@ -219,7 +219,7 @@ Zabbix web frontend for MySQL
%package web-pgsql
Summary: Zabbix web frontend for PostgreSQL
Group: Applications/Internet
-%if 0%{?fedora} > 9
+%if 0%{?fedora} > 9 || 0%{?rhel} >= 6
BuildArch: noarch
%endif
Requires: zabbix-web = %{version}-%{release}
@@ -234,7 +234,7 @@ Zabbix web frontend for PostgreSQL
%package web-sqlite3
Summary: Zabbix web frontend for SQLite
Group: Applications/Internet
-%if 0%{?fedora} > 9
+%if 0%{?fedora} > 9 || 0%{?rhel} >= 6
BuildArch: noarch
%endif
Requires: zabbix-web = %{version}-%{release}
More information about the scm-commits
mailing list