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:
parent
9adb1fe5a6
commit
aa620caf8a
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
2
perl-Data-Dump.rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
||||
from Config import *
|
||||
addFilter("spelling-error %description -l en_US evaled -> ")
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user