Update to 0.65

- New upstream release 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
This commit is contained in:
Paul Howarth 2019-02-20 11:59:29 +00:00
parent 6c15ba7bf9
commit 2b7af0863c
2 changed files with 22 additions and 10 deletions

View File

@ -1,21 +1,21 @@
# RPM version needs 4 digits after the decimal to preserve upgrade path
%global module_version 0.64
%global module_version 0.65
%global RPM_version %{module_version}00
Name: perl-Test-Differences
Version: %{RPM_version}
Release: 11%{?dist}
Release: 1%{?dist}
Summary: Test strings and data structures and show differences if not OK
License: GPL+ or Artistic
URL: https://metacpan.org/release/Test-Differences
Source0: https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/Test-Differences-%{module_version}.tar.gz
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Differences-%{module_version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
BuildRequires: perl(Carp)
@ -26,7 +26,8 @@ BuildRequires: perl(Text::Diff) >= 1.43
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(Capture::Tiny) >= 0.24
BuildRequires: perl(Test::Builder) >= 0.33
BuildRequires: perl(lib)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::More) >= 0.88
# Optional Tests
BuildRequires: perl(Pod::Coverage) >= 0.18
@ -49,10 +50,9 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
make test
@ -63,6 +63,18 @@ make test
%{_mandir}/man3/Test::Differences.3*
%changelog
* 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
@ -96,7 +108,7 @@ make test
* Tue Nov 24 2015 Paul Howarth <paul@city-fan.org> - 0.6400-1
- Update to 0.64
- Bump dependency version for Text::Diff to avoid a buggy release
- Make tests pass with relocation perl (CPAN RT#103133)
- Make tests pass with relocatable perl (CPAN RT#103133)
* 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

View File

@ -1 +1 @@
ecfda620fe133e36a6e392d94ab8424d Test-Differences-0.64.tar.gz
SHA512 (Test-Differences-0.65.tar.gz) = 298058b0ca94b865ac84bbed86275e1d2c3f9eadafc70c017d471d39a78a1370112aa63c09ff072621b12b1e6a84e9b456fe05e17d0d2893e2f5fc9946f81b87