[perl-Net-SSH2] update to 0.33

Iain Arnell iarnell at fedoraproject.org
Fri Mar 18 08:23:45 UTC 2011


commit 556786349cad1302ebcfe37fb6bf3f6a9a12996e
Author: Iain Arnell <iarnell at gmail.com>
Date:   Fri Mar 18 09:01:17 2011 +0100

    update to 0.33

 .gitignore         |    1 +
 perl-Net-SSH2.spec |   14 ++++++--------
 sources            |    2 +-
 3 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8864ea5..986f1b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Net-SSH2-0.28.tar.gz
+/Net-SSH2-0.33.tar.gz
diff --git a/perl-Net-SSH2.spec b/perl-Net-SSH2.spec
index d4056a4..8d1e501 100644
--- a/perl-Net-SSH2.spec
+++ b/perl-Net-SSH2.spec
@@ -1,13 +1,12 @@
 Name:           perl-Net-SSH2
-Version:        0.28
-Release:        5%{?dist}
+Version:        0.33
+Release:        1%{?dist}
 Summary:        Support for the SSH 2 protocol via libSSH2
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Net-SSH2/
 Source0:        http://search.cpan.org/CPAN/authors/id/R/RK/RKITOVER/Net-SSH2-%{version}.tar.gz
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 # non-perl
@@ -41,8 +40,6 @@ perl -pi -e 's|^#!perl|#!%{__perl}|' example/*
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install DESTDIR=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} +
@@ -56,9 +53,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 # buildsys anyways as they require network access
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README example/
@@ -67,6 +61,10 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Fri Mar 18 2011 Iain Arnell <iarnell at gmail.com> 0.33-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.28-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 0a83e5e..0081726 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5d6a9c4b2256c34819c0d6f3a0163066  Net-SSH2-0.28.tar.gz
+96782c938539794c0c2c396a84ea2f09  Net-SSH2-0.33.tar.gz


More information about the scm-commits mailing list