From c0734fb70c0b4d41567890f98620403ea6fdf390 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Tue, 11 Apr 2017 13:45:32 +0100
Subject: Update to 0.24

- New upstream release 0.24
  - Fix test to handle altered Test::Without::Module exception message (GH#2)
---
 0001-Fix-test-for-Test-Without-Module-0.19.patch | 25 ------------------------
 perl-Class-Load.spec                             | 15 +++++++-------
 sources                                          |  2 +-
 3 files changed, 8 insertions(+), 34 deletions(-)
 delete mode 100644 0001-Fix-test-for-Test-Without-Module-0.19.patch

diff --git a/0001-Fix-test-for-Test-Without-Module-0.19.patch 
b/0001-Fix-test-for-Test-Without-Module-0.19.patch
deleted file mode 100644
index e041f8c..0000000
--- a/0001-Fix-test-for-Test-Without-Module-0.19.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 1f38167de051b0df00ca25ce8f351f9d8f3d21f1 Mon Sep 17 00:00:00 2001
-From: Paul Howarth <p...@city-fan.org>
-Date: Fri, 7 Apr 2017 11:58:01 +0100
-Subject: [PATCH] Fix test for Test::Without::Module 0.19
-
----
- t/012-without-implementation.t | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/t/012-without-implementation.t b/t/012-without-implementation.t
-index 9f47c52..3191b52 100644
---- a/t/012-without-implementation.t
-+++ b/t/012-without-implementation.t
-@@ -12,7 +12,7 @@ use Test::Without::Module qw( Class::Load::PP 
Class::Load::XS );
- {
-     like(
-         exception { require Class::Load },
--        qr/Class.Load.PP\.pm did not return a true value/,
-+        qr!Can't locate Class/Load/PP\.pm in \@INC|Class.Load.PP\.pm did not 
return a true value!,
-         'error when loading Class::Load and no implementation is available 
includes errors from trying to load modules'
-     );
- }
--- 
-2.9.3
-
diff --git a/perl-Class-Load.spec b/perl-Class-Load.spec
index 86bfc04..92f330d 100644
--- a/perl-Class-Load.spec
+++ b/perl-Class-Load.spec
@@ -1,11 +1,10 @@
 Name:          perl-Class-Load
-Version:       0.23
-Release:       6%{?dist}
+Version:       0.24
+Release:       1%{?dist}
 Summary:       A working (require "Class::Name") and more
 License:       GPL+ or Artistic
 URL:           http://search.cpan.org/dist/Class-Load/
 Source0:       
http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Load-%{version}.tar.gz
-Patch0:                0001-Fix-test-for-Test-Without-Module-0.19.patch
 BuildArch:     noarch
 # ===================================================================
 # Module build requirements
@@ -40,7 +39,7 @@ BuildRequires:        perl(File::Spec)
 BuildRequires: perl(lib)
 BuildRequires: perl(Test::Fatal)
 BuildRequires: perl(Test::More) >= 0.88
-BuildRequires: perl(Test::Requires)
+BuildRequires: perl(Test::Needs)
 BuildRequires: perl(Test::Without::Module)
 BuildRequires: perl(version)
 # ===================================================================
@@ -65,10 +64,6 @@ provide is_class_loaded 'Class::Name'.
 %prep
 %setup -q -n Class-Load-%{version}
 
-# Fix test for Test::Without::Module ≥ 0.19
-# https://github.com/moose/Class-Load/pull/2
-%patch0 -p1
-
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -92,6 +87,10 @@ make test
 %{_mandir}/man3/Class::Load.3*
 
 %changelog
+* Tue Apr 11 2017 Paul Howarth <p...@city-fan.org> - 0.24-1
+- Update to 0.24
+  - Fix test to handle altered Test::Without::Module exception message (GH#2)
+
 * Fri Apr  7 2017 Paul Howarth <p...@city-fan.org> - 0.23-6
 - Fix FTBFS with Test::Without::Module ≥ 0.19
   (https://github.com/moose/Class-Load/pull/2)
diff --git a/sources b/sources
index 1924861..9541280 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-080973026b82051117b6c18f5d77aaa9  Class-Load-0.23.tar.gz
+SHA512 (Class-Load-0.24.tar.gz) = 
42459727fc622334336aedaa49e3dfd1aa92103c838a33b30ac61d9d9fe74512f7b1012b3c20fd1c4eaab1456545feab4d9d22b91162ecddd4683defc1b987eb
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Class-Load.git/commit/?h=f26&id=c0734fb70c0b4d41567890f98620403ea6fdf390
_______________________________________________
perl-devel mailing list -- perl-de...@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to