Fix POD encoding (CPAN RT#78281)

- Fix POD encoding (CPAN RT#78281)
- Classify buildreqs by usage
- BR:/R: perl(XSLoader)
This commit is contained in:
Paul Howarth 2012-08-20 12:13:50 +01:00
parent a97d30e119
commit 6e9992354d
2 changed files with 33 additions and 12 deletions

View File

@ -0,0 +1,7 @@
--- lib/Net/SSLeay.pod
+++ lib/Net/SSLeay.pod
@@ -1,3 +1,4 @@
+=encoding utf-8
=head1 NAME

View File

@ -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@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@redhat.com> - 1.48-5
- Specify all dependencies
- specify all dependencies
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@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@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@redhat.com> - 1.48-2
- Perl 5.16 rebuild
- perl 5.16 rebuild
* Wed Apr 25 2012 Paul Howarth <paul@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