|
|
a3f5b8 |
# RPM version needs 4 digits after the decimal to preserve upgrade path
|
|
|
a3f5b8 |
%global module_version 0.67
|
|
|
a3f5b8 |
%global RPM_version %{module_version}00
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
Name: perl-Test-Differences
|
|
|
a3f5b8 |
Version: %{RPM_version}
|
|
|
a3f5b8 |
Release: 9%{?dist}
|
|
|
a3f5b8 |
Summary: Test strings and data structures and show differences if not OK
|
|
|
a3f5b8 |
License: GPL+ or Artistic
|
|
|
a3f5b8 |
URL: https://metacpan.org/release/Test-Differences
|
|
|
a3f5b8 |
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Differences-%{module_version}.tar.gz
|
|
|
a3f5b8 |
BuildArch: noarch
|
|
|
a3f5b8 |
# Module Build
|
|
|
a3f5b8 |
BuildRequires: coreutils
|
|
|
a3f5b8 |
BuildRequires: findutils
|
|
|
a3f5b8 |
BuildRequires: make
|
|
|
a3f5b8 |
BuildRequires: perl-generators
|
|
|
a3f5b8 |
BuildRequires: perl-interpreter
|
|
|
a3f5b8 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
a3f5b8 |
# Module Runtime
|
|
|
a3f5b8 |
BuildRequires: perl(B::Deparse)
|
|
|
a3f5b8 |
BuildRequires: perl(Carp)
|
|
|
a3f5b8 |
BuildRequires: perl(Data::Dumper) >= 2.126
|
|
|
a3f5b8 |
BuildRequires: perl(Exporter)
|
|
|
a3f5b8 |
BuildRequires: perl(strict)
|
|
|
a3f5b8 |
BuildRequires: perl(Text::Diff) >= 1.43
|
|
|
a3f5b8 |
BuildRequires: perl(warnings)
|
|
|
a3f5b8 |
# Test Suite
|
|
|
a3f5b8 |
BuildRequires: perl(Capture::Tiny) >= 0.24
|
|
|
a3f5b8 |
BuildRequires: perl(lib)
|
|
|
a3f5b8 |
BuildRequires: perl(Test::Builder)
|
|
|
a3f5b8 |
BuildRequires: perl(Test::More) >= 0.88
|
|
|
a3f5b8 |
# Optional Tests
|
|
|
a3f5b8 |
BuildRequires: perl(Pod::Coverage) >= 0.18
|
|
|
a3f5b8 |
BuildRequires: perl(Test::Pod) >= 1.22
|
|
|
a3f5b8 |
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
|
|
a3f5b8 |
# Explicit Requirements
|
|
|
a3f5b8 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
a3f5b8 |
Requires: perl(B::Deparse)
|
|
|
a3f5b8 |
Requires: perl(Text::Diff) >= 1.43
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
%description
|
|
|
a3f5b8 |
When the code you're testing returns multiple lines, records or data
|
|
|
a3f5b8 |
structures and they're just plain wrong, an equivalent to the Unix
|
|
|
a3f5b8 |
diff utility may be just what's needed.
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
%prep
|
|
|
a3f5b8 |
%setup -q -n Test-Differences-%{module_version}
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
%build
|
|
|
a3f5b8 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
a3f5b8 |
make %{?_smp_mflags}
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
%install
|
|
|
a3f5b8 |
make pure_install DESTDIR=%{buildroot}
|
|
|
a3f5b8 |
find %{buildroot} -type f -name .packlist -delete
|
|
|
a3f5b8 |
%{_fixperms} -c %{buildroot}
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
%check
|
|
|
a3f5b8 |
make test
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
%files
|
|
|
a3f5b8 |
%doc Changes README
|
|
|
a3f5b8 |
%{perl_vendorlib}/Test/
|
|
|
a3f5b8 |
%{_mandir}/man3/Test::Differences.3*
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
%changelog
|
|
|
a3f5b8 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.6700-9
|
|
|
a3f5b8 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
a3f5b8 |
Related: rhbz#1991688
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.6700-8
|
|
|
a3f5b8 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6700-7
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6700-6
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.6700-5
|
|
|
a3f5b8 |
- Perl 5.32 rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6700-4
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6700-3
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.6700-2
|
|
|
a3f5b8 |
- Perl 5.30 rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Thu Mar 7 2019 Paul Howarth <paul@city-fan.org> - 0.6700-1
|
|
|
a3f5b8 |
- Update to 0.67
|
|
|
a3f5b8 |
- Correctly compare subroutine references
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Thu Feb 28 2019 Paul Howarth <paul@city-fan.org> - 0.6600-1
|
|
|
a3f5b8 |
- Update to 0.66
|
|
|
a3f5b8 |
- Fix tests on Windows
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Wed Feb 20 2019 Paul Howarth <paul@city-fan.org> - 0.6500-1
|
|
|
a3f5b8 |
- Update to 0.65
|
|
|
a3f5b8 |
- Canonical repo is now
|
|
|
a3f5b8 |
https://github.com/DrHyde/perl-modules-Test-Differences
|
|
|
a3f5b8 |
- Fix discrepancies in copyright notices
|
|
|
a3f5b8 |
- Make the tests more consistent
|
|
|
a3f5b8 |
- Add unicode tests
|
|
|
a3f5b8 |
- Fix whitespace issue in tests when using recent Test::More in verbose mode
|
|
|
a3f5b8 |
- Get rid of Build.PL, just use Makefile.PL
|
|
|
a3f5b8 |
- Drop redundant buildroot cleaning in %%install section
|
|
|
a3f5b8 |
- Simplify find command using -delete
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6400-11
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6400-10
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.6400-9
|
|
|
a3f5b8 |
- Perl 5.28 rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6400-8
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6400-7
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.6400-6
|
|
|
a3f5b8 |
- Perl 5.26 rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6400-5
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Fri Jul 22 2016 Petr Pisar <ppisar@redhat.com> - 0.6400-4
|
|
|
a3f5b8 |
- Adjust package version computation to SRPM build root witout perl
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.6400-3
|
|
|
a3f5b8 |
- Perl 5.24 rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6400-2
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Tue Nov 24 2015 Paul Howarth <paul@city-fan.org> - 0.6400-1
|
|
|
a3f5b8 |
- Update to 0.64
|
|
|
a3f5b8 |
- Bump dependency version for Text::Diff to avoid a buggy release
|
|
|
a3f5b8 |
- Make tests pass with relocatable perl (CPAN RT#103133)
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6300-3
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.6300-2
|
|
|
a3f5b8 |
- Perl 5.22 rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Fri Nov 21 2014 Paul Howarth <paul@city-fan.org> - 0.6300-1
|
|
|
a3f5b8 |
- Update to 0.63
|
|
|
a3f5b8 |
- Make '' and undef not equal
|
|
|
a3f5b8 |
- Made Data::Dumper minimum version 2.126 to resolve CPAN RT#60798
|
|
|
a3f5b8 |
- Allow an option to override Sortkeys in C<eq_or_diff>
|
|
|
a3f5b8 |
- Unnumbered tests; there's no point to them
|
|
|
a3f5b8 |
- Document the Text::Diff unicode fix
|
|
|
a3f5b8 |
- Add ability to customize 'Got' and 'Expected' column headers
|
|
|
a3f5b8 |
- Minor doco-fixes
|
|
|
a3f5b8 |
- Remove use of flatten, always use Data::Dumper for saner, more readable
|
|
|
a3f5b8 |
output (CPAN RT#95446)
|
|
|
a3f5b8 |
- This release by DCANTRELL → update source URL
|
|
|
a3f5b8 |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
a3f5b8 |
- Use %%{_fixperms} macro rather than our own chmod incantation
|
|
|
a3f5b8 |
- Don't need to remove empty directories from the buildroot
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.5000-13
|
|
|
a3f5b8 |
- Perl 5.20 rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5000-12
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5000-11
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.5000-10
|
|
|
a3f5b8 |
- Perl 5.18 rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5000-9
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5000-8
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.5000-7
|
|
|
a3f5b8 |
- Perl 5.16 rebuild
|
|
|
a3f5b8 |
- Specify all dependencies
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5000-6
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.5000-5
|
|
|
a3f5b8 |
- Perl mass rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5000-4
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.5000-3
|
|
|
a3f5b8 |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Thu Jul 08 2010 Iain Arnell <iarnell@gmail.com> 0.500-2
|
|
|
a3f5b8 |
- explicitly require perl(Text::Diff)
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Tue Jun 29 2010 Paul Howarth <paul@city-fan.org> - 0.5000-1
|
|
|
a3f5b8 |
- Update to 0.500
|
|
|
a3f5b8 |
- Add support for all diff styles supplied by Text::Diff (CPAN RT#23579)
|
|
|
a3f5b8 |
- Add Build.PL
|
|
|
a3f5b8 |
- Convert to universally use Test::More instead of Test
|
|
|
a3f5b8 |
- Convert to modern Perl distribution.
|
|
|
a3f5b8 |
- Applied doc suggestion from CPAN RT#24297
|
|
|
a3f5b8 |
- Fix the { a => 1 } versus { a => '1' } bug (CPAN RT#3029)
|
|
|
a3f5b8 |
- Upstream dropped eg/ docs
|
|
|
a3f5b8 |
- Bump perl(Text::Diff) requirement to 0.35
|
|
|
a3f5b8 |
- BR: perl(Test::Pod) and perl(Test::Pod::Coverage) for extra test cover
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.4801-5
|
|
|
a3f5b8 |
- Mass rebuild with perl-5.12.0
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.4801-4
|
|
|
a3f5b8 |
- rebuild against perl 5.10.1
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Wed Aug 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4801-3
|
|
|
a3f5b8 |
- fix source url
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4801-2
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4801-1
|
|
|
a3f5b8 |
- update to 0.4801
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.47-5
|
|
|
a3f5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.47-4
|
|
|
a3f5b8 |
- Rebuild for perl 5.10 (again)
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.47-3
|
|
|
a3f5b8 |
- rebuild for new perl
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.47-2.2
|
|
|
a3f5b8 |
- add BR: perl(Test::More)
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.47-2.1
|
|
|
a3f5b8 |
- correct license tag
|
|
|
a3f5b8 |
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Sun May 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.47-2
|
|
|
a3f5b8 |
- Bumping release (repodata checksum inconsistency for previous release).
|
|
|
a3f5b8 |
|
|
|
a3f5b8 |
* Mon May 01 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.47-1
|
|
|
a3f5b8 |
- First build.
|