Update to 2.048

- New upstream release 2.048
  - Fixed small memory leaks during destruction of socket and context
    (CPAN RT#120643)
- Drop support for EOL distributions prior to F-13
  - Drop BuildRoot: and Group: tags
  - Drop explicit buildroot cleaning in %install section
  - Drop explicit %clean section
This commit is contained in:
Paul Howarth 2017-04-17 12:58:53 +01:00
parent d3f2356cc9
commit f6474dbc1b
3 changed files with 16 additions and 9 deletions

4
.rpmlint Normal file
View File

@ -0,0 +1,4 @@
from Config import *
# Documentation/test certs
addFilter("pem-certificate /usr/share/doc/perl-IO-Socket-SSL.*/certs/.*\.pem");

View File

@ -1,14 +1,12 @@
Name: perl-IO-Socket-SSL
Version: 2.047
Version: 2.048
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
Patch0: IO-Socket-SSL-2.045-use-system-default-cipher-list.patch
Patch1: IO-Socket-SSL-2.047-use-system-default-SSL-version.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Module Build
BuildRequires: coreutils
@ -61,7 +59,7 @@ Requires: perl(IO::Socket::INET6) >= 2.62, perl(Socket6)
# but Net::IDN::Encode (next pref) and Net::LibIDN are also tested
BuildRequires: perl(Net::IDN::Encode)
BuildRequires: perl(Net::LibIDN)
%if 0%{?fedora} > 10 || 0%{?rhel} > 6
%if 0%{?fedora:1} || 0%{?rhel} > 6
BuildRequires: perl(URI::_idna)
Requires: perl(URI::_idna)
%else
@ -93,7 +91,6 @@ NO_NETWORK_TESTING=1 perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
@ -101,9 +98,6 @@ find %{buildroot} -type f -name .packlist -delete
%check
make test
%clean
rm -rf %{buildroot}
%files
%doc BUGS Changes README docs/ certs/ example/
%dir %{perl_vendorlib}/IO/
@ -117,6 +111,15 @@ rm -rf %{buildroot}
%{_mandir}/man3/IO::Socket::SSL::Utils.3*
%changelog
* Mon Apr 17 2017 Paul Howarth <paul@city-fan.org> - 2.048-1
- Update to 2.048
- Fixed small memory leaks during destruction of socket and context
(CPAN RT#120643)
- Drop support for EOL distributions prior to F-13
- Drop BuildRoot: and Group: tags
- Drop explicit buildroot cleaning in %%install section
- Drop explicit %%clean section
* Fri Feb 17 2017 Paul Howarth <paul@city-fan.org> - 2.047-1
- Update to 2.047
- Better fix for problem which 2.046 tried to fix but broke LWP that way

View File

@ -1 +1 @@
SHA512 (IO-Socket-SSL-2.047.tar.gz) = 402d08d0c3fc9fb34ca83f371c1368cced68636198b0cb807562d480335784183850d1f1f9deb82b2ede312e86116624ed09439915c81cbbed3412e8e5697a72
SHA512 (IO-Socket-SSL-2.048.tar.gz) = 649aa7f4ed8c7c1f4725bd48e28c40d3929f0c7c7fc40093f6e4d373ea8e306451c2fc3f645a23a33d99cd3a5a378997f7affb2b165d883648c33fc801cfce67