commit 493a74751626dab9e00fc77476b015b5c7b0220e
Author: Tom "spot" Callaway <tcallawa(a)redhat.com>
Date: Wed Nov 17 16:36:18 2010 -0500
update to 6.0.1, which removed all occurrences of the "locked" attribute,
deprecated in perl 5.12.0
.gitignore | 1 +
perl-Net-SNMP.spec | 22 ++++++++++------------
sources | 2 +-
3 files changed, 12 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 434fb04..6b56836 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Net-SNMP-5.2.0.tar.gz
+/Net-SNMP-v6.0.1.tar.gz
diff --git a/perl-Net-SNMP.spec b/perl-Net-SNMP.spec
index 72eea53..f1bbc9a 100644
--- a/perl-Net-SNMP.spec
+++ b/perl-Net-SNMP.spec
@@ -1,12 +1,12 @@
Name: perl-Net-SNMP
-Version: 5.2.0
-Release: 6%{?dist}
+Version: 6.0.1
+Release: 1%{?dist}
Summary: Object oriented interface to SNMP
Group: Development/Libraries
License: GPL+ or Artistic
URL:
http://search.cpan.org/dist/Net-SNMP/
-Source0:
http://www.cpan.org/authors/id/D/DT/DTOWN/Net-SNMP-%{version}.tar.gz
+Source0:
http://search.cpan.org/CPAN/authors/id/D/DT/DTOWN/Net-SNMP-v%{version}.ta...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -16,6 +16,7 @@ BuildRequires: perl(Digest::SHA1)
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
#Requires: perl(Crypt::Rijndael)
+# This is autodetected.
#Requires: perl(Socket6)
%description
@@ -29,18 +30,10 @@ Management Protocol and related network management concepts.
%prep
-%setup -q -n Net-SNMP-%{version}
+%setup -q -n Net-SNMP-v%{version}
%{__perl} -pi -e 's|^#!\s+/usr/local/bin/perl|#!%{__perl}|' examples/*.pl
chmod -c a-x examples/*.pl
-# Requirements: exclude perl(Socket6)
-cat <<__EOF__ > %{name}-perlreq
-#!/bin/sh
-/usr/lib/rpm/perl.req \$* | grep -v '^perl(Socket6)'
-__EOF__
-%define __perl_requires %{_builddir}/Net-SNMP-%{version}/%{name}-perlreq
-chmod +x %{__perl_requires}
-
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -73,6 +66,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Nov 17 2010 Tom "spot" Callaway <tcallawa(a)redhat.com> - 6.0.1-1
+- update to 6.0.1, which removed all occurrences of the "locked" attribute,
+ deprecated in perl 5.12.0
+- okay to use Socket6 now.
+
* Tue May 04 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 5.2.0-6
- Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index 7847218..6dc24f4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0e717723f843ab22a93248833f3ebff7 Net-SNMP-5.2.0.tar.gz
+6137f04f9942d703f66179f890e3d096 Net-SNMP-v6.0.1.tar.gz