|
|
|
@ -1,11 +1,9 @@
|
|
|
|
|
# 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.10
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.11
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Test your SYNOPSIS code
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
@ -14,7 +12,8 @@ Source0: http://search.cpan.org/CPAN/authors/id/Z/ZO/ZOFFIX/Test-Synopsis-%{vers
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Module Build
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
# Module Runtime
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(ExtUtils::Manifest)
|
|
|
|
@ -28,7 +27,7 @@ BuildRequires: perl(IO::Handle)
|
|
|
|
|
BuildRequires: perl(IPC::Open3)
|
|
|
|
|
BuildRequires: perl(Test::Builder) >= 0.34
|
|
|
|
|
BuildRequires: perl(Test::Builder::Tester)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.82
|
|
|
|
|
# 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}
|
|
|
|
@ -38,6 +37,7 @@ BuildRequires: perl(Test::CPAN::Changes)
|
|
|
|
|
BuildRequires: perl(Test::CPAN::Meta)
|
|
|
|
|
BuildRequires: perl(Test::DistManifest)
|
|
|
|
|
BuildRequires: perl(Test::EOL)
|
|
|
|
|
BuildRequires: perl(Test::Kwalitee) >= 1.21
|
|
|
|
|
BuildRequires: perl(Test::MinimumVersion)
|
|
|
|
|
BuildRequires: perl(Test::Mojibake)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
|
|
|
@ -85,11 +85,22 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes LICENSE README README.md
|
|
|
|
|
%if 0%{?_licensedir:1}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%else
|
|
|
|
|
%doc LICENSE
|
|
|
|
|
%endif
|
|
|
|
|
%doc Changes README README.md
|
|
|
|
|
%{perl_vendorlib}/Test/
|
|
|
|
|
%{_mandir}/man3/Test::Synopsis.3pm*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Oct 9 2014 Paul Howarth <paul@city-fan.org> - 0.11-1
|
|
|
|
|
- Update to 0.11
|
|
|
|
|
- Added #10 to CAVEATS (redefined warnings)
|
|
|
|
|
- Fixed #11 (failing tests on newer perls)
|
|
|
|
|
- Use %%license where possible
|
|
|
|
|
|
|
|
|
|
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-4
|
|
|
|
|
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|