[nagios-plugins-snmp-disk-proc] rebuild against new net-snmp

Tom Callaway spot at fedoraproject.org
Mon Aug 8 15:55:26 UTC 2011


commit 6e1834f1d54e33bdf1f95cda151e7d4c16528e59
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date:   Mon Aug 8 11:55:15 2011 -0400

    rebuild against new net-snmp

 nagios-plugins-snmp-disk-proc.spec |   19 ++++++-------------
 1 files changed, 6 insertions(+), 13 deletions(-)
---
diff --git a/nagios-plugins-snmp-disk-proc.spec b/nagios-plugins-snmp-disk-proc.spec
index 2396ad8..14d743e 100644
--- a/nagios-plugins-snmp-disk-proc.spec
+++ b/nagios-plugins-snmp-disk-proc.spec
@@ -1,17 +1,14 @@
-%define nagios_plugins_dir %{_libdir}/nagios/plugins
+%global nagios_plugins_dir %{_libdir}/nagios/plugins
 
 Name:           nagios-plugins-snmp-disk-proc
 Version:        1.2
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Nagios SNMP plugins to monitor remote disk and processes
-
 Group:          Applications/System
 # Version intent from README
 License:        GPLv2
 URL:            http://henning.schmiedehausen.org/eyewiki/Wiki.jsp?page=NagiosSnmpPlugins
 Source0:        http://www.softwareforge.de/releases/nagios-snmp-plugins/nagios-snmp-plugins-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildRequires:  autoconf, automake
 BuildRequires:  net-snmp-devel
 BuildRequires:  openssl-devel
@@ -22,7 +19,6 @@ Requires:       nagios-plugins
 These plugins allow you to monitor disk space and running processes on
 a remote machine via SNMP.
 
-
 %prep
 %setup -q -n nagios-snmp-plugins-%{version}
 
@@ -36,23 +32,20 @@ autoconf
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 install -d -m 755 $RPM_BUILD_ROOT/%{nagios_plugins_dir}
 install -p -m 755 check_snmp_disk $RPM_BUILD_ROOT/%{nagios_plugins_dir}
 install -p -m 755 check_snmp_proc $RPM_BUILD_ROOT/%{nagios_plugins_dir}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc README COPYING AUTHORS NEWS
 %{nagios_plugins_dir}/check_snmp_disk
 %{nagios_plugins_dir}/check_snmp_proc
 
-
 %changelog
+* Mon Aug 08 2011 Tom Callaway <spot at fedoraproject.org> - 1.2-9
+- rebuild against new net-snmp
+- cleanup spec file
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list