commit 903b48a22c26b5bbfb28d3b8563f71199263420b Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Wed Feb 12 05:44:16 2014 +0100 Add Digest-JHash-0.08-pod_t.diff. Digest-JHash-0.08-pod_t.diff | 12 ++++++++++++ perl-Digest-JHash.spec | 7 +++++++ 2 files changed, 19 insertions(+), 0 deletions(-) --- diff --git a/Digest-JHash-0.08-pod_t.diff b/Digest-JHash-0.08-pod_t.diff new file mode 100644 index 0000000..eae92d3 --- /dev/null +++ b/Digest-JHash-0.08-pod_t.diff @@ -0,0 +1,12 @@ +diff -Naur Digest-JHash-0.08.orig/t/pod.t Digest-JHash-0.08/t/pod.t +--- Digest-JHash-0.08.orig/t/pod.t 2013-11-12 08:21:54.000000000 +0100 ++++ Digest-JHash-0.08/t/pod.t 2014-02-12 03:46:00.322757885 +0100 +@@ -9,7 +9,7 @@ + } + else { + if ( $ENV{RELEASE_TESTING} ) { +- my @poddirs = qw(lib ../lib); ++ my @poddirs = qw(lib); + all_pod_files_ok(all_pod_files( @poddirs )); + } + else { diff --git a/perl-Digest-JHash.spec b/perl-Digest-JHash.spec index 7e81431..60230d5 100644 --- a/perl-Digest-JHash.spec +++ b/perl-Digest-JHash.spec @@ -19,6 +19,9 @@ BuildRequires: perl(Test::CPAN::Changes) BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) >= 1.00 +# Work-around to the test-suite issuing warning on Fedora < 21 +Patch0: Digest-JHash-0.08-pod_t.diff + Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} @@ -31,6 +34,7 @@ input a message of arbitrary length and produces as output a 32-bit %prep %setup -q -n Digest-JHash-%{version} +%patch0 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" @@ -55,6 +59,9 @@ make test RELEASE_TESTING=1 %{_mandir}/man3/* %changelog +* Wed Feb 12 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 0.08-1 +- Add Digest-JHash-0.08-pod_t.diff. + * Tue Feb 04 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 0.08-1 - Upstream update. - Modernize spec. -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel