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
This commit is contained in:
Paul Howarth 2021-06-26 16:24:22 +01:00
parent 9adb1fe5a6
commit aa620caf8a
4 changed files with 29 additions and 13 deletions

1
.gitignore vendored
View File

@ -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

2
perl-Data-Dump.rpmlintrc Normal file
View File

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error %description -l en_US evaled -> ")

View File

@ -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 <paul@city-fan.org> - 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 <jplesnik@redhat.com> - 1.23-17
- Perl 5.34 rebuild

View File

@ -1 +1 @@
762c111e525c82ff23d62c90821b26e9 Data-Dump-1.23.tar.gz
SHA512 (Data-Dump-1.25.tar.gz) = fc859b0f02a44a959da3e162606c8fbaefececf8dbd0aa357d68a5a3143b818ae423dd7862063f2f77161ea000fcaa6841c96a2c4a268b889da9588292b157fe