[perl-Net-SSLeay] Fix POD encoding (CPAN RT#78281)
Paul Howarth
pghmcfc at fedoraproject.org
Mon Aug 20 11:14:36 UTC 2012
commit 6e9992354d06a741583d988754a2da303ea8596b
Author: Paul Howarth <paul at city-fan.org>
Date: Mon Aug 20 12:13:50 2012 +0100
Fix POD encoding (CPAN RT#78281)
- Fix POD encoding (CPAN RT#78281)
- Classify buildreqs by usage
- BR:/R: perl(XSLoader)
Net-SSLeay-1.48-pod-encoding.patch | 7 ++++++
perl-Net-SSLeay.spec | 38 ++++++++++++++++++++++++-----------
2 files changed, 33 insertions(+), 12 deletions(-)
---
diff --git a/Net-SSLeay-1.48-pod-encoding.patch b/Net-SSLeay-1.48-pod-encoding.patch
new file mode 100644
index 0000000..78432bb
--- /dev/null
+++ b/Net-SSLeay-1.48-pod-encoding.patch
@@ -0,0 +1,7 @@
+--- lib/Net/SSLeay.pod
++++ lib/Net/SSLeay.pod
+@@ -1,3 +1,4 @@
++=encoding utf-8
+
+ =head1 NAME
+
diff --git a/perl-Net-SSLeay.spec b/perl-Net-SSLeay.spec
index 8731cd8..eda3a3c 100644
--- a/perl-Net-SSLeay.spec
+++ b/perl-Net-SSLeay.spec
@@ -1,24 +1,29 @@
Name: perl-Net-SSLeay
Version: 1.48
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Perl extension for using OpenSSL
Group: Development/Libraries
License: OpenSSL
URL: http://search.cpan.org/dist/Net-SSLeay/
Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-%{version}.tar.gz
+Patch0: Net-SSLeay-1.48-pod-encoding.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildRequires: openssl, openssl-devel
-BuildRequires: perl(AutoLoader)
-BuildRequires: perl(Carp)
+# =========== Module Build ===========================
BuildRequires: perl(Cwd)
-BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Path)
-BuildRequires: perl(File::Spec)
-BuildRequires: perl(IO::Handle)
BuildRequires: perl(lib)
+# =========== Module Runtime =========================
+BuildRequires: perl(AutoLoader)
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter)
BuildRequires: perl(MIME::Base64)
BuildRequires: perl(Socket)
+BuildRequires: perl(XSLoader)
+# =========== Test Suite =============================
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(IO::Handle)
BuildRequires: perl(Test::Exception)
# Test::Kwalitee => Module::CPANTS::Analyze => Net::HTTP => IO::Socket::SSL => Net::SSLeay
# Net::SSLeay in RHEL-7 cannot BR: Test::Kwalitee from EPEL-7
@@ -33,6 +38,7 @@ BuildRequires: perl(Test::Warn)
BuildRequires: perl(threads)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(MIME::Base64)
+Requires: perl(XSLoader)
# Don't "provide" private Perl libs or the redundant unversioned perl(Net::SSLeay) provide
%global __provides_exclude ^(perl\\(Net::SSLeay\\)$|SSLeay\\.so)
@@ -50,6 +56,9 @@ so you can write servers or clients for more complicated applications.
# Fix permissions in examples to avoid bogus doc-file dependencies
chmod -c 644 examples/*
+# Fix POD encoding, lest the Kwalitee test fails (CPAN RT#78281)
+%patch0
+
# Remove redundant unversioned provide if we don't have rpm 4.9 or later
%global provfilt /bin/sh -c "%{__perl_provides} | grep -Fvx 'perl(Net::SSLeay)'"
%define __perl_provides %{provfilt}
@@ -87,17 +96,22 @@ rm -rf %{buildroot}
%{_mandir}/man3/Net::SSLeay::Handle.3pm*
%changelog
+* Mon Aug 20 2012 Paul Howarth <paul at city-fan.org> - 1.48-6
+- fix POD encoding (CPAN RT#78281)
+- classify buildreqs by usage
+- BR:/R: perl(XSLoader)
+
* Mon Aug 13 2012 Petr Pisar <ppisar at redhat.com> - 1.48-5
-- Specify all dependencies
+- specify all dependencies
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.48-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+- rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Jul 10 2012 Petr Pisar <ppisar at redhat.com> - 1.48-3
-- Perl 5.16 re-rebuild of bootstrapped packages
+- perl 5.16 re-rebuild of bootstrapped packages
* Wed Jun 13 2012 Petr Pisar <ppisar at redhat.com> - 1.48-2
-- Perl 5.16 rebuild
+- perl 5.16 rebuild
* Wed Apr 25 2012 Paul Howarth <paul at city-fan.org> - 1.48-1
- update to 1.48
@@ -105,8 +119,8 @@ rm -rf %{buildroot}
- fixed incorrect documentation about the best way to call CTX_set_options
- fixed problem that caused "Undefined subroutine utf8::encode" in
t/local/33_x509_create_cert.t (on perl 5.6.2)
- - in examples and pod documentation, changed #!/usr/local/bin/perl to
- #!/usr/bin/perl
+ - in examples and pod documentation, changed #!/usr/local/bin/perl
+ to #!/usr/bin/perl
- t/local/06_tcpecho.t now tries a number of ports to bind to until
successful
- no longer need to fix shellbangs in examples
More information about the scm-commits
mailing list