|
|
3b57f3 |
Name: perl-Test-Deep
|
|
|
3b57f3 |
Version: 1.127
|
|
|
3b57f3 |
Release: 4%{?dist}
|
|
|
3b57f3 |
Summary: Extremely flexible deep comparison
|
|
|
3b57f3 |
License: GPL+ or Artistic
|
|
|
3b57f3 |
URL: http://search.cpan.org/dist/Test-Deep/
|
|
|
3b57f3 |
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Deep-%{version}.tar.gz
|
|
|
3b57f3 |
BuildArch: noarch
|
|
|
3b57f3 |
# Module Build
|
|
|
3b57f3 |
BuildRequires: coreutils
|
|
|
3b57f3 |
BuildRequires: findutils
|
|
|
3b57f3 |
BuildRequires: make
|
|
|
3b57f3 |
BuildRequires: perl-interpreter
|
|
|
3b57f3 |
BuildRequires: perl-generators
|
|
|
3b57f3 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
3b57f3 |
# Module Runtime
|
|
|
3b57f3 |
BuildRequires: perl(base)
|
|
|
3b57f3 |
BuildRequires: perl(Carp)
|
|
|
3b57f3 |
BuildRequires: perl(Exporter)
|
|
|
3b57f3 |
BuildRequires: perl(overload)
|
|
|
3b57f3 |
BuildRequires: perl(Scalar::Util) >= 1.09
|
|
|
3b57f3 |
BuildRequires: perl(strict)
|
|
|
3b57f3 |
BuildRequires: perl(Test::Builder)
|
|
|
3b57f3 |
BuildRequires: perl(warnings)
|
|
|
3b57f3 |
# Test Suite
|
|
|
3b57f3 |
BuildRequires: perl(if)
|
|
|
3b57f3 |
BuildRequires: perl(lib)
|
|
|
3b57f3 |
BuildRequires: perl(Test::More) >= 0.88
|
|
|
3b57f3 |
BuildRequires: perl(Test::Tester) >= 0.04
|
|
|
3b57f3 |
# Runtime
|
|
|
3b57f3 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
3b57f3 |
Requires: perl(Test::Builder)
|
|
|
3b57f3 |
|
|
|
3b57f3 |
%description
|
|
|
3b57f3 |
Test::Deep gives you very flexible ways to check that the result you
|
|
|
3b57f3 |
got is the result you were expecting. At its simplest it compares two
|
|
|
3b57f3 |
structures by going through each level, ensuring that the values
|
|
|
3b57f3 |
match, that arrays and hashes have the same elements and that
|
|
|
3b57f3 |
references are blessed into the correct class. It also handles
|
|
|
3b57f3 |
circular data structures without getting caught in an infinite loop.
|
|
|
3b57f3 |
|
|
|
3b57f3 |
%prep
|
|
|
3b57f3 |
%setup -q -n Test-Deep-%{version}
|
|
|
3b57f3 |
|
|
|
3b57f3 |
%build
|
|
|
3b57f3 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
3b57f3 |
make %{?_smp_mflags}
|
|
|
3b57f3 |
|
|
|
3b57f3 |
%install
|
|
|
3b57f3 |
make pure_install DESTDIR=%{buildroot}
|
|
|
3b57f3 |
find %{buildroot} -type f -name .packlist -delete
|
|
|
3b57f3 |
%{_fixperms} -c %{buildroot}
|
|
|
3b57f3 |
|
|
|
3b57f3 |
%check
|
|
|
3b57f3 |
make test
|
|
|
3b57f3 |
|
|
|
3b57f3 |
%files
|
|
|
3b57f3 |
%doc Changes README TODO
|
|
|
3b57f3 |
%{perl_vendorlib}/Test/
|
|
|
3b57f3 |
%{_mandir}/man3/Test::Deep.3*
|
|
|
3b57f3 |
%{_mandir}/man3/Test::Deep::NoTest.3*
|
|
|
3b57f3 |
|
|
|
3b57f3 |
%changelog
|
|
|
3b57f3 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.127-4
|
|
|
3b57f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.127-3
|
|
|
3b57f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.127-2
|
|
|
3b57f3 |
- Perl 5.26 rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Thu May 4 2017 Paul Howarth <paul@city-fan.org> - 1.127-1
|
|
|
3b57f3 |
- Update to 1.127
|
|
|
3b57f3 |
- Do not eagerly convert simple scalars into tests in the all, any and none
|
|
|
3b57f3 |
tests; this was breaking LeafWrapper application
|
|
|
3b57f3 |
- Drop EL-5-isms
|
|
|
3b57f3 |
- Drop BuildRoot: and Group: tags
|
|
|
3b57f3 |
- Drop explicit buildroot cleaning in %%install section
|
|
|
3b57f3 |
- Drop explicit %%clean section
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.126-2
|
|
|
3b57f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sun Jan 1 2017 Paul Howarth <paul@city-fan.org> - 1.126-1
|
|
|
3b57f3 |
- Update to 1.126
|
|
|
3b57f3 |
- If objects in the "expected" structure have an as_test_deep_cmp method, it
|
|
|
3b57f3 |
will be called and its return (which should be a Test::Deep::Cmp object)
|
|
|
3b57f3 |
will be used as the test for that location in the structure
|
|
|
3b57f3 |
- Internal undocumented class_base routine has been replaced with a
|
|
|
3b57f3 |
different, clearly private routine
|
|
|
3b57f3 |
- The LeafWrapper is also used for objects with an unknown reftype (like
|
|
|
3b57f3 |
LVALUE or other weird ones)
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sun Nov 6 2016 Paul Howarth <paul@city-fan.org> - 1.124-1
|
|
|
3b57f3 |
- Update to 1.124
|
|
|
3b57f3 |
- Avoid an uninitialized warning when array_each() compares to a
|
|
|
3b57f3 |
non-reference
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sat Sep 10 2016 Paul Howarth <paul@city-fan.org> - 1.123-1
|
|
|
3b57f3 |
- Update to 1.123
|
|
|
3b57f3 |
- Remove test suite reliance on "." appearing @INC
|
|
|
3b57f3 |
- When an object with stringification overloading fails to match a "re" test,
|
|
|
3b57f3 |
its stringification is included in the diagnostics
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Thu Sep 8 2016 Paul Howarth <paul@city-fan.org> - 1.122-1
|
|
|
3b57f3 |
- Update to 1.122
|
|
|
3b57f3 |
- Added $Test::Deep::LeafWrapper to control the behavior of simple values in
|
|
|
3b57f3 |
the "expected" definition
|
|
|
3b57f3 |
- Documentation improvements
|
|
|
3b57f3 |
- Avoid a few evals, localize $@ in a few places where eval is used
|
|
|
3b57f3 |
- Goodbye tabs, hello spaces
|
|
|
3b57f3 |
- BR: perl-generators
|
|
|
3b57f3 |
- Simplify find command using -delete
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.120-3
|
|
|
3b57f3 |
- Perl 5.24 rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.120-2
|
|
|
3b57f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Mon Nov 30 2015 Paul Howarth <paul@city-fan.org> - 1.120-1
|
|
|
3b57f3 |
- Update to 1.120
|
|
|
3b57f3 |
- Add none() test; it's like any(), but negative
|
|
|
3b57f3 |
- Fix stringification of any() expectations
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Wed Sep 30 2015 Paul Howarth <paul@city-fan.org> - 0.119-1
|
|
|
3b57f3 |
- Update to 0.119
|
|
|
3b57f3 |
- Overloading of & and | no longer can change All or Any objects found as
|
|
|
3b57f3 |
arguments
|
|
|
3b57f3 |
- An All as an argument to an All constructed is flattened out into its
|
|
|
3b57f3 |
All-ed values; the same goes for Any
|
|
|
3b57f3 |
- Remove use of Test::NoWarnings for user-facing tests
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Mon Jun 22 2015 Paul Howarth <paul@city-fan.org> - 0.117-1
|
|
|
3b57f3 |
- Update to 0.117
|
|
|
3b57f3 |
- Do not lose argument(s) to import
|
|
|
3b57f3 |
(https://github.com/rjbs/Test-Deep/issues/29)
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sun Jun 21 2015 Paul Howarth <paul@city-fan.org> - 0.116-1
|
|
|
3b57f3 |
- Update to 0.116
|
|
|
3b57f3 |
- On its own, :preload options uses default group of exports
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.115-3
|
|
|
3b57f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.115-2
|
|
|
3b57f3 |
- Perl 5.22 rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sat Jan 10 2015 Paul Howarth <paul@city-fan.org> - 0.115-1
|
|
|
3b57f3 |
- Update to 0.115
|
|
|
3b57f3 |
- Worked around a bug in chained goto on 5.8.5
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Mon Dec 15 2014 Paul Howarth <paul@city-fan.org> - 0.114-1
|
|
|
3b57f3 |
- Update to 0.114
|
|
|
3b57f3 |
- Improve prereqs metadata
|
|
|
3b57f3 |
- Add a noneof() set test
|
|
|
3b57f3 |
- regexponly hasn't worked... ever; now it does
|
|
|
3b57f3 |
- Passing :preload to import loads all plugins up front
|
|
|
3b57f3 |
- A few more tests have been documented
|
|
|
3b57f3 |
- The many exports of Test::Deep are now documented!
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Thu Nov 13 2014 Paul Howarth <paul@city-fan.org> - 0.113-1
|
|
|
3b57f3 |
- Update to 0.113
|
|
|
3b57f3 |
- Fix a compile error (!!) in RegexpOnly
|
|
|
3b57f3 |
- Fix some documentation typos
|
|
|
3b57f3 |
- Add license to META file
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.112-3
|
|
|
3b57f3 |
- Perl 5.20 rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.112-2
|
|
|
3b57f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sat Nov 30 2013 Paul Howarth <paul@city-fan.org> - 0.112-1
|
|
|
3b57f3 |
- Update to 0.112
|
|
|
3b57f3 |
- When printing diagnostics, differentiate the type of a blessed object from
|
|
|
3b57f3 |
the name of the class itself (CPAN RT#78288)
|
|
|
3b57f3 |
- Typo fixes
|
|
|
3b57f3 |
- Fixes to clarity and accuracy of documentation
|
|
|
3b57f3 |
- Add metadata links to repo and issue tracker
|
|
|
3b57f3 |
- Added obj_isa for testing ->isa without falling back to ref($x)
|
|
|
3b57f3 |
- Added the *experimental* ":v1" export group to skip importing Isa, isa, and
|
|
|
3b57f3 |
blessed
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.110-3
|
|
|
3b57f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.110-2
|
|
|
3b57f3 |
- Perl 5.18 rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Wed Feb 20 2013 Paul Howarth <paul@city-fan.org> - 0.110-1
|
|
|
3b57f3 |
- Update to 0.110
|
|
|
3b57f3 |
- Allow methods() and listmethods() to work again on class methods
|
|
|
3b57f3 |
(CPAN RT#77804)
|
|
|
3b57f3 |
- Drop redundant BR: perl(Data::Dumper)
|
|
|
3b57f3 |
- Drop arrayeach patch - similar change introduced upstream
|
|
|
3b57f3 |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
3b57f3 |
- Don't need to remove empty directories from the buildroot
|
|
|
3b57f3 |
- Don't use macros for commands
|
|
|
3b57f3 |
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
3b57f3 |
- Make %%files list more explicit
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.108-8
|
|
|
3b57f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.108-7
|
|
|
3b57f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.108-6
|
|
|
3b57f3 |
- Perl 5.16 rebuild
|
|
|
3b57f3 |
- Specify all dependencies
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.108-5
|
|
|
3b57f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.108-4
|
|
|
3b57f3 |
- Perl mass rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.108-3
|
|
|
3b57f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.108-2
|
|
|
3b57f3 |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sat Dec 18 2010 Steven Pritchard <steve@kspei.com> 0.108-1
|
|
|
3b57f3 |
- Update to 0.108.
|
|
|
3b57f3 |
- Update Source0 URL.
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.106-3
|
|
|
3b57f3 |
- Mass rebuild with perl-5.12.0
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.106-2
|
|
|
3b57f3 |
- rebuild against perl 5.10.1
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Fri Oct 30 2009 Stepan Kasal <skasal@redhat.com> - 0.106-1
|
|
|
3b57f3 |
- new upstream version
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-4
|
|
|
3b57f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-3
|
|
|
3b57f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Wed Oct 22 2008 Lubomir Rintel <lubo.rintel@gooddata.com> 0.103-2
|
|
|
3b57f3 |
- Fix crash on matching array_each() against non-array
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Wed Jun 04 2008 Steven Pritchard <steve@kspei.com> 0.103-1
|
|
|
3b57f3 |
- Update to 0.103.
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sat May 31 2008 Steven Pritchard <steve@kspei.com> 0.102-1
|
|
|
3b57f3 |
- Update to 0.102.
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.101-1
|
|
|
3b57f3 |
- Update to 0.101.
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sat Feb 2 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.100-2
|
|
|
3b57f3 |
- rebuild for new perl
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 0.100-1
|
|
|
3b57f3 |
- Update to 0.100.
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sat Jan 12 2008 Steven Pritchard <steve@kspei.com> 0.099-1
|
|
|
3b57f3 |
- Update to 0.099.
|
|
|
3b57f3 |
- Update License tag.
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Tue Sep 18 2007 Steven Pritchard <steve@kspei.com> 0.098-1
|
|
|
3b57f3 |
- Update to 0.098.
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Fri Aug 10 2007 Steven Pritchard <steve@kspei.com> 0.097-1
|
|
|
3b57f3 |
- Update to 0.097.
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.096-2
|
|
|
3b57f3 |
- Use fixperms macro instead of our own chmod incantation.
|
|
|
3b57f3 |
- BR ExtUtils::MakeMaker.
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Tue Sep 26 2006 Steven Pritchard <steve@kspei.com> 0.096-1
|
|
|
3b57f3 |
- Update to 0.096.
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.095-2
|
|
|
3b57f3 |
- Fix find option order.
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Fri Apr 21 2006 Steven Pritchard <steve@kspei.com> 0.095-1
|
|
|
3b57f3 |
- Update to 0.095.
|
|
|
3b57f3 |
|
|
|
3b57f3 |
* Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.093-1
|
|
|
3b57f3 |
- Specfile autogenerated by cpanspec 1.64.
|
|
|
3b57f3 |
- Improve description.
|
|
|
3b57f3 |
- Fix License.
|
|
|
3b57f3 |
- Remove explicit dependency on Test::Tester and Test::NoWarnings.
|