[perlbrew] update to 0.66
Iain Arnell
iarnell at fedoraproject.org
Fri Aug 16 15:09:41 UTC 2013
commit ad06f378a8b7c20bf580595df1bdc59c917f5f5b
Author: Iain Arnell <iarnell at gmail.com>
Date: Fri Aug 16 09:09:26 2013 -0600
update to 0.66
.gitignore | 1 +
perlbrew-vendor.patch | 12 ++++++++++++
perlbrew.spec | 21 +++++++++++++++------
sources | 2 +-
4 files changed, 29 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9c96270..2d59006 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,3 +23,4 @@
/App-perlbrew-0.62.tar.gz
/App-perlbrew-0.63.tar.gz
/App-perlbrew-0.64.tar.gz
+/App-perlbrew-0.66.tar.gz
diff --git a/perlbrew-vendor.patch b/perlbrew-vendor.patch
new file mode 100644
index 0000000..8e3b97f
--- /dev/null
+++ b/perlbrew-vendor.patch
@@ -0,0 +1,12 @@
+diff -up App-perlbrew-0.66/lib/App/perlbrew.pm.orig App-perlbrew-0.66/lib/App/perlbrew.pm
+--- App-perlbrew-0.66/lib/App/perlbrew.pm.orig 2013-08-02 16:27:44.000000000 -0600
++++ App-perlbrew-0.66/lib/App/perlbrew.pm 2013-08-16 08:20:11.360091992 -0600
+@@ -12,7 +12,7 @@ BEGIN {
+ @INC = (
+ $Config{sitelibexp}."/".$Config{archname},
+ $Config{sitelibexp},
+- @Config{qw<archlibexp privlibexp>},
++ @Config{qw<vendorlibexp vendorarchexp archlibexp privlibexp>},
+ );
+
+ require Cwd;
diff --git a/perlbrew.spec b/perlbrew.spec
index 6baefdf..eeb4e58 100644
--- a/perlbrew.spec
+++ b/perlbrew.spec
@@ -1,17 +1,20 @@
Name: perlbrew
-Version: 0.64
-Release: 3%{?dist}
+Version: 0.66
+Release: 1%{?dist}
Summary: Manage perl installations in your $HOME
License: MIT
Group: Development/Libraries
URL: http://search.cpan.org/dist/App-perlbrew/
Source0: http://www.cpan.org/authors/id/G/GU/GUGOD/App-perlbrew-%{version}.tar.gz
+# Fedora's Cwd lives in vendorarch
+# https://rt.cpan.org/Ticket/Display.html?id=87897
+Patch0: %{name}-vendor.patch
BuildArch: noarch
BuildRequires: perl(Capture::Tiny) >= 0.19
-BuildRequires: perl(CPAN::Perl::Releases) >= 0.68
+BuildRequires: perl(CPAN::Perl::Releases) >= 1.26
BuildRequires: perl(Cwd)
BuildRequires: perl(Data::Dumper)
-BuildRequires: perl(Devel::PatchPerl) >= 0.76
+BuildRequires: perl(Devel::PatchPerl) >= 1.00
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Path::Tiny) >= 0.3
@@ -22,9 +25,9 @@ BuildRequires: perl(Path::Class)
BuildRequires: perl(Pod::Usage)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)
-BuildRequires: perl(Test::Output)
+BuildRequires: perl(Test::Output) >= 0.04
BuildRequires: perl(Test::NoWarnings)
-BuildRequires: perl(Test::Spec)
+BuildRequires: perl(Test::Spec) >= 0.46
BuildRequires: perl(Try::Tiny)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Capture::Tiny) >= 0.19
@@ -53,12 +56,14 @@ almost like an isolated perl environments.
%prep
%setup -q -n App-perlbrew-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
+perl -V
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -76,6 +81,10 @@ make test
%{_mandir}/man3/*
%changelog
+* Sat Aug 10 2013 Iain Arnell <iarnell at gmail.com> 0.66-1
+- update to latest upstream version
+- patch to include vendorarch/vendorlib in "special" handling of Cwd (RT#87897)
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.64-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 053c0bc..d756b4b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ceb5832d00dd41576078b37db2944449 App-perlbrew-0.64.tar.gz
+bdfc1bc3449ffe42a3fb41cedf7031ba App-perlbrew-0.66.tar.gz
More information about the scm-commits
mailing list