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
This commit is contained in:
Paul Howarth 2011-05-02 18:11:28 +01:00
parent 099a308b91
commit 5caac13a67
3 changed files with 22 additions and 15 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/IO-Socket-SSL-1.39.tar.gz
/IO-Socket-SSL-1.40.tar.gz

View File

@ -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@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@city-fan.org> - 1.39-1
- Update to 1.39
- fixed documentation of http verification: wildcards in cn is allowed

View File

@ -1 +1 @@
776f36451970287c9b3c77e1d39dd7ed IO-Socket-SSL-1.39.tar.gz
af83e5968b892e857b4333c4309b503d IO-Socket-SSL-1.40.tar.gz