[packages/nagios-plugins: 5/7] noarch packages

glen glen at pld-linux.org
Fri Feb 5 14:24:00 CET 2016


commit a3887f6966446979b17b393d6d6ea035ea9ac8ac
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Feb 5 14:26:50 2016 +0200

    noarch packages
    
    nagios-plugin-check_file_age
    nagios-plugin-check_mailq
    nagios-plugin-check_sensors
    nagios-plugins-perl
    nagios-plugins-samba

 nagios-plugins.spec | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
---
diff --git a/nagios-plugins.spec b/nagios-plugins.spec
index 0759730..b9b3718 100644
--- a/nagios-plugins.spec
+++ b/nagios-plugins.spec
@@ -143,6 +143,9 @@ Group:		Networking
 Requires:	nagios-common
 # for utils.pm
 Requires:	%{name}-libs = %{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description perl
 This package contains Nagios plugins written in Perl.
@@ -158,6 +161,9 @@ Requires:	nagios-common
 # for utils.pm
 Requires:	%{name}-libs = %{version}-%{release}
 Requires:	samba-client
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description samba
 Perl Check SMB Disk plugin for Nagios.
@@ -237,6 +243,9 @@ Group:		Networking
 Requires:	nagios-common
 # for utils.pm
 Requires:	%{name}-libs = %{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description -n nagios-plugin-check_file_age
 Nagios plugin to check local file age and size.
@@ -327,6 +336,9 @@ Group:		Networking
 Requires:	nagios-common
 # for utils.pm
 Requires:	%{name}-libs = %{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description -n nagios-plugin-check_mailq
 Checks the number of messages in the mail queue (supports multiple
@@ -430,6 +442,9 @@ Requires:	%{name}-libs = %{version}-%{release}
 Requires:	lm_sensors
 Provides:	nagios-plugins-sensors = %{version}-%{release}
 Obsoletes:	nagios-plugins-sensors
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description -n nagios-plugin-check_sensors
 This plugin checks hardware status using the lm_sensors package.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugins.git/commitdiff/440b2c9273c23bb39b26f7f0121228c3c4bbdeb3



More information about the pld-cvs-commit mailing list