[perl-SNMP-Info] Update to 3.22 (RHBZ #1171044)

Ken Dreyer ktdreyer at fedoraproject.org
Sat Dec 6 16:23:54 UTC 2014


commit 0c3c0f7bfca2daf0ac28903a595e22985c3b2370
Author: Ken Dreyer <ktdreyer at ktdreyer.com>
Date:   Sat Dec 6 09:24:00 2014 -0700

    Update to 3.22 (RHBZ #1171044)
    
    - Use %license macro
    - Remove explicit BuildRoot definition
    - Remove "rm -rf buildroot" cruft

 .gitignore          |    1 +
 perl-SNMP-Info.spec |   18 +++++++++---------
 sources             |    2 +-
 3 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4059296..01a08ab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
 /SNMP-Info-3.17.tar.gz
 /SNMP-Info-3.18.tar.gz
 /SNMP-Info-3.20.tar.gz
+/SNMP-Info-3.22.tar.gz
diff --git a/perl-SNMP-Info.spec b/perl-SNMP-Info.spec
index ab2f3e9..247bb05 100644
--- a/perl-SNMP-Info.spec
+++ b/perl-SNMP-Info.spec
@@ -1,12 +1,11 @@
 Name:           perl-SNMP-Info
-Version:        3.20
+Version:        3.22
 Release:        1%{?dist}
 Summary:        Object Oriented Perl5 Interface to Network devices and MIBs through SNMP
 License:        BSD
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/SNMP-Info/
 Source0:        http://search.cpan.org/CPAN/authors/id/O/OL/OLIVER/SNMP-Info-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More)
@@ -27,9 +26,6 @@ through SNMP.
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
-%install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -40,15 +36,19 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%doc ChangeLog COPYRIGHT DeviceMatrix.txt README
+%license COPYRIGHT
+%doc ChangeLog DeviceMatrix.txt README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sat Dec 06 2014 Ken Dreyer <ktdreyer at ktdreyer.com> - 3.22-1
+- Update to 3.22 (RHBZ #1171044)
+- Use %%license macro
+- Remove explicit BuildRoot definition
+- Remove "rm -rf buildroot" cruft
+
 * Wed Sep 10 2014 Ken Dreyer <ktdreyer at ktdreyer.com> - 3.20-1
 - Update to 3.20 (RHBZ #1125871)
 
diff --git a/sources b/sources
index 80d9db8..63ccca2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a33bda9a8c48bbaee466992e3ac6183b  SNMP-Info-3.20.tar.gz
+115663aaa2bf6bf6bb7140b5da9493d5  SNMP-Info-3.22.tar.gz


More information about the scm-commits mailing list