|
|
@ -1,24 +1,25 @@
|
|
|
|
# RPM version needs 4 digits after the decimal to preserve upgrade path
|
|
|
|
# RPM version needs 4 digits after the decimal to preserve upgrade path
|
|
|
|
%global module_version 0.67
|
|
|
|
%global module_version 0.64
|
|
|
|
%global RPM_version %{module_version}00
|
|
|
|
%global RPM_version %{module_version}00
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Test-Differences
|
|
|
|
Name: perl-Test-Differences
|
|
|
|
Version: %{RPM_version}
|
|
|
|
Version: %{RPM_version}
|
|
|
|
Release: 9%{?dist}
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Summary: Test strings and data structures and show differences if not OK
|
|
|
|
Summary: Test strings and data structures and show differences if not OK
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: https://metacpan.org/release/Test-Differences
|
|
|
|
URL: http://search.cpan.org/dist/Test-Differences/
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Differences-%{module_version}.tar.gz
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/Test-Differences-%{module_version}.tar.gz
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
# Module Build
|
|
|
|
# Module Build
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
# Module Runtime
|
|
|
|
# Module Runtime
|
|
|
|
BuildRequires: perl(B::Deparse)
|
|
|
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Data::Dumper) >= 2.126
|
|
|
|
BuildRequires: perl(Data::Dumper) >= 2.126
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
@ -27,8 +28,7 @@ BuildRequires: perl(Text::Diff) >= 1.43
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Test Suite
|
|
|
|
# Test Suite
|
|
|
|
BuildRequires: perl(Capture::Tiny) >= 0.24
|
|
|
|
BuildRequires: perl(Capture::Tiny) >= 0.24
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Test::Builder) >= 0.33
|
|
|
|
BuildRequires: perl(Test::Builder)
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
# Optional Tests
|
|
|
|
# Optional Tests
|
|
|
|
BuildRequires: perl(Pod::Coverage) >= 0.18
|
|
|
|
BuildRequires: perl(Pod::Coverage) >= 0.18
|
|
|
@ -36,7 +36,6 @@ BuildRequires: perl(Test::Pod) >= 1.22
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
|
|
|
# Explicit Requirements
|
|
|
|
# Explicit Requirements
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(B::Deparse)
|
|
|
|
|
|
|
|
Requires: perl(Text::Diff) >= 1.43
|
|
|
|
Requires: perl(Text::Diff) >= 1.43
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -52,73 +51,23 @@ perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc Changes README
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorlib}/Test/
|
|
|
|
%{perl_vendorlib}/Test/
|
|
|
|
%{_mandir}/man3/Test::Differences.3*
|
|
|
|
%{_mandir}/man3/Test::Differences.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.6700-9
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.6700-8
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6700-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6700-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.6700-5
|
|
|
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6700-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6700-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.6700-2
|
|
|
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 7 2019 Paul Howarth <paul@city-fan.org> - 0.6700-1
|
|
|
|
|
|
|
|
- Update to 0.67
|
|
|
|
|
|
|
|
- Correctly compare subroutine references
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 28 2019 Paul Howarth <paul@city-fan.org> - 0.6600-1
|
|
|
|
|
|
|
|
- Update to 0.66
|
|
|
|
|
|
|
|
- Fix tests on Windows
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 20 2019 Paul Howarth <paul@city-fan.org> - 0.6500-1
|
|
|
|
|
|
|
|
- Update to 0.65
|
|
|
|
|
|
|
|
- Canonical repo is now
|
|
|
|
|
|
|
|
https://github.com/DrHyde/perl-modules-Test-Differences
|
|
|
|
|
|
|
|
- Fix discrepancies in copyright notices
|
|
|
|
|
|
|
|
- Make the tests more consistent
|
|
|
|
|
|
|
|
- Add unicode tests
|
|
|
|
|
|
|
|
- Fix whitespace issue in tests when using recent Test::More in verbose mode
|
|
|
|
|
|
|
|
- Get rid of Build.PL, just use Makefile.PL
|
|
|
|
|
|
|
|
- Drop redundant buildroot cleaning in %%install section
|
|
|
|
|
|
|
|
- Simplify find command using -delete
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6400-11
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6400-10
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.6400-9
|
|
|
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6400-8
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6400-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
@ -143,7 +92,7 @@ make test
|
|
|
|
* Tue Nov 24 2015 Paul Howarth <paul@city-fan.org> - 0.6400-1
|
|
|
|
* Tue Nov 24 2015 Paul Howarth <paul@city-fan.org> - 0.6400-1
|
|
|
|
- Update to 0.64
|
|
|
|
- Update to 0.64
|
|
|
|
- Bump dependency version for Text::Diff to avoid a buggy release
|
|
|
|
- Bump dependency version for Text::Diff to avoid a buggy release
|
|
|
|
- Make tests pass with relocatable perl (CPAN RT#103133)
|
|
|
|
- Make tests pass with relocation perl (CPAN RT#103133)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6300-3
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6300-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|