[packages/nagios-plugin-check_snmp_mem] - replace hackery that breaks rpm dep genarator with just a Requires - rel 2
baggins
baggins at pld-linux.org
Sun Oct 19 09:28:46 CEST 2014
commit ae990465b1ca496ebf0128478407519adef47d50
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Oct 19 09:28:08 2014 +0200
- replace hackery that breaks rpm dep genarator with just a Requires
- rel 2
nagios-plugin-check_snmp_mem.spec | 3 ++-
net-snmp-version.patch | 8 --------
2 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/nagios-plugin-check_snmp_mem.spec b/nagios-plugin-check_snmp_mem.spec
index 65452c2..2006060 100644
--- a/nagios-plugin-check_snmp_mem.spec
+++ b/nagios-plugin-check_snmp_mem.spec
@@ -4,7 +4,7 @@ Summary: Nagios plugin to check system memory via SNMP
Summary(pl.UTF-8): Wtyczka Nagiosa do sprawdzania poprzez SNMP wykorzystania pamięci RAM i SWAP
Name: nagios-plugin-%{plugin}
Version: 1.1
-Release: 1
+Release: 2
License: GPL
Group: Networking
Source0: http://nagios.proy.org/check_snmp_mem.pl
@@ -18,6 +18,7 @@ BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: rpmbuild(macros) >= 1.654
BuildRequires: sed >= 4.0
Requires: nagios-core
+Requires: perl-Net-SNMP >= 5.0
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
diff --git a/net-snmp-version.patch b/net-snmp-version.patch
index 0cfd0ec..08e70bd 100644
--- a/net-snmp-version.patch
+++ b/net-snmp-version.patch
@@ -1,13 +1,5 @@
--- ./check_snmp_mem.pl 2012-02-06 20:44:24.000000000 +0200
+++ ./check_snmp_mem.pl 2014-09-15 22:02:18.000000000 +0300
-@@ -13,6 +13,6 @@
- #
-
- use strict;
--use Net::SNMP;
-+use Net::SNMP 5;
- use Getopt::Long;
-
@@ -462,9 +462,7 @@
if (defined ($o_netsnmp)) {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_snmp_mem.git/commitdiff/ae990465b1ca496ebf0128478407519adef47d50
More information about the pld-cvs-commit
mailing list