SPECS: nagios-plugin-check_mysql_perf.spec - lib64 fix
glen
glen at pld-linux.org
Mon Feb 16 23:14:12 CET 2009
Author: glen Date: Mon Feb 16 22:14:12 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- lib64 fix
---- Files affected:
SPECS:
nagios-plugin-check_mysql_perf.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/nagios-plugin-check_mysql_perf.spec
diff -u SPECS/nagios-plugin-check_mysql_perf.spec:1.4 SPECS/nagios-plugin-check_mysql_perf.spec:1.5
--- SPECS/nagios-plugin-check_mysql_perf.spec:1.4 Mon Feb 16 14:29:08 2009
+++ SPECS/nagios-plugin-check_mysql_perf.spec Mon Feb 16 23:14:07 2009
@@ -3,7 +3,7 @@
Summary: Nagios plugin: monitor various performance-related characteristics of a MySQL db
Name: nagios-plugin-%{plugin}
Version: 1.3.2.3
-Release: 2
+Release: 3
License: GPL v2+
Group: Networking
Source0: http://www.consol.com/fileadmin/opensource/Nagios/%{plugin}-%{version}.tar.gz
@@ -12,6 +12,7 @@
URL: http://www.consol.com/opensource/nagios/check-mysql-perf
BuildRequires: mysql-devel
BuildRequires: nagios-plugins-devel
+BuildRequires: sed >= 4.0
Requires: nagios-core
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -25,6 +26,9 @@
%prep
%setup -q -n %{plugin}-%{version}
%patch0 -p1
+%if "%{_lib}" != "lib"
+sed -i -e 's,(OFFICIALPLUGINS)/lib,(OFFICIALPLUGINS)/%{_lib},g' plugins/Makefile.am
+%endif
# see plugin --help (-m option) for list of these
cat > nagios.cfg <<'EOF'
@@ -125,6 +129,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2009/02/16 22:14:07 glen
+- lib64 fix
+
Revision 1.4 2009/02/16 13:29:08 glen
- use nagios-plugins-devel; rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nagios-plugin-check_mysql_perf.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list