]> git.pld-linux.org Git - packages/perl-Net-SNMP.git/commitdiff
- up to 6.0.1 auto/th/perl-Net-SNMP-6_0_1-1 auto/ti/perl-Net-SNMP-6_0_1-1
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 12 Dec 2010 11:03:41 +0000 (11:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Net-SNMP-kill_vstring.patch -> 1.4
    perl-Net-SNMP.spec -> 1.39

perl-Net-SNMP-kill_vstring.patch
perl-Net-SNMP.spec

index 0b130517a07e76366ebb5683a9f4dae3d28dd33e..04537a6c7a3031efa21bf2c34eb2a0e568ad201f 100644 (file)
@@ -1,11 +1,11 @@
---- ./lib/Net/SNMP/Security/USM.pm~    2003-09-11 21:10:19.000000000 +0200
-+++ ./lib/Net/SNMP/Security/USM.pm     2004-06-14 09:39:51.442301024 +0200
-@@ -33,7 +33,7 @@
+--- Net-SNMP-v6.0.1/lib/Net/SNMP/Security/USM.pm~      2010-12-12 14:00:52.000000000 +0200
++++ Net-SNMP-v6.0.1/lib/Net/SNMP/Security/USM.pm       2010-12-12 14:00:55.553134379 +0200
+@@ -30,7 +30,7 @@
  
  ## Version of the Net::SNMP::Security::USM module
  
--our $VERSION = v3.0.1;
-+our $VERSION = '3.0.1';
+-our $VERSION = v4.0.1;
++our $VERSION = '4.0.1';
  
  ## Handle importing/exporting of symbols
  
index bda179d81f340ad483e3a0ac7f302f245bc3d52c..67345e4369c5d98f6e8720cbd29ea4496ef69d03 100644 (file)
@@ -1,21 +1,22 @@
 #
 # Conditional build:
 %bcond_without tests   # do not perform "make test"
-#
-%include       /usr/lib/rpm/macros.perl
+
 %define                pdir    Net
 %define                pnam    SNMP
+%include       /usr/lib/rpm/macros.perl
 Summary:       Net::SNMP - object oriented interface to SNMP
 Summary(pl.UTF-8):     Net::SNMP - zorientowany obiektowo interfejs do SNMP
 Name:          perl-Net-SNMP
-Version:       5.2.0
-Release:       2
+Version:       6.0.1
+Release:       1
 # same as perl
 License:       GPL or Artistic
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 0e717723f843ab22a93248833f3ebff7
+Source0:       http://search.cpan.org/CPAN/authors/id/D/DT/DTOWN/%{pdir}-%{pnam}-v%{version}.tar.gz
+# Source0-md5: 6137f04f9942d703f66179f890e3d096
 Patch0:                %{name}-kill_vstring.patch
+URL:           http://search.cpan.org/dist/Net-SNMP/
 BuildRequires: perl-Crypt-DES >= 2.0.3
 BuildRequires: perl-Digest-HMAC
 BuildRequires: perl-Digest-SHA1
@@ -48,8 +49,8 @@ podstawowym zakresie protokół SNMP i związane z nim idee zarządzania
 sieciowego.
 
 %prep
-%setup -q -n %{pdir}-%{pnam}-%{version}
-%patch0 -p0
+%setup -q -n %{pdir}-%{pnam}-v%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
@@ -60,12 +61,11 @@ sieciowego.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -73,8 +73,9 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README Changes
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/snmpkey
 %{perl_vendorlib}/Net/*.pm
 %{perl_vendorlib}/Net/SNMP
-%{_mandir}/man?/*
+%{_mandir}/man1/snmpkey.1p*
+%{_mandir}/man3/Net::SNMP.3pm*
 %{_examplesdir}/%{name}-%{version}
This page took 0.101102 seconds and 4 git commands to generate.