SPECS: nagios-plugin-check_memcached.spec - rename plugin dir to Nagios/Plugin

glen glen at pld-linux.org
Mon Feb 9 17:31:10 CET 2009


Author: glen                         Date: Mon Feb  9 16:31:10 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rename plugin dir to Nagios/Plugin

---- Files affected:
SPECS:
   nagios-plugin-check_memcached.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/nagios-plugin-check_memcached.spec
diff -u SPECS/nagios-plugin-check_memcached.spec:1.3 SPECS/nagios-plugin-check_memcached.spec:1.4
--- SPECS/nagios-plugin-check_memcached.spec:1.3	Mon Feb  9 17:16:31 2009
+++ SPECS/nagios-plugin-check_memcached.spec	Mon Feb  9 17:31:05 2009
@@ -6,7 +6,7 @@
 Summary:	Nagios plugin to observe memcached
 Name:		nagios-plugin-%{plugin}
 Version:	0.02
-Release:	0.1
+Release:	0.2
 Epoch:		1
 # same as perl
 License:	GPL v1+ or Artistic
@@ -36,6 +36,7 @@
 %prep
 %setup -q -n Nagios-Plugins-Memcached-%{version}
 %patch0 -p1
+mv lib/Nagios/Plugin{s,}
 
 cat > nagios.cfg <<'EOF'
 # NOTE: This plugin can execute with all threshold options together.
@@ -70,6 +71,7 @@
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} pure_install \
+	INSTALLSCRIPT=%{plugindir} \
 	DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{plugindir}}
@@ -83,11 +85,9 @@
 %files
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{plugin}.cfg
-%attr(755,root,root) %{_bindir}/check_memcached
-%{_mandir}/man3/Nagios::Plugins::Memcached.3pm*
-# XXX -- use singular base dir
-%dir %{perl_vendorlib}/Nagios/Plugins
-%{perl_vendorlib}/Nagios/Plugins/Memcached.pm
+%attr(755,root,root) %{plugindir}/check_memcached
+%{_mandir}/man3/Nagios::Plugin::Memcached.3pm*
+%{perl_vendorlib}/Nagios/Plugin/Memcached.pm
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -95,6 +95,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2009/02/09 16:31:05  glen
+- rename plugin dir to Nagios/Plugin
+
 Revision 1.3  2009/02/09 16:16:31  glen
 - v0.02: switch to CPAN source
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nagios-plugin-check_memcached.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list