rpms/perl-Nagios-Plugin-Beanstalk/F-11 perl-Nagios-Plugin-Beanstalk.spec, 1.1, 1.2

Ruben Kerkhof ruben at fedoraproject.org
Wed Sep 30 15:24:54 UTC 2009


Author: ruben

Update of /cvs/pkgs/rpms/perl-Nagios-Plugin-Beanstalk/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7009

Modified Files:
	perl-Nagios-Plugin-Beanstalk.spec 
Log Message:
* Fri Sep 25 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> 0.04-3
- Install plugin in nagios plugin dir



Index: perl-Nagios-Plugin-Beanstalk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Nagios-Plugin-Beanstalk/F-11/perl-Nagios-Plugin-Beanstalk.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- perl-Nagios-Plugin-Beanstalk.spec	24 Sep 2009 08:35:54 -0000	1.1
+++ perl-Nagios-Plugin-Beanstalk.spec	30 Sep 2009 15:24:54 -0000	1.2
@@ -1,17 +1,19 @@
+%define debug_package %{nil}
+
 Name:           perl-Nagios-Plugin-Beanstalk
 Version:        0.04
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Nagios plugin to observe Beanstalkd queue server
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Nagios-Plugin-Beanstalk/
 Source0:        http://www.cpan.org/modules/by-module/Nagios/Nagios-Plugin-Beanstalk-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:      noarch
 BuildRequires:  perl(Beanstalk::Client)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Nagios::Plugin)
 BuildRequires:  perl(Test::More)
+Requires:	nagios-plugins
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -22,7 +24,8 @@ A Nagios plugin to observe a Beanstalkd 
 %setup -q -n Nagios-Plugin-Beanstalk-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor INSTALLVENDORSCRIPT=%{_libdir}/nagios/plugins
+
 make %{?_smp_mflags}
 
 %install
@@ -45,9 +48,12 @@ rm -rf %{buildroot}
 %defattr(-,root,root,-)
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
-%{_bindir}/check_beanstalkd
+%{_libdir}/nagios/plugins/check_beanstalkd
 
 %changelog
+* Fri Sep 25 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> 0.04-3
+- Install plugin in nagios plugin dir
+
 * Wed Sep 23 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> 0.04-2
 - Clarify description
 




More information about the fedora-extras-commits mailing list