[perl-IO-Socket-SSL] Update to 1.40

Paul Howarth pghmcfc at fedoraproject.org
Mon May 2 17:12:38 UTC 2011


commit 5caac13a67bafb962b543352014c35e67d137068
Author: Paul Howarth <paul at city-fan.org>
Date:   Mon May 2 18:11:28 2011 +0100

    Update to 1.40
    
    - New upstream release 1.40:
      - fix in example/async_https_server
      - get IDN support from URI (CPAN RT#67676)
    - Nobody else likes macros for commands

 .gitignore              |    2 +-
 perl-IO-Socket-SSL.spec |   33 ++++++++++++++++++++-------------
 sources                 |    2 +-
 3 files changed, 22 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 449e97e..357c4e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/IO-Socket-SSL-1.39.tar.gz
+/IO-Socket-SSL-1.40.tar.gz
diff --git a/perl-IO-Socket-SSL.spec b/perl-IO-Socket-SSL.spec
index a735db9..74b3332 100644
--- a/perl-IO-Socket-SSL.spec
+++ b/perl-IO-Socket-SSL.spec
@@ -4,19 +4,19 @@
 #
 
 Name:		perl-IO-Socket-SSL
-Version:	1.39
+Version:	1.40
 Release:	1%{?dist}
 Summary:	Perl library for transparent SSL
 Group:		Development/Libraries
 License:	GPL+ or Artistic
 URL:		http://search.cpan.org/dist/IO-Socket-SSL/
 Source0:	http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-%{version}.tar.gz
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 BuildRequires:	perl(ExtUtils::MakeMaker), perl(Test::Simple)
 BuildRequires:	perl(IO::Socket::INET6), perl(Net::LibIDN), perl(Net::SSLeay) >= 1.21
 BuildRequires:	procps
-Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:	perl(Net::LibIDN)
 
 %description
@@ -31,28 +31,29 @@ mod_perl.
 %prep
 %setup -q -n IO-Socket-SSL-%{version}
 for f in README SSL.pm; do
-	/usr/bin/iconv -f iso-8859-1 -t utf-8 -o $f{.utf8,}; %{__mv} $f{.utf8,}
+	iconv -f iso-8859-1 -t utf-8 -o $f{.utf8,}; mv $f{.utf8,}
 done
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-%{__rm} -rf %{buildroot}
-%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
-/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
-/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} ';' 2>/dev/null
+rm -rf %{buildroot}
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
 %{_fixperms} %{buildroot}
 
 %check
 # Avoid running the session tests (spawns servers, requires 3 free ports
 # and possibly manual configuration).
-%{?!_with_sessiontests:%{__mv} t/sessions.t t/sessions.t.disable}
-%{__make} test
+%{?!_with_sessiontests:mv t/sessions.t{,.disable}}
+make test
+%{?!_with_sessiontests:mv t/sessions.t{.disable,}}
 
 %clean
-%{__rm} -rf %{buildroot}
+rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
@@ -61,6 +62,12 @@ done
 %{_mandir}/man3/IO::Socket::SSL.3pm*
 
 %changelog
+* Mon May  2 2011 Paul Howarth <paul at city-fan.org> - 1.40-1
+- Update to 1.40
+  - fix in example/async_https_server
+  - get IDN support from URI (CPAN RT#67676)
+- Nobody else likes macros for commands
+
 * Thu Mar  3 2011 Paul Howarth <paul at city-fan.org> - 1.39-1
 - Update to 1.39
   - fixed documentation of http verification: wildcards in cn is allowed
diff --git a/sources b/sources
index 7f8de2b..d06cec7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-776f36451970287c9b3c77e1d39dd7ed  IO-Socket-SSL-1.39.tar.gz
+af83e5968b892e857b4333c4309b503d  IO-Socket-SSL-1.40.tar.gz


More information about the scm-commits mailing list