[perl-Net-FTPSSL] Upgrade to 0.22, various clean ups

Emmanuel Seyman eseyman at fedoraproject.org
Sat Oct 6 18:50:20 UTC 2012


commit e94589e60d8946943e3b13aca55492a93aec9e26
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Sat Oct 6 20:50:15 2012 +0200

    Upgrade to 0.22, various clean ups

 .gitignore           |    1 +
 perl-Net-FTPSSL.spec |   19 +++++++++----------
 sources              |    2 +-
 3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 33eb735..9d3f8a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Net-FTPSSL-0.15.tar.gz
+/Net-FTPSSL-0.22.tar.gz
diff --git a/perl-Net-FTPSSL.spec b/perl-Net-FTPSSL.spec
index e254e5c..596cc51 100644
--- a/perl-Net-FTPSSL.spec
+++ b/perl-Net-FTPSSL.spec
@@ -1,12 +1,11 @@
 Name:           perl-Net-FTPSSL
-Version:        0.15
-Release:        9%{?dist}
+Version:        0.22
+Release:        1%{?dist}
 Summary:        Perl module for FTP over SSL/TLS
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Net-FTPSSL/
 Source0:        http://www.cpan.org/authors/id/C/CL/CLEACH/Net-FTPSSL-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # According to Changes, v0.97 causes unspecified hang,
@@ -17,6 +16,8 @@ BuildRequires:  perl(Net::SSLeay::Handle)
 BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 Net::FTPSSL is a class implementing a simple FTP client over a Secure
 Sockets Layer (SSL) or Transport Layer Security (TLS) connection written in
@@ -33,8 +34,6 @@ 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 {} \;
@@ -51,18 +50,18 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 echo n |make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 
 %changelog
+* Sat Oct 06 2012 Emmanuel Seyman <emmanuel at seyman.fr> - 0.22-1
+- Upgrade to 0.22
+- Clean up spec file
+- Add perl default filter
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.15-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 0a45b4d..25ea313 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-190beae7121e477dc3e0c8a50583cdc6  Net-FTPSSL-0.15.tar.gz
+691fc2a46011b8cfc946bf90f0d8f552  Net-FTPSSL-0.22.tar.gz


More information about the scm-commits mailing list