[perl-CPAN-Checksums] 2.09 bump
by Jitka Plesnikova
commit 847e6092b6e510ae3af5be2576d97a7cf0321f41
Author: Jitka Plesnikova <jplesnik(a)redhat.com>
Date: Fri Apr 4 15:10:19 2014 +0200
2.09 bump
.gitignore | 1 +
CPAN-Checksums-2.08-New-signature.patch | 61 --------------------
...Try-to-connect-to-pool.sks-keyservers.net.patch | 45 --------------
perl-CPAN-Checksums.spec | 25 ++++----
sources | 2 +-
5 files changed, 14 insertions(+), 120 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 33ed55b..793f7da 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ CPAN-Checksums-2.04.tar.gz
/CPAN-Checksums-2.06.tar.gz
/CPAN-Checksums-2.07.tar.gz
/CPAN-Checksums-2.08.tar.gz
+/CPAN-Checksums-2.09.tar.gz
diff --git a/perl-CPAN-Checksums.spec b/perl-CPAN-Checksums.spec
index da35a14..2a3da5d 100644
--- a/perl-CPAN-Checksums.spec
+++ b/perl-CPAN-Checksums.spec
@@ -1,15 +1,11 @@
Name: perl-CPAN-Checksums
-Version: 2.08
-Release: 9%{?dist}
+Version: 2.09
+Release: 1%{?dist}
Summary: Write a CHECKSUMS file for a directory as on CPAN
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/CPAN-Checksums/
Source0: http://www.cpan.org/authors/id/A/AN/ANDK/CPAN-Checksums-%{version}.tar.gz
-# Fix test skip-condition to pass in mock, CPAN RT #94397, bug #1083915
-Patch0: CPAN-Checksums-2.08-Try-to-connect-to-pool.sks-keyservers.net.patch
-# Resing Patch0, produced with "cpansign sign" command before running tests
-Patch1: CPAN-Checksums-2.08-New-signature.patch
BuildArch: noarch
BuildRequires: perl(Compress::Bzip2)
BuildRequires: perl(Compress::Zlib)
@@ -18,36 +14,36 @@ BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Digest::MD5) >= 2.36
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(DirHandle)
+BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
BuildRequires: perl(IO::File) >= 1.14
BuildRequires: perl(Module::Signature)
BuildRequires: perl(Safe)
+BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
+BuildRequires: perl(vars)
# Optional tests
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 0.18
Requires: perl(Safe)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Write a CHECKSUMS file for a directory as on CPAN.
%prep
%setup -q -n CPAN-Checksums-%{version}
-%patch0 -p1
-%patch1 -p1
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
@@ -61,6 +57,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Fri Apr 04 2014 Jitka Plesnikova <jplesnik(a)redhat.com> - 2.09-1
+- 2.09 bump
+
* Thu Apr 03 2014 Petr Pisar <ppisar(a)redhat.com> - 2.08-9
- Fix test skip-condition to pass in mock (bug #1083915)
diff --git a/sources b/sources
index 93fce76..145374a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-058679056ade8ee885b8538fe195d84a CPAN-Checksums-2.08.tar.gz
+6e6bc499e4350c10d6513f2d40040180 CPAN-Checksums-2.09.tar.gz
10 years, 2 months
[perl] Fix t/comp/parser.t not to load system modules
by Petr Pisar
commit 616346850804bb592b52843ae6aef43a3ed784db
Author: Petr Písař <ppisar(a)redhat.com>
Date: Fri Apr 4 13:52:32 2014 +0200
Fix t/comp/parser.t not to load system modules
The fact that "perl" tests (t/base/*.t, t/comp/*.t, t/run/*.t) are run
without -I is intentional. One has to fix each of them.
...t-comp-parser.t-get-the-correct-libraries.patch | 49 ++++++++++++++++++++
perl.spec | 11 ++++-
2 files changed, 59 insertions(+), 1 deletions(-)
---
diff --git a/perl-5.18.2-Make-t-comp-parser.t-get-the-correct-libraries.patch b/perl-5.18.2-Make-t-comp-parser.t-get-the-correct-libraries.patch
new file mode 100644
index 0000000..df686f6
--- /dev/null
+++ b/perl-5.18.2-Make-t-comp-parser.t-get-the-correct-libraries.patch
@@ -0,0 +1,49 @@
+From 56b960b25894b4b1e1f2ce0ff443c187860bdf76 Mon Sep 17 00:00:00 2001
+From: "Craig A. Berry" <craigberry(a)mac.com>
+Date: Sun, 30 Jun 2013 21:09:21 -0500
+Subject: [PATCH] Make t/comp/parser.t get the correct libraries.
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+In principle it shouldn't need libraries, but an eval of a utf8
+constant now triggers automatic loading of utf8.pm, and it was
+looking for that in the usual @INC locations set at configuration
+time. Which just might match an installed perl rather than the
+perl being tested. So make sure we get the correct libraries.
+
+Petr Pisar: Ported to 5.18.2
+
+Signed-off-by: Petr Písař <ppisar(a)redhat.com>
+---
+ t/comp/parser.t | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/t/comp/parser.t b/t/comp/parser.t
+index 4f2da90..f64d5ce 100644
+--- a/t/comp/parser.t
++++ b/t/comp/parser.t
+@@ -3,6 +3,11 @@
+ # Checks if the parser behaves correctly in edge cases
+ # (including weird syntax errors)
+
++BEGIN {
++ @INC = qw(. ../lib);
++ chdir 't';
++}
++
+ print "1..155\n";
+
+ sub failed {
+@@ -462,7 +467,7 @@ like $@, "^Identifier too long at ", 'ident buffer overflow';
+
+ # bug #74022: Loop on characters in \p{OtherIDContinue}
+ # This test hangs if it fails.
+-eval chr 0x387;
++eval chr 0x387; # forces loading of utf8.pm
+ is(1,1, '[perl #74022] Parser looping on OtherIDContinue chars');
+
+ # More awkward tests for #line. Keep these at the end, as they will screw
+--
+1.9.0
+
diff --git a/perl.spec b/perl.spec
index 285e6bd..f2ea8e8 100644
--- a/perl.spec
+++ b/perl.spec
@@ -30,7 +30,7 @@
Name: perl
Version: %{perl_version}
# release number must be even higher, because dual-lived modules will be broken otherwise
-Release: 296%{?dist}
+Release: 297%{?dist}
Epoch: %{perl_epoch}
Summary: Practical Extraction and Report Language
Group: Development/Languages
@@ -118,6 +118,10 @@ Patch21: perl-5.19.2-Fix-using-regexes-with-multiple-code-blocks.patch
# CPAN RT#85015
Patch22: perl-5.18.1-Document-Math-BigInt-CalcEmu-requires-Math-BigInt.patch
+# Fix t/comp/parser.t not to load system modules, bug #1084399, RT#121579,
+# in upstream after 5.19.1
+Patch23: perl-5.18.2-Make-t-comp-parser.t-get-the-correct-libraries.patch
+
# Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048
Patch200: perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
@@ -1904,6 +1908,7 @@ tarball from perl.org.
%patch20 -p1
%patch21 -p1
%patch22 -p1
+%patch23 -p1
%patch200 -p1
%patch201 -p1
@@ -1930,6 +1935,7 @@ perl -x patchlevel.h \
'Fedora Patch20: Reap child in case where exception has been thrown (RT#114722)' \
'Fedora Patch21: Fix using regular expressions containing multiple code blocks (RT#117917)' \
'Fedora Patch22: Document Math::BigInt::CalcEmu requires Math::BigInt (CPAN RT#85015)' \
+ 'Fedora Patch23: Fix t/comp/parser.t not to load system modules (RT#121579)' \
'Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on Linux' \
'Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux' \
%{nil}
@@ -3604,6 +3610,9 @@ sed \
# Old changelog entries are preserved in CVS.
%changelog
+* Fri Apr 04 2014 Petr Pisar <ppisar(a)redhat.com> - 4:5.18.2-297
+- Fix t/comp/parser.t not to load system modules (bug #1084399)
+
* Mon Feb 03 2014 Petr Pisar <ppisar(a)redhat.com> - 4:5.18.2-296
- Move macro files into %%{_rpmconfigdir}/macros.d
10 years, 2 months
[perl-autodie] 2.25 bump
by Petr Pisar
commit e3b33d9714ee9793bc09631edc9177813fd86900
Author: Petr Písař <ppisar(a)redhat.com>
Date: Fri Apr 4 14:43:26 2014 +0200
2.25 bump
.gitignore | 1 +
perl-autodie.spec | 5 ++++-
sources | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4ff3578..3cfb525 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/autodie-2.22.tar.gz
/autodie-2.23.tar.gz
/autodie-2.24.tar.gz
+/autodie-2.25.tar.gz
diff --git a/perl-autodie.spec b/perl-autodie.spec
index 30a4973..6f4dda3 100644
--- a/perl-autodie.spec
+++ b/perl-autodie.spec
@@ -1,5 +1,5 @@
Name: perl-autodie
-Version: 2.24
+Version: 2.25
Release: 1%{?dist}
Summary: Replace functions with ones that succeed or die
License: GPL+ or Artistic
@@ -82,6 +82,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Fri Apr 04 2014 Petr Pisar <ppisar(a)redhat.com> - 2.25-1
+- 2.25 bump
+
* Mon Mar 31 2014 Petr Pisar <ppisar(a)redhat.com> - 2.24-1
- 2.24 bump
diff --git a/sources b/sources
index 2fb922a..9bc3985 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-82aeff19ab6c0f78fabb4cc52c107d46 autodie-2.24.tar.gz
+6bf7df62326e7e22e2916eb82bc12a40 autodie-2.25.tar.gz
10 years, 2 months