Blame SPECS/perl-Test-Simple.spec

9932d4
%{?scl:%scl_package perl-Test-Simple}
9932d4
9932d4
Name:           %{?scl_prefix}perl-Test-Simple
9932d4
Summary:        Basic utilities for writing tests
9932d4
Version:        1.302040
9932d4
Release:        2%{?dist}
9932d4
# CC0: lib/ok.pm
9932d4
# Public Domain: lib/Test/Tutorial.pod
9932d4
# GPL+ or Artistic: the rest of the distribution
9932d4
License:        (GPL+ or Artistic) and CC0 and Public Domain
9932d4
URL:            http://search.cpan.org/dist/Test-Simple
9932d4
Source0:        http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/Test-Simple-%{version}.tar.gz
9932d4
BuildArch:      noarch
9932d4
# Module Build
9932d4
BuildRequires:  coreutils
9932d4
BuildRequires:  make
9932d4
BuildRequires:  %{?scl_prefix}perl
9932d4
BuildRequires:  %{?scl_prefix}perl-generators
9932d4
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.75
9932d4
# Module Runtime
9932d4
BuildRequires:  %{?scl_prefix}perl(base)
9932d4
BuildRequires:  %{?scl_prefix}perl(Carp)
9932d4
BuildRequires:  %{?scl_prefix}perl(Config)
9932d4
BuildRequires:  %{?scl_prefix}perl(Data::Dumper)
9932d4
BuildRequires:  %{?scl_prefix}perl(Exporter)
9932d4
BuildRequires:  %{?scl_prefix}perl(File::Spec)
9932d4
BuildRequires:  %{?scl_prefix}perl(File::Temp)
9932d4
BuildRequires:  %{?scl_prefix}perl(IO::Handle)
9932d4
BuildRequires:  %{?scl_prefix}perl(overload)
9932d4
BuildRequires:  %{?scl_prefix}perl(POSIX)
9932d4
BuildRequires:  %{?scl_prefix}perl(Scalar::Util) >= 1.13
9932d4
BuildRequires:  %{?scl_prefix}perl(Storable)
9932d4
BuildRequires:  %{?scl_prefix}perl(strict)
9932d4
BuildRequires:  %{?scl_prefix}perl(Symbol)
9932d4
BuildRequires:  %{?scl_prefix}perl(Term::ANSIColor)
9932d4
BuildRequires:  %{?scl_prefix}perl(threads::shared)
9932d4
BuildRequires:  %{?scl_prefix}perl(vars)
9932d4
BuildRequires:  %{?scl_prefix}perl(warnings)
9932d4
# Test Suite
9932d4
BuildRequires:  %{?scl_prefix}perl(Cwd)
9932d4
BuildRequires:  %{?scl_prefix}perl(File::Basename)
9932d4
BuildRequires:  %{?scl_prefix}perl(IO::Pipe)
9932d4
BuildRequires:  %{?scl_prefix}perl(lib)
9932d4
BuildRequires:  %{?scl_prefix}perl(PerlIO)
9932d4
BuildRequires:  %{?scl_prefix}perl(threads)
9932d4
# Optional Tests
9932d4
BuildRequires:  %{?scl_prefix}perl(CPAN::Meta)
9932d4
BuildRequires:  %{?scl_prefix}perl(CPAN::Meta::Requirements) >= 2.120920
9932d4
BuildRequires:  %{?scl_prefix}perl(IPC::SysV)
9932d4
BuildRequires:  %{?scl_prefix}perl(Module::Metadata)
9932d4
BuildRequires:  %{?scl_prefix}perl(POSIX)
9932d4
BuildRequires:  %{?scl_prefix}perl(Test::Harness) >= 2.03
9932d4
# Runtime
9932d4
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
9932d4
Requires:       %{?scl_prefix}perl(Data::Dumper)
9932d4
Requires:       %{?scl_prefix}perl(Term::ANSIColor)
9932d4
Requires:       %{?scl_prefix}perl(threads::shared)
9932d4
9932d4
# Test-Tester and Test-use-ok integrated at version 1.001010
9932d4
# Test2 integrated at 1.302014
9932d4
Obsoletes:      %{?scl_prefix}perl-Test-Tester < 0.109-7
9932d4
Provides:       %{?scl_prefix}perl-Test-Tester = %{version}-1%{?dist}
9932d4
Obsoletes:      %{?scl_prefix}perl-Test-use-ok < 0.11-7
9932d4
Provides:       %{?scl_prefix}perl-Test-use-ok = %{version}-1%{?dist}
9932d4
Obsoletes:      %{?scl_prefix}perl-Test2 < %{version}-%{release}
9932d4
Provides:       %{?scl_prefix}perl-Test2 = %{version}-%{release}
9932d4
9932d4
%{?perl_default_filter}
9932d4
9932d4
%description
9932d4
This package provides the bulk of the core testing facilities. For more
9932d4
information, see perldoc for Test::Simple, Test::More, etc.
9932d4
9932d4
This package is the CPAN component of the dual-lifed core package Test-Simple.
9932d4
9932d4
%prep
9932d4
%setup -q -n Test-Simple-%{version}
9932d4
9932d4
%build
9932d4
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 && make %{?_smp_mflags}%{?scl:'}
9932d4
9932d4
%install
9932d4
%{?scl:scl enable %{scl} '}make install DESTDIR=%{buildroot}%{?scl:'}
9932d4
%{_fixperms} %{buildroot}
9932d4
9932d4
%check
9932d4
%{?scl:scl enable %{scl} '}make test AUTHOR_TESTING=1%{?scl:'}
9932d4
9932d4
%files
9932d4
%doc LICENSE
9932d4
%doc Changes README examples/ t/
9932d4
%dir %{perl_vendorlib}/Test/
9932d4
%{perl_vendorlib}/ok.pm
9932d4
%{perl_vendorlib}/Test/Builder.pm
9932d4
%{perl_vendorlib}/Test/Builder/
9932d4
%{perl_vendorlib}/Test/More.pm
9932d4
%{perl_vendorlib}/Test/Simple.pm
9932d4
%{perl_vendorlib}/Test/Tester.pm
9932d4
%{perl_vendorlib}/Test/Tester/
9932d4
%doc %{perl_vendorlib}/Test/Tutorial.pod
9932d4
%{perl_vendorlib}/Test/use/
9932d4
%{perl_vendorlib}/Test2.pm
9932d4
%{perl_vendorlib}/Test2/
9932d4
%{_mandir}/man3/ok.3*
9932d4
%{_mandir}/man3/Test::Builder.3*
9932d4
%{_mandir}/man3/Test::Builder::Formatter.3*
9932d4
%{_mandir}/man3/Test::Builder::IO::Scalar.3*
9932d4
%{_mandir}/man3/Test::Builder::Module.3*
9932d4
%{_mandir}/man3/Test::Builder::Tester.3*
9932d4
%{_mandir}/man3/Test::Builder::Tester::Color.3*
9932d4
%{_mandir}/man3/Test::Builder::TodoDiag.3*
9932d4
%{_mandir}/man3/Test::More.3*
9932d4
%{_mandir}/man3/Test::Simple.3*
9932d4
%{_mandir}/man3/Test::Tester.3*
9932d4
%{_mandir}/man3/Test::Tester::Capture.3*
9932d4
%{_mandir}/man3/Test::Tester::CaptureRunner.3*
9932d4
%{_mandir}/man3/Test::Tutorial.3*
9932d4
%{_mandir}/man3/Test::use::ok.3*
9932d4
%{_mandir}/man3/Test2.3*
9932d4
%{_mandir}/man3/Test2::API.3*
9932d4
%{_mandir}/man3/Test2::API::Breakage.3*
9932d4
%{_mandir}/man3/Test2::API::Context.3*
9932d4
%{_mandir}/man3/Test2::API::Instance.3*
9932d4
%{_mandir}/man3/Test2::API::Stack.3*
9932d4
%{_mandir}/man3/Test2::Event.3*
9932d4
%{_mandir}/man3/Test2::Event::Bail.3*
9932d4
%{_mandir}/man3/Test2::Event::Diag.3*
9932d4
%{_mandir}/man3/Test2::Event::Exception.3*
9932d4
%{_mandir}/man3/Test2::Event::Generic.3*
9932d4
%{_mandir}/man3/Test2::Event::Info.3*
9932d4
%{_mandir}/man3/Test2::Event::Note.3*
9932d4
%{_mandir}/man3/Test2::Event::Ok.3*
9932d4
%{_mandir}/man3/Test2::Event::Plan.3*
9932d4
%{_mandir}/man3/Test2::Event::Skip.3*
9932d4
%{_mandir}/man3/Test2::Event::Subtest.3*
9932d4
%{_mandir}/man3/Test2::Event::Waiting.3*
9932d4
%{_mandir}/man3/Test2::Formatter.3*
9932d4
%{_mandir}/man3/Test2::Formatter::TAP.3*
9932d4
%{_mandir}/man3/Test2::Hub.3*
9932d4
%{_mandir}/man3/Test2::Hub::Interceptor.3*
9932d4
%{_mandir}/man3/Test2::Hub::Interceptor::Terminator.3*
9932d4
%{_mandir}/man3/Test2::Hub::Subtest.3*
9932d4
%{_mandir}/man3/Test2::IPC.3*
9932d4
%{_mandir}/man3/Test2::IPC::Driver.3*
9932d4
%{_mandir}/man3/Test2::IPC::Driver::Files.3*
9932d4
%{_mandir}/man3/Test2::Transition.3*
9932d4
%{_mandir}/man3/Test2::Util.3*
9932d4
%{_mandir}/man3/Test2::Util::ExternalMeta.3*
9932d4
%{_mandir}/man3/Test2::Util::HashBase.3*
9932d4
%{_mandir}/man3/Test2::Util::Trace.3*
9932d4
9932d4
%changelog
9932d4
* Mon Jul 11 2016 Petr Pisar <ppisar@redhat.com> - 1.302040-2
9932d4
- SCL
9932d4
9932d4
* Sun Jul 10 2016 Paul Howarth <paul@city-fan.org> - 1.302040-1
9932d4
- Update to 1.302040
9932d4
  - Fix broken MANIFEST.SKIP entries (#689)
9932d4
  - Add Info event for better diagnostics
9932d4
9932d4
* Mon Jul  4 2016 Paul Howarth <paul@city-fan.org> - 1.302037-1
9932d4
- Update to 1.302037
9932d4
  - Restore PerlIO layer cloning on STDERR and STDOUT
9932d4
- Bump obsoletes/provides versions for perl-Test2 to maintain upgrade path from
9932d4
  packages in third-party repositories
9932d4
9932d4
* Tue Jun 28 2016 Paul Howarth <paul@city-fan.org> - 1.302035-1
9932d4
- Update to 1.302035
9932d4
  - Fix some breakage info
9932d4
  - POD fixes
9932d4
9932d4
* Fri Jun 24 2016 Paul Howarth <paul@city-fan.org> - 1.302033-1
9932d4
- Update to 1.302033
9932d4
  - Fix nested TODO handling of diags (#684)
9932d4
9932d4
* Wed Jun 22 2016 Paul Howarth <paul@city-fan.org> - 1.302031-1
9932d4
- Update to 1.302031
9932d4
  - Remove Carp from dependency list (#682)
9932d4
9932d4
* Sun Jun 19 2016 Paul Howarth <paul@city-fan.org> - 1.302030-1
9932d4
- Update to 1.302030
9932d4
  - Use pre_filter instead of filter for TODO in Test::Builder (fix #683)
9932d4
  - Fix typos in transitions doc (#681)
9932d4
  - Add 'inherit_trace' param to run_subtest
9932d4
  - Properly skip thread test when threads are broken
9932d4
9932d4
* Tue Jun 14 2016 Paul Howarth <paul@city-fan.org> - 1.302026-1
9932d4
- Update to 1.302026
9932d4
  - Do not fail if Test2::API::Breakage cannot load (rare 5.10.0 issue)
9932d4
  - Potential fix for t/Legacy/Regression/637.t
9932d4
  - Make t/Legacy/Regression/637.t AUTHOR_TESTING for now
9932d4
  - Add Generic event type
9932d4
  - Make sure enabling culling/shm sets pid and tid (fix #679)
9932d4
9932d4
* Sun May 29 2016 Paul Howarth <paul@city-fan.org> - 1.302022-1
9932d4
- Update to 1.302022
9932d4
  - Many micro-optimizations
9932d4
  - Spelling fixes and tests
9932d4
  - Fix leaky File.t file so that tmp doesn't fill up
9932d4
  - Move some modules out of the known broken list in xt tests
9932d4
  - Add Test2-based tools to downstream testing
9932d4
  - Change when PID/TID are stashed (for forkprove)
9932d4
  - VMS fixes for Files.t and IPC system
9932d4
  - Improve thread checks to better detect broken 5.10 builds
9932d4
  - Use thread checks to skip/run t/Legacy/Regression/637.t
9932d4
9932d4
* Mon May 23 2016 Petr Pisar <ppisar@redhat.com> - 1.302019-2
9932d4
- Obsolete perl-Test2-0.000044-2 too
9932d4
9932d4
* Thu May 19 2016 Paul Howarth <paul@city-fan.org> - 1.302019-1
9932d4
- Update to 1.302019
9932d4
  - Block signals in critical IPC section (fix #661 and #668)
9932d4
  - Merge Examples and examples into one dir (#660)
9932d4
  - Documentation and typo fixes
9932d4
  - Make Test2::Util::get_tid have a consistent prototype (#665)
9932d4
  - Make TB->no_plan a no-op if a plan is set
9932d4
  - Fix util.t win32 bug
9932d4
  - Handle Test::Builder::Exception properly
9932d4
  - Silence noisy STDERR in test suite
9932d4
  - POD spelling fixes
9932d4
- BR: perl-generators
9932d4
9932d4
* Wed May 18 2016 Paul Howarth <paul@city-fan.org> - 1.302015-1
9932d4
- Update to 1.302015
9932d4
  - Major refactoring of existing API on top of (included) Test2
9932d4
- Obsolete/Provide perl-Test2
9932d4
9932d4
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.001014-365
9932d4
- Increase release to favour standalone package
9932d4
9932d4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.001014-347
9932d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9932d4
9932d4
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.001014-346
9932d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9932d4
9932d4
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.001014-345
9932d4
- Increase release to favour standalone package
9932d4
9932d4
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.001014-3
9932d4
- Perl 5.22 rebuild
9932d4
9932d4
* Wed Mar 04 2015 Petr Šabata <contyk@redhat.com> - 1.001014-2
9932d4
- Correct the license tag
9932d4
9932d4
* Wed Jan  7 2015 Paul Howarth <paul@city-fan.org> - 1.001014-1
9932d4
- Update to 1.001014
9932d4
  - Fix a unit test that broke on some platforms with spaces in the $^X path
9932d4
  - Add a test to ensure that the Changes file is updated
9932d4
9932d4
* Wed Dec 24 2014 Paul Howarth <paul@city-fan.org> - 1.001012-1
9932d4
- Update to 1.001012
9932d4
  - Move test that was dropped in the wrong directory
9932d4
9932d4
* Tue Dec 23 2014 Paul Howarth <paul@city-fan.org> - 1.001011-1
9932d4
- Update to 1.001011
9932d4
  - Fix windows test bug (GH#491)
9932d4
  - Integrate Test::Tester and Test::use::ok for easier downgrade from trial
9932d4
  - Remove POD Coverage test
9932d4
- Obsolete/Provide perl-Test-Tester and perl-Test-use-ok
9932d4
- Classify buildreqs by usage
9932d4
- Use features from recent ExtUtils::MakeMaker to simplify spec
9932d4
- Run tests with AUTHOR_TESTING=1 so we do the threads test too
9932d4
9932d4
* Tue Nov  4 2014 Paul Howarth <paul@city-fan.org> - 1.001009-1
9932d4
- Update to 1.001009
9932d4
  - Backport cmp_ok fix from alphas (GH#478)
9932d4
9932d4
* Thu Oct 16 2014 Paul Howarth <paul@city-fan.org> - 1.001008-1
9932d4
- Update to 1.001008
9932d4
  - Fix subtest name when skip_all is used
9932d4
9932d4
* Tue Sep  9 2014 Paul Howarth <paul@city-fan.org> - 1.001006-1
9932d4
- Update to 1.001006
9932d4
  - Documentation updates
9932d4
  - Subtests accept args
9932d4
  - Outdent subtest diag
9932d4
  - Changed install path for perl 5.12 or higher
9932d4
9932d4
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.001003-3
9932d4
- Perl 5.20 rebuild
9932d4
9932d4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.001003-2
9932d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9932d4
9932d4
* Sat Mar 22 2014 Paul Howarth <paul@city-fan.org> - 1.001003-1
9932d4
- Update to 1.001003
9932d4
  - Documentation updates for maintainer change
9932d4
- This release by EXODIST -> update source URL
9932d4
- Drop obsoletes/provides for old tests sub-package
9932d4
9932d4
* Tue Nov  5 2013 Paul Howarth <paul@city-fan.org> - 1.001002-1
9932d4
- Update to 1.001002
9932d4
  - Restore ability to use regex with test_err and test_out (CPAN RT#89655)
9932d4
- Drop upstreamed regex patch
9932d4
9932d4
* Sat Oct 12 2013 Paul Howarth <paul@city-fan.org> - 0.99-1
9932d4
- 0.99 bump
9932d4
- This release by RJBS -> update source URL
9932d4
9932d4
* Fri Aug 09 2013 Petr Pisar <ppisar@redhat.com> - 0.98.05-3
9932d4
- Pass regular expression intact
9932d4
9932d4
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98.05-2
9932d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9932d4
9932d4
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 0.98.05-1
9932d4
- 0.98_05 bump
9932d4
9932d4
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 0.98-244
9932d4
- Perl 5.18 rebuild
9932d4
9932d4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-243
9932d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9932d4
9932d4
* Wed Nov 21 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.98-242
9932d4
- Update dependencies and comments
9932d4
9932d4
* Thu Aug 23 2012 Paul Howarth <paul@city-fan.org> - 0.98-241
9932d4
- Merge tests sub-package back into main package
9932d4
- Don't need to remove empty directories from the buildroot
9932d4
- Drop %%defattr, redundant since rpm 4.4
9932d4
- Make %%files list more explicit
9932d4
- Don't use macros for commands
9932d4
- Mark Tutorial.pod as %%doc
9932d4
- Drop explicit dependency on perl-devel
9932d4
9932d4
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.98-240
9932d4
- Bump release to override sub-package from perl.spec
9932d4
9932d4
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-7
9932d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9932d4
9932d4
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 0.98-6
9932d4
- Perl 5.16 rebuild
9932d4
9932d4
* Thu May 31 2012 Petr Pisar <ppisar@redhat.com> - 0.98-5
9932d4
- Specify all dependencies
9932d4
9932d4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-4
9932d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9932d4
9932d4
* Tue Aug 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.98-3
9932d4
- Change path on vendor, so our debuginfo are not conflicting with
9932d4
  perl core debuginfos
9932d4
9932d4
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.98-2
9932d4
- Perl mass rebuild
9932d4
9932d4
* Thu Feb 24 2011 Iain Arnell <iarnell@gmail.com> - 0.98-1
9932d4
- Update to latest upstream version
9932d4
9932d4
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.96-2
9932d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9932d4
9932d4
* Sat Nov 20 2010 Iain Arnell <iarnell@gmail.com> - 0.96-1
9932d4
- Update to latest upstream version
9932d4
- Clean up spec for modern rpmbuild
9932d4
9932d4
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.94-2
9932d4
- Mass rebuild with perl-5.12.0
9932d4
9932d4
* Tue Mar 16 2010 Chris Weyl <cweyl@alumni.drew.edu> - 0.94-1
9932d4
- Specfile by Fedora::App::MaintainerTools 0.006