From aa620caf8a75c939384fdd7cf6e64b65f7dfa675 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Sat, 26 Jun 2021 16:24:22 +0100 Subject: [PATCH] Update to 1.25 - New upstream release 1.25 - Strings like "NaN" are still strings - Update maintainer and repository information - New option $Data::Dump::LINEWIDTH controls when to perform a line break (default is 60) - Use author-independent source URL - Use %{make_build} and %{make_install} macros - Make %files list more explicit --- .gitignore | 1 + perl-Data-Dump.rpmlintrc | 2 ++ perl-Data-Dump.spec | 37 +++++++++++++++++++++++++------------ sources | 2 +- 4 files changed, 29 insertions(+), 13 deletions(-) create mode 100644 perl-Data-Dump.rpmlintrc diff --git a/.gitignore b/.gitignore index 25c8e55..3d98254 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ Data-Dump-1.15.tar.gz /Data-Dump-1.21.tar.gz /Data-Dump-1.22.tar.gz /Data-Dump-1.23.tar.gz +/Data-Dump-1.25.tar.gz diff --git a/perl-Data-Dump.rpmlintrc b/perl-Data-Dump.rpmlintrc new file mode 100644 index 0000000..ea4b6ad --- /dev/null +++ b/perl-Data-Dump.rpmlintrc @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error %description -l en_US evaled -> ") diff --git a/perl-Data-Dump.spec b/perl-Data-Dump.spec index b22dd3b..efc3d3b 100644 --- a/perl-Data-Dump.spec +++ b/perl-Data-Dump.spec @@ -1,15 +1,16 @@ Name: perl-Data-Dump -Version: 1.23 -Release: 17%{?dist} +Version: 1.25 +Release: 1%{?dist} Summary: Pretty printing of data structures License: GPL+ or Artistic URL: https://metacpan.org/release/Data-Dump -Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/Data-Dump-%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/Data/Data-Dump-%{version}.tar.gz BuildArch: noarch # Build +BuildRequires: coreutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Runtime BuildRequires: perl(base) @@ -19,7 +20,7 @@ BuildRequires: perl(MIME::Base64) BuildRequires: perl(overload) BuildRequires: perl(strict) BuildRequires: perl(subs) -# XXX: BuildRequires: perl(Term::ANSIColor) +BuildRequires: perl(Term::ANSIColor) BuildRequires: perl(vars) BuildRequires: perl(warnings) # Tests only @@ -41,22 +42,34 @@ arguments. The string is formatted for easy reading. %setup -q -n Data-Dump-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} %install -make pure_install DESTDIR=%{buildroot} -%{_fixperms} %{buildroot}/* +%{make_install} +%{_fixperms} -c %{buildroot} %check make test %files -%doc Changes README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%doc Changes README.md +%{perl_vendorlib}/Data/ +%{_mandir}/man3/Data::Dump.3* +%{_mandir}/man3/Data::Dump::Filtered.3* +%{_mandir}/man3/Data::Dump::Trace.3* %changelog +* Sat Jun 26 2021 Paul Howarth - 1.25-1 +- Update to 1.25 + - Strings like "NaN" are still strings + - Update maintainer and repository information + - New option $Data::Dump::LINEWIDTH controls when to perform a line break + (default is 60) +- Use author-independent source URL +- Use %%{make_build} and %%{make_install} macros +- Make %%files list more explicit + * Fri May 21 2021 Jitka Plesnikova - 1.23-17 - Perl 5.34 rebuild diff --git a/sources b/sources index 0ffe1a0..7858cb9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -762c111e525c82ff23d62c90821b26e9 Data-Dump-1.23.tar.gz +SHA512 (Data-Dump-1.25.tar.gz) = fc859b0f02a44a959da3e162606c8fbaefececf8dbd0aa357d68a5a3143b818ae423dd7862063f2f77161ea000fcaa6841c96a2c4a268b889da9588292b157fe