Notification time stamped 2019-12-19 21:02:48 UTC
From c47e1d267ebb1c3335632d99adf8cbc3fe56fb5c Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul(a)city-fan.org>
Date: Dec 19 2019 21:02:11 +0000
Subject: Update to 1.045
- New upstream release 1.045
- Fix test for extracting modules from parent and base
---
diff --git a/0001-Fix-t-rt-79273.t-now-that-modules-loaded-via-parent-.patch
b/0001-Fix-t-rt-79273.t-now-that-modules-loaded-via-parent-.patch
deleted file mode 100644
index 1f09b09..0000000
--- a/0001-Fix-t-rt-79273.t-now-that-modules-loaded-via-parent-.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From 7208641a66165f840bae8feb9f0483f462a7f486 Mon Sep 17 00:00:00 2001
-From: Paul Howarth <paul(a)city-fan.org>
-Date: Wed, 18 Dec 2019 10:46:31 +0000
-Subject: [PATCH] Fix t/rt/79273.t now that modules loaded via parent are
- detected
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This test is not run by default and hence was missed in the 1.044 release. It
-is run only if Test::Manifest ≥ 1.21 is present.
----
- t/rt/79273.t | 12 +++++++++++-
- 1 file changed, 11 insertions(+), 1 deletion(-)
-
-diff --git a/t/rt/79273.t b/t/rt/79273.t
-index b23428a..7ea8dd8 100755
---- a/t/rt/79273.t
-+++ b/t/rt/79273.t
-@@ -21,7 +21,7 @@ my $file = catfile( qw(corpus RT79273.pm) );
- ok( -e $file, "Test file [$file] is there" );
-
- my $details = $extor->get_modules_with_details( $file );
--is( scalar @$details, 2, 'There are the right number of hits' );
-+is( scalar @$details, 3, 'There are the right number of hits' );
-
- is_deeply( $details, expected(), 'The data structures match' );
- }
-@@ -29,6 +29,7 @@ is_deeply( $details, expected(), 'The data structures match'
);
- sub expected {
- return [
- {
-+ 'direct' => 1,
- 'content' => 'use parent \'CGI::Snapp\';',
- 'pragma' => 'parent',
- 'version' => undef,
-@@ -36,11 +37,20 @@ sub expected {
- 'module' => 'parent'
- },
- {
-+ 'direct' => 1,
- 'content' => 'use Capture::Tiny \'capture\';',
- 'pragma' => '',
- 'version' => undef,
- 'imports' => [qw(capture)],
- 'module' => 'Capture::Tiny'
- },
-+ {
-+ 'direct' => 0,
-+ 'content' => 'use parent \'CGI::Snapp\';',
-+ 'pragma' => undef,
-+ 'version' => undef,
-+ 'imports' => [],
-+ 'module' => 'CGI::Snapp'
-+ },
- ];
- }
---
-2.23.0
-
diff --git a/perl-Module-Extract-Use.spec b/perl-Module-Extract-Use.spec
index a0df5dd..2dcf87a 100644
--- a/perl-Module-Extract-Use.spec
+++ b/perl-Module-Extract-Use.spec
@@ -1,11 +1,10 @@
Summary: Pull out the modules a module explicitly uses
Name: perl-Module-Extract-Use
-Version: 1.044
+Version: 1.045
Release: 1%{?dist}
License: Artistic 2.0
URL:
https://metacpan.org/release/Module-Extract-Use
Source0:
https://cpan.metacpan.org/modules/by-module/Module/Module-Extract-Use-%{v...
-Patch1: 0001-Fix-t-rt-79273.t-now-that-modules-loaded-via-parent-.patch
BuildArch: noarch
# Module Build
BuildRequires: coreutils
@@ -24,7 +23,6 @@ BuildRequires: perl(subs)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Test Suite
-BuildRequires: perl(Data::Dumper)
BuildRequires: perl(File::Basename)
BuildRequires: perl(Test::More) >= 1.0
# Optional Tests
@@ -45,10 +43,6 @@ returns.
%prep
%setup -q -n Module-Extract-Use-%{version}
-# Fix t/rt/79273.t
-#
https://github.com/briandfoy/module-extract-use/pull/5
-%patch1 -p1
-
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@@ -72,6 +66,10 @@ make test
%{_mandir}/man3/Module::Extract::Use.3*
%changelog
+* Thu Dec 19 2019 Paul Howarth <paul(a)city-fan.org> - 1.045-1
+- Update to 1.045
+ - Fix test for extracting modules from parent and base
+
* Wed Dec 18 2019 Paul Howarth <paul(a)city-fan.org> - 1.044-1
- Update to 1.044
- Handle a couple of new cases:
diff --git a/sources b/sources
index c4b50e2..2a84a37 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Module-Extract-Use-1.044.tar.gz) =
48722792fc548eadaca2197f4be3262c5b453c523cc0f7f60be2ef8996dea41945834159ec5ee025e8fe5064541ba1f00427c6e4d033261fadd1d62ffc9e1ca5
+SHA512 (Module-Extract-Use-1.045.tar.gz) =
665e7551c2f3b880f6fb0372c66d7e5452b7f9950c5e22f465057a7532f7a97a0f792ce85836bc18d6ac011ef5ff4a693bc00d5af52aee22567cbe9aceaed14f
https://src.fedoraproject.org/rpms/perl-Module-Extract-Use/c/c47e1d267ebb...