[perl-B-Hooks-EndOfScope] Update to 0.13
Paul Howarth
pghmcfc at fedoraproject.org
Wed Jan 8 16:39:03 UTC 2014
commit 0f0255be61eb8475ac7dfbbceddfa908db5247c3
Author: Paul Howarth <paul at city-fan.org>
Date: Wed Jan 8 16:37:26 2014 +0000
Update to 0.13
- New upstream release 0.13:
- Variable::Magic added as a runtime recommendation for greater visibility
(CPAN RT#89245)
- Fixed broken logic in compiler detection on older perls
- Fixed inaccurate repository metadata
- This release by ETHER -> update source URL
- Drop Pod Coverage patch, no longer needed
- Update shellbang patch
- Don't run the release tests when bootstrapping
B-Hooks-EndOfScope-0.10-shellbangs.patch | 18 ----------
B-Hooks-EndOfScope-0.12-podcoverage.patch | 20 ------------
B-Hooks-EndOfScope-0.13-shellbangs.patch | 8 +++++
perl-B-Hooks-EndOfScope.spec | 49 +++++++++++++++++++++--------
sources | 2 +-
5 files changed, 45 insertions(+), 52 deletions(-)
---
diff --git a/B-Hooks-EndOfScope-0.13-shellbangs.patch b/B-Hooks-EndOfScope-0.13-shellbangs.patch
new file mode 100644
index 0000000..9520976
--- /dev/null
+++ b/B-Hooks-EndOfScope-0.13-shellbangs.patch
@@ -0,0 +1,8 @@
+--- t/00-report-prereqs.t
++++ t/00-report-prereqs.t
+@@ -1,4 +1,4 @@
+-#!perl
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
diff --git a/perl-B-Hooks-EndOfScope.spec b/perl-B-Hooks-EndOfScope.spec
index 0c8e1b1..522f370 100644
--- a/perl-B-Hooks-EndOfScope.spec
+++ b/perl-B-Hooks-EndOfScope.spec
@@ -1,13 +1,12 @@
Name: perl-B-Hooks-EndOfScope
-Version: 0.12
-Release: 4%{?dist}
+Version: 0.13
+Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Summary: Execute code after scope compilation finishes
URL: http://search.cpan.org/dist/B-Hooks-EndOfScope/
-Source0: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/B-Hooks-EndOfScope-%{version}.tar.gz
-Patch0: B-Hooks-EndOfScope-0.12-podcoverage.patch
-Patch2: B-Hooks-EndOfScope-0.10-shellbangs.patch
+Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/B-Hooks-EndOfScope-%{version}.tar.gz
+Patch0: B-Hooks-EndOfScope-0.13-shellbangs.patch
BuildArch: noarch
# Build
BuildRequires: perl(ExtUtils::CBuilder)
@@ -24,14 +23,28 @@ BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001006
BuildRequires: perl(Variable::Magic) >= 0.48
# Test suite
+BuildRequires: perl(CPAN::Meta)
+BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(Devel::Hide) >= 0.0007
BuildRequires: perl(Test::More) >= 0.89
# Release tests
+%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(Pod::Coverage::TrustPod)
+BuildRequires: perl(Test::CPAN::Changes)
+BuildRequires: perl(Test::CPAN::Meta)
BuildRequires: perl(Test::EOL)
+BuildRequires: perl(Test::Kwalitee)
+BuildRequires: perl(Test::MinimumVersion)
+BuildRequires: perl(Test::Mojibake)
BuildRequires: perl(Test::NoTabs)
BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
+BuildRequires: perl(Test::Pod::No404s)
+BuildRequires: perl(Test::Portability::Files)
+BuildRequires: perl(Test::Spelling), hunspell-en
+BuildRequires: perl(Test::Vars)
+BuildRequires: perl(Test::Version)
+%endif
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Module::Implementation) >= 0.05
@@ -45,11 +58,8 @@ surrounding scope.
%prep
%setup -q -n B-Hooks-EndOfScope-%{version}
-# Fix POD coverage
-%patch0
-
# Remove shellbangs from tests to placate rpmlint
-%patch2 -p1
+%patch0
%build
perl Makefile.PL INSTALLDIRS=vendor
@@ -61,18 +71,31 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}
%check
-make test RELEASE_TESTING=1
+export AUTHOR_TESTING=1
+make test
+%if 0%{!?perl_bootstrap:1}
+make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
+%endif
%files
-%doc Changes LICENSE README t/
+%doc Changes CONTRIBUTING LICENSE README README.md t/
%{perl_vendorlib}/B/
%{_mandir}/man3/B::Hooks::EndOfScope.3pm*
%{_mandir}/man3/B::Hooks::EndOfScope::PP.3pm*
-%{_mandir}/man3/B::Hooks::EndOfScope::PP::FieldHash.3pm*
-%{_mandir}/man3/B::Hooks::EndOfScope::PP::HintHash.3pm*
%{_mandir}/man3/B::Hooks::EndOfScope::XS.3pm*
%changelog
+* Wed Jan 8 2014 Paul Howarth <paul at city-fan.org> - 0.13-1
+- Update to 0.13
+ - Variable::Magic added as a runtime recommendation for greater visibility
+ (CPAN RT#89245)
+ - Fixed broken logic in compiler detection on older perls
+ - Fixed inaccurate repository metadata
+- This release by ETHER -> update source URL
+- Drop Pod Coverage patch, no longer needed
+- Update shellbang patch
+- Don't run the release tests when bootstrapping
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 1766a2f..003be91 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1a536388be36b658ff50a621e0ee03a5 B-Hooks-EndOfScope-0.12.tar.gz
+6cdaaa88a39054cd13aacad7bd2171da B-Hooks-EndOfScope-0.13.tar.gz
More information about the scm-commits
mailing list