|
|
1567260 |
Name: perl-Test-Modern
|
|
|
d801404 |
Version: 0.013
|
|
|
cf176d1 |
Release: 15%{?dist}
|
|
|
1567260 |
Summary: Precision testing for modern perl
|
|
|
e09560c |
License: GPL+ or Artistic
|
|
|
db4cae3 |
URL: https://metacpan.org/release/Test-Modern
|
|
|
cf176d1 |
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Modern-%{version}.tar.gz
|
|
|
1567260 |
BuildArch: noarch
|
|
|
1567260 |
# Module Build
|
|
|
cf176d1 |
BuildRequires: coreutils
|
|
|
cf176d1 |
BuildRequires: findutils
|
|
|
cf176d1 |
BuildRequires: make
|
|
|
e2a91bb |
BuildRequires: perl-generators
|
|
|
cf176d1 |
BuildRequires: perl-interpreter
|
|
|
1567260 |
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.000
|
|
|
1567260 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
|
|
|
1567260 |
# Module Runtime
|
|
|
1567260 |
BuildRequires: perl(B)
|
|
|
f76f7f6 |
BuildRequires: perl(Cwd)
|
|
|
1567260 |
BuildRequires: perl(Exporter::Tiny) >= 0.030
|
|
|
f76f7f6 |
BuildRequires: perl(File::Spec)
|
|
|
bb1453c |
BuildRequires: perl(IO::File) >= 1.08
|
|
|
bb1453c |
BuildRequires: perl(IO::Handle) >= 1.21
|
|
|
1567260 |
BuildRequires: perl(Import::Into) >= 1.002000
|
|
|
1567260 |
BuildRequires: perl(Module::Runtime) >= 0.012
|
|
|
1567260 |
BuildRequires: perl(Moose::Util)
|
|
|
1567260 |
BuildRequires: perl(Mouse::Util)
|
|
|
1567260 |
BuildRequires: perl(Role::Tiny)
|
|
|
1567260 |
BuildRequires: perl(Scalar::Util)
|
|
|
1567260 |
BuildRequires: perl(strict)
|
|
|
1567260 |
BuildRequires: perl(Test::API) >= 0.004
|
|
|
1567260 |
BuildRequires: perl(Test::Deep) >= 0.111
|
|
|
1567260 |
BuildRequires: perl(Test::Fatal) >= 0.007
|
|
|
1567260 |
BuildRequires: perl(Test::LongString) >= 0.15
|
|
|
1567260 |
BuildRequires: perl(Test::More) >= 0.96
|
|
|
971076b |
BuildRequires: perl(Test::Pod)
|
|
|
971076b |
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
971076b |
BuildRequires: perl(Test::Version)
|
|
|
1567260 |
BuildRequires: perl(Test::Warnings) >= 0.009
|
|
|
1567260 |
BuildRequires: perl(Try::Tiny) >= 0.15
|
|
|
1567260 |
BuildRequires: perl(warnings)
|
|
|
1567260 |
# Test Suite
|
|
|
1567260 |
BuildRequires: perl(base)
|
|
|
1567260 |
BuildRequires: perl(Data::Dumper)
|
|
|
1567260 |
# Optional Test Requirements
|
|
|
d801404 |
BuildRequires: perl(LWP::UserAgent)
|
|
|
1567260 |
BuildRequires: perl(Moose) >= 2.0600
|
|
|
1567260 |
BuildRequires: perl(namespace::clean)
|
|
|
cf176d1 |
# Dependencies
|
|
|
1567260 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
1567260 |
Requires: perl(B)
|
|
|
1567260 |
Requires: perl(Moose::Util)
|
|
|
1567260 |
Requires: perl(Mouse::Util)
|
|
|
1567260 |
Requires: perl(Role::Tiny)
|
|
|
1567260 |
Requires: perl(Scalar::Util)
|
|
|
0e9ddc2 |
Requires: perl(Test::LongString) >= 0.15
|
|
|
971076b |
Requires: perl(Test::Pod)
|
|
|
971076b |
Requires: perl(Test::Pod::Coverage)
|
|
|
971076b |
Requires: perl(Test::Version)
|
|
|
1567260 |
|
|
|
1567260 |
%description
|
|
|
1567260 |
Test::Modern provides the best features of Test::More, Test::Fatal,
|
|
|
1567260 |
Test::Warnings, Test::API, Test::LongString, and Test::Deep, as well as ideas
|
|
|
1567260 |
from Test::Requires, Test::DescribeMe, Test::Moose, and Test::CleanNamespaces.
|
|
|
1567260 |
|
|
|
3a31b3e |
Test::Modern also automatically imposes strict and warnings on your script,
|
|
|
3a31b3e |
and loads IO::File (much of the same stuff Modern::Perl does).
|
|
|
1567260 |
|
|
|
1567260 |
%prep
|
|
|
1567260 |
%setup -q -n Test-Modern-%{version}
|
|
|
1567260 |
|
|
|
1567260 |
%build
|
|
|
1567260 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
1567260 |
make %{?_smp_mflags}
|
|
|
1567260 |
|
|
|
1567260 |
%install
|
|
|
1567260 |
make pure_install DESTDIR=%{buildroot}
|
|
|
cf176d1 |
find %{buildroot} -type f -name .packlist -delete
|
|
|
cf176d1 |
%{_fixperms} -c %{buildroot}
|
|
|
1567260 |
|
|
|
1567260 |
%check
|
|
|
1567260 |
make test
|
|
|
1567260 |
|
|
|
1567260 |
%files
|
|
|
0e9ddc2 |
%license COPYRIGHT LICENSE
|
|
|
0e9ddc2 |
%doc Changes CONTRIBUTING CREDITS README
|
|
|
1567260 |
%{perl_vendorlib}/Test/
|
|
|
f76f7f6 |
%{_mandir}/man3/Test::Modern.3*
|
|
|
1567260 |
|
|
|
1567260 |
%changelog
|
|
|
cf176d1 |
* Tue Nov 5 2019 Paul Howarth <paul@city-fan.org> - 0.013-15
|
|
|
cf176d1 |
- Spec tidy-up
|
|
|
cf176d1 |
- Use author-independent source URL
|
|
|
cf176d1 |
- Specify all build dependencies
|
|
|
cf176d1 |
- Simplify find command using -delete
|
|
|
cf176d1 |
- Fix permissions verbosely
|
|
|
cf176d1 |
|
|
|
9f2b0a1 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.013-14
|
|
|
9f2b0a1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
9f2b0a1 |
|
|
|
3a4d9aa |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.013-13
|
|
|
3a4d9aa |
- Perl 5.30 rebuild
|
|
|
3a4d9aa |
|
|
|
831819e |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.013-12
|
|
|
831819e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
831819e |
|
|
|
04dbe61 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.013-11
|
|
|
04dbe61 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
04dbe61 |
|
|
|
bbf2999 |
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.013-10
|
|
|
bbf2999 |
- Perl 5.28 rebuild
|
|
|
bbf2999 |
|
|
|
55a9cd3 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.013-9
|
|
|
55a9cd3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
55a9cd3 |
|
|
|
503aac3 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.013-8
|
|
|
503aac3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
503aac3 |
|
|
|
0f7a186 |
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.013-7
|
|
|
0f7a186 |
- Perl 5.26 rebuild
|
|
|
0f7a186 |
|
|
|
2a2d8cc |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.013-6
|
|
|
2a2d8cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
2a2d8cc |
|
|
|
00861d0 |
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.013-5
|
|
|
00861d0 |
- Perl 5.24 rebuild
|
|
|
00861d0 |
|
|
|
d4e321f |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.013-4
|
|
|
d4e321f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
d4e321f |
|
|
|
d762954 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.013-3
|
|
|
d762954 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
d762954 |
|
|
|
e3d293d |
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.013-2
|
|
|
e3d293d |
- Perl 5.22 rebuild
|
|
|
e3d293d |
|
|
|
d801404 |
* Thu Oct 9 2014 Paul Howarth <paul@city-fan.org> - 0.013-1
|
|
|
d801404 |
- Update to 0.013
|
|
|
d801404 |
- Add 'test recommends' dependencies on a few modules
|
|
|
d801404 |
|
|
|
1c9684c |
* Tue Sep 30 2014 Paul Howarth <paul@city-fan.org> - 0.012-1
|
|
|
1c9684c |
- Update to 0.012
|
|
|
1c9684c |
- does_ok no longer calls the internal Test::Builder '_try' method
|
|
|
1c9684c |
|
|
|
0e9ddc2 |
* Thu Sep 18 2014 Paul Howarth <paul@city-fan.org> - 0.011-1
|
|
|
0e9ddc2 |
- Update to 0.011
|
|
|
0e9ddc2 |
- version_all_same now copes better with undef versions
|
|
|
0e9ddc2 |
- Use %%license
|
|
|
0e9ddc2 |
|
|
|
025216f |
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.010-2
|
|
|
025216f |
- Perl 5.20 rebuild
|
|
|
025216f |
|
|
|
8187c31 |
* Fri Jul 18 2014 Paul Howarth <paul@city-fan.org> - 0.010-1
|
|
|
8187c31 |
- Update to 0.010
|
|
|
8187c31 |
- Fix the behaviour of the BAIL_OUT called within object_ok
|
|
|
8187c31 |
- Add is_fastest, inspired by Test::Benchmark
|
|
|
8187c31 |
|
|
|
a08edce |
* Mon Jul 7 2014 Paul Howarth <paul@city-fan.org> - 0.009-1
|
|
|
a08edce |
- Update to 0.009
|
|
|
a08edce |
- Added: Implement an `-internet` feature allowing test scripts to declare
|
|
|
a08edce |
they need access to the Internet; this honours the NO_NETWORK_TESTS
|
|
|
a08edce |
environment variable
|
|
|
a08edce |
- Precautionary bypassing of prototype for internal calls to
|
|
|
a08edce |
`Test::More::subtest`
|
|
|
a08edce |
- Updated: Improved `namespaces_clean` implementation along the same lines
|
|
|
a08edce |
as recent changes to Test::CleanNamespaces
|
|
|
a08edce |
|
|
|
e09560c |
* Thu Jun 19 2014 Paul Howarth <paul@city-fan.org> - 0.008-1
|
|
|
e09560c |
- Update to 0.008
|
|
|
e09560c |
- Package with a newer Dist::Inkt to provide a better Makefile.PL (copes
|
|
|
e09560c |
better with missing CPAN::Meta::Requirements)
|
|
|
e09560c |
- CONTRIBUTING file is now licensed CC-BY-SA or GPL+ or Artistic so we can
|
|
|
e09560c |
make the whole package GPL+ or Artistic now
|
|
|
e09560c |
|
|
|
ab7e3b2 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.007-2
|
|
|
ab7e3b2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
ab7e3b2 |
|
|
|
08d891c |
* Thu Apr 10 2014 Paul Howarth <paul@city-fan.org> - 0.007-1
|
|
|
08d891c |
- Update to 0.007
|
|
|
08d891c |
- Fix for warnings being generated deep in the bowels of File::Spec
|
|
|
08d891c |
(CPAN RT#94383)
|
|
|
08d891c |
|
|
|
f76f7f6 |
* Fri Apr 4 2014 Paul Howarth <paul@city-fan.org> - 0.006-1
|
|
|
f76f7f6 |
- Update to 0.006
|
|
|
f76f7f6 |
- EXPERIMENTALLY provide Test::Lib-like behavior, and a related -lib export
|
|
|
f76f7f6 |
tag
|
|
|
f76f7f6 |
- Support an environment variable PERL_TEST_MODERN_ALLOW_WARNINGS to allow
|
|
|
f76f7f6 |
end-users to skip running end warnings tests
|
|
|
f76f7f6 |
- Added shouldnt_warn function
|
|
|
f76f7f6 |
- Add upstream workaround for warnings generated in File::Spec
|
|
|
f76f7f6 |
|
|
|
bb1453c |
* Wed Mar 26 2014 Paul Howarth <paul@city-fan.org> - 0.005-1
|
|
|
bb1453c |
- Update to 0.005
|
|
|
bb1453c |
- Support Perl 5.6.1+
|
|
|
bb1453c |
|
|
|
971076b |
* Tue Mar 25 2014 Paul Howarth <paul@city-fan.org> - 0.004-1
|
|
|
971076b |
- Update to 0.004
|
|
|
971076b |
- EXPERIMENTALLY provide Test::Pod functions
|
|
|
971076b |
- EXPERIMENTALLY provide Test::Pod::Coverage functions
|
|
|
971076b |
- EXPERIMENTALLY provide Test::Version functions
|
|
|
971076b |
- Improve the implementation of -without, including better compatibility with
|
|
|
971076b |
pre-5.12 versions of Perl
|
|
|
971076b |
|
|
|
3a31b3e |
* Tue Mar 25 2014 Paul Howarth <paul@city-fan.org> - 0.003-1
|
|
|
3a31b3e |
- Update to 0.003
|
|
|
3a31b3e |
- Provide a Test::Without::Module-like feature (-without)
|
|
|
3a31b3e |
- Load IO::File and IO::Handle like Modern::Perl does
|
|
|
3a31b3e |
|
|
|
1567260 |
* Thu Mar 20 2014 Paul Howarth <paul@city-fan.org> - 0.002-3
|
|
|
1567260 |
- Incorporate feedback from package review (#1078950)
|
|
|
1567260 |
- BR: perl for build process
|
|
|
1567260 |
- BR: perl(base) for test suite
|
|
|
1567260 |
- BR:/R: perl(Moose::Util), perl(Mouse::Util) and perl(Role::Tiny) for
|
|
|
1567260 |
runtime
|
|
|
1567260 |
- CONTRIBUTING file is CC-BY-SA
|
|
|
1567260 |
(https://github.com/tobyink/p5-test-modern/issues/1)
|
|
|
1567260 |
|
|
|
1567260 |
* Thu Mar 20 2014 Paul Howarth <paul@city-fan.org> - 0.002-2
|
|
|
1567260 |
- Sanitize for Fedora submission
|
|
|
1567260 |
|
|
|
1567260 |
* Fri Mar 14 2014 Paul Howarth <paul@city-fan.org> - 0.002-1
|
|
|
1567260 |
- Initial RPM version
|