[perlbrew] update to 0.15

Iain Arnell iarnell at fedoraproject.org
Thu Dec 9 04:18:43 UTC 2010


commit dfd8a0bd1f4ec97a994d89b93fccddb8cee04919
Author: Iain Arnell <iarnell at gmail.com>
Date:   Thu Dec 9 05:17:58 2010 +0100

    update to 0.15
    
    - no longer requires perl(File::Path::Tiny)
    - patch tests to work on older Test::More for EPEL

 .gitignore            |    1 +
 older-Test-More.patch |   18 ++++++++++++++++++
 perlbrew.spec         |   11 ++++++++---
 sources               |    2 +-
 4 files changed, 28 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index cafb5cd..2ad2ab4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 App-perlbrew-0.06.tar.gz
 /App-perlbrew-0.13.tar.gz
 /App-perlbrew-0.14.tar.gz
+/App-perlbrew-0.15.tar.gz
diff --git a/older-Test-More.patch b/older-Test-More.patch
new file mode 100644
index 0000000..fcd898e
--- /dev/null
+++ b/older-Test-More.patch
@@ -0,0 +1,18 @@
+diff -up App-perlbrew-0.15/t/02.format_perl_version.t.orig App-perlbrew-0.15/t/02.format_perl_version.t
+--- App-perlbrew-0.15/t/02.format_perl_version.t.orig	2010-11-17 11:11:40.000000000 +0100
++++ App-perlbrew-0.15/t/02.format_perl_version.t	2010-12-09 05:15:35.000000000 +0100
+@@ -2,7 +2,7 @@
+ use strict;
+ use warnings;
+ use English qw( -no_match_vars );
+-use Test::More;
++use Test::More tests => 3;
+ use lib qw(lib);
+ 
+ use App::perlbrew;
+@@ -29,5 +29,4 @@ my @test_cases = (
+         is( $app->format_perl_version( $test->{raw} ),
+             $test->{parsed}, "$test->{raw} -> $test->{parsed}" );
+     }
+-    done_testing();
+ }
diff --git a/perlbrew.spec b/perlbrew.spec
index addc800..9bac5fe 100644
--- a/perlbrew.spec
+++ b/perlbrew.spec
@@ -1,19 +1,19 @@
 Name:           perlbrew
-Version:        0.14
+Version:        0.15
 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
+# allow tests to run on older Test::More for EPEL
+Patch0:         older-Test-More.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl >= 1:5.8.0
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(File::Path::Tiny) >= 0.1
 BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:       perl(File::Path::Tiny) >= 0.1
 Requires:       curl
 
 # maybe someone expects to find
@@ -61,6 +61,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Thu Dec 09 2010 Iain Arnell <iarnell at gmail.com> 0.15-1
+- update to latest upstream version
+- no longer requires perl(File::Path::Tiny)
+- patch tests to work on older Test::More for EPEL
+
 * Thu Dec 02 2010 Iain Arnell <iarnell at gmail.com> 0.14-1
 - update to latest upstream version
 
diff --git a/sources b/sources
index 6bd88a4..8a019ea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-eaafff1ad28f891991e224c7dca40bc6  App-perlbrew-0.14.tar.gz
+6d82c3fa3cf3151e8a2b4c40c0eae91b  App-perlbrew-0.15.tar.gz



More information about the perl-devel mailing list