[packages/nagios-plugins] - unconditional noarch subpackages

baggins baggins at pld-linux.org
Sun Feb 28 01:58:10 CET 2021


commit e600c8461a99848f6f4b3a885e4534193e90ec71
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Feb 28 01:58:03 2021 +0100

    - unconditional noarch subpackages

 nagios-plugins.spec | 10 ----------
 1 file changed, 10 deletions(-)
---
diff --git a/nagios-plugins.spec b/nagios-plugins.spec
index 15159f4..afac646 100644
--- a/nagios-plugins.spec
+++ b/nagios-plugins.spec
@@ -142,9 +142,7 @@ 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.
@@ -160,9 +158,7 @@ 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.
@@ -242,9 +238,7 @@ 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.
@@ -335,9 +329,7 @@ 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
@@ -441,9 +433,7 @@ 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/e600c8461a99848f6f4b3a885e4534193e90ec71



More information about the pld-cvs-commit mailing list