[perl-Test-Synopsis] Update to 0.07
Paul Howarth
pghmcfc at fedoraproject.org
Wed Feb 5 20:42:14 UTC 2014
commit 520a3395882fdfb2cbd051aec26b573d881135b1
Author: Paul Howarth <paul at city-fan.org>
Date: Wed Feb 5 17:49:11 2014 +0000
Update to 0.07
- New upstream release 0.07
- Converted to dzil for automation of everything and auto-generation of all
the author/release tests and extra files
- Fixed CPAN RT#84863: Should ignore descriptions, and other text that is not
code
- Fixed CPAN RT#76856: Sandbox breaks when combining synopses that use Moose
and Moose::Role
- Fixed CPAN RT#69438: Heredocs fail to terminate because of the leading
space for verbatim blocks
- Fixed CPAN RT#54731: Suggest =for conditionalized synopsis check
- Fixed CPAN RT#53192: Missing Copyright information for Test::Synopsis
- Fixed CPAN RT#52684: Pod directive to skip Test::Synopsis
- Fixed CPAN RT#51534: End =for at blank line
- Fixed CPAN RT#51535: Show failing code on error
- This release by ZOFFIX -> update source URL
- Package upstream's LICENSE and README.md files
- Classify buildreqs by usage
.gitignore | 2 +-
perl-Test-Synopsis.spec | 85 ++++++++++++++++++++++++++++++++++++-----------
sources | 2 +-
3 files changed, 67 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 494c62b..181ed0f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Test-Synopsis-0.06.tar.gz
+/Test-Synopsis-[0-9.]*.tar.gz
diff --git a/perl-Test-Synopsis.spec b/perl-Test-Synopsis.spec
index 3d509f1..50c60e7 100644
--- a/perl-Test-Synopsis.spec
+++ b/perl-Test-Synopsis.spec
@@ -1,33 +1,57 @@
+# TODO: BR: perl(Test::Kwalitee::Extra) when available
+
+# noarch, but to avoid debug* files interfering with manifest test:
+%global debug_package %{nil}
+
Name: perl-Test-Synopsis
-Version: 0.06
-Release: 19%{?dist}
+Version: 0.07
+Release: 1%{?dist}
Summary: Test your SYNOPSIS code
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Test-Synopsis/
-Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Test-Synopsis-%{version}.tar.gz
+Source0: http://search.cpan.org/CPAN/authors/id/Z/ZO/ZOFFIX/Test-Synopsis-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
+# Module Build
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
+# Module Runtime
BuildRequires: perl(base)
-BuildRequires: perl(Carp)
-BuildRequires: perl(Cwd)
-BuildRequires: perl(Exporter)
-BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::Manifest)
-BuildRequires: perl(File::Path)
+BuildRequires: perl(Pod::Parser)
+BuildRequires: perl(strict)
BuildRequires: perl(Test::Builder::Module)
-BuildRequires: perl(Test::Pod) >= 1.00
-# Test::Perl::Critic -> Perl::Critic -> List::MoreUtils -> Test::LeakTrace -> Test::Synopsis
-%if 0%{!?perl_bootstrap:1}
-BuildRequires: perl(Test::Perl::Critic)
-%endif
-# RHEL-7 package cannot have buildreqs from EPEL-7 (aspell-en), so skip the
-# spell check there; we won't need Test::Spelling either in that case
-%if 0%{?rhel} < 7
-BuildRequires: aspell-en
-BuildRequires: perl(Test::Spelling)
+BuildRequires: perl(warnings)
+# Test Suite
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(IO::Handle)
+BuildRequires: perl(IPC::Open3)
+BuildRequires: perl(Test::Builder) >= 0.33
+BuildRequires: perl(Test::Builder::Tester)
+BuildRequires: perl(Test::More)
+# Extra Tests; can't run these when bootstrapping or in EL since many
+# of these packages won't be available
+%if 0%{!?perl_bootstrap:1} && 0%{!?rhel:1}
+BuildRequires: perl(Pod::Coverage::TrustPod)
+BuildRequires: perl(Pod::Spell) >= 1.06
+BuildRequires: perl(Test::CPAN::Changes)
+BuildRequires: perl(Test::CPAN::Meta)
+BuildRequires: perl(Test::DistManifest)
+BuildRequires: perl(Test::EOL)
+BuildRequires: perl(Test::MinimumVersion)
+BuildRequires: perl(Test::Mojibake)
+BuildRequires: perl(Test::More) >= 0.96
+BuildRequires: perl(Test::NoTabs)
+BuildRequires: perl(Test::Pod) >= 1.41
+BuildRequires: perl(Test::Pod::Coverage) >= 1.08
+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(Pod::Parser)
Requires: perl(Test::Builder::Module)
%description
@@ -53,17 +77,38 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%check
make test
-make test TEST_FILES="xt/*.t"
+%if 0%{!?perl_bootstrap:1} && 0%{!?rhel:1}
+make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
+%endif
%clean
rm -rf %{buildroot}
%files
-%doc Changes README
+%doc Changes LICENSE README README.md
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::Synopsis.3pm*
%changelog
+* Wed Feb 5 2014 Paul Howarth <paul at city-fan.org> 0.07-1
+- Update to 0.07
+ - Converted to dzil for automation of everything and auto-generation of all
+ the author/release tests and extra files
+ - Fixed CPAN RT#84863: Should ignore descriptions, and other text that is not
+ code
+ - Fixed CPAN RT#76856: Sandbox breaks when combining synopses that use Moose
+ and Moose::Role
+ - Fixed CPAN RT#69438: Heredocs fail to terminate because of the leading
+ space for verbatim blocks
+ - Fixed CPAN RT#54731: Suggest =for conditionalized synopsis check
+ - Fixed CPAN RT#53192: Missing Copyright information for Test::Synopsis
+ - Fixed CPAN RT#52684: Pod directive to skip Test::Synopsis
+ - Fixed CPAN RT#51534: End =for at blank line
+ - Fixed CPAN RT#51535: Show failing code on error
+- This release by ZOFFIX -> update source URL
+- Package upstream's LICENSE and README.md files
+- Classify buildreqs by usage
+
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik at redhat.com> - 0.06-19
- Perl 5.18 re-rebuild of bootstrapped packages
diff --git a/sources b/sources
index 10a13c1..f869c4b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6114b3d3f354ad864d83fb8689934ca1 Test-Synopsis-0.06.tar.gz
+f661ccae395008e4b6a2888e6cd331a3 Test-Synopsis-0.07.tar.gz
More information about the scm-commits
mailing list