[packages/nagios-plugin-check_logfiles] different x32 fix

glen glen at pld-linux.org
Fri Aug 7 06:39:37 CEST 2015


commit cdd0f1131bc7f4ff6384425ad7737dbbaa44d5ed
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Aug 7 07:39:32 2015 +0300

    different x32 fix

 nagios-plugin-check_logfiles.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/nagios-plugin-check_logfiles.spec b/nagios-plugin-check_logfiles.spec
index c313453..39854c3 100644
--- a/nagios-plugin-check_logfiles.spec
+++ b/nagios-plugin-check_logfiles.spec
@@ -3,7 +3,7 @@
 Summary:	Check log files for specific patterns
 Name:		nagios-plugin-%{plugin}
 Version:	3.7.1.1
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		Applications
 Source0:	https://labs.consol.de/assets/downloads/nagios/%{plugin}-%{version}.tar.gz
@@ -20,10 +20,8 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		trusted_path	/bin:/sbin:/usr/bin:/usr/sbin
 
 # just to fool configure, nothing arch specific actually
-%if "%{_host_cpu}" == "x32"
+%if "%{_host_cpu}" != "x32"
 %define		_target_platform	%{_host}
-%else
-%define		_target_platform	%{_host_cpu}-%{_vendor}-%{_os}
 %endif
 
 %description
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_logfiles.git/commitdiff/cdd0f1131bc7f4ff6384425ad7737dbbaa44d5ed



More information about the pld-cvs-commit mailing list