[packages/nagios] more noarch packages: -common, -mrtggraphs, -theme-classicui, -theme-default

glen glen at pld-linux.org
Wed Oct 2 14:31:29 CEST 2013


commit c90d41c36c6d3c61bd4e0f390db6d568579228d8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Oct 2 15:30:52 2013 +0300

    more noarch packages: -common, -mrtggraphs, -theme-classicui, -theme-default

 nagios.spec | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/nagios.spec b/nagios.spec
index 4d2233f..34f5f98 100644
--- a/nagios.spec
+++ b/nagios.spec
@@ -1,5 +1,6 @@
 # TODO
 # - /var/log/nagios/archives -> /var/log/archive/nagios
+# - bundled jquery in themes
 #
 # Conditional build:
 %bcond_without	gd	# without statusmap and trends, which require gd library
@@ -128,6 +129,9 @@ Requires(pre):	/usr/sbin/usermod
 Provides:	group(nagcmd)
 Provides:	group(nagios)
 Provides:	user(nagios)
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description common
 Common files needed by both nagios and nrpe.
@@ -167,6 +171,9 @@ Summary:	MRTG Graphs: Nagios Statistics
 Group:		Applications/Networking
 Requires:	%{name} = %{version}-%{release}
 Provides:	mrtg-start
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description mrtggraphs
 This pacakge graphs several Nagios statistics which can be useful for
@@ -191,6 +198,9 @@ Requires:	%{name}-cgi = %{version}-%{release}
 Requires:	webserver(php)
 Provides:	nagios-theme
 Obsoletes:	nagios-theme
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description theme-classicui
 Original theme from Nagios.
@@ -206,6 +216,9 @@ Suggests:	nagios-theme-classicui
 Suggests:	nagios-theme-exfoliation
 Suggests:	nagios-theme-nuvola
 Obsoletes:	nagios-theme-default < 3.3.1-1.4
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description theme-default
 Virtual package to handle Nagios theme migration
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios.git/commitdiff/c90d41c36c6d3c61bd4e0f390db6d568579228d8



More information about the pld-cvs-commit mailing list