perl-Data-Dump/perl-Data-Dump.spec
wangjiang 7b6c8a5db5 modify the license to make it specification
(cherry picked from commit b22aedc7297afd81dea0e3ca8494dc2f7a6c6c2c)
2022-11-03 10:30:49 +08:00

52 lines
1.6 KiB
RPMSpec

Name: perl-Data-Dump
Version: 1.25
Release: 2
Summary: Pretty printing of data structures
License: GPL-1.0-or-later or Artistic-1.0-Perl
URL: https://metacpan.org/release/Data-Dump
Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/Data-Dump-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make perl-interpreter perl-generators perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(base) perl(Carp) perl(Exporter) perl(MIME::Base64) perl(overload)
BuildRequires: perl(strict) perl(subs) perl(vars) perl(warnings) perl(IO::Socket::INET)
BuildRequires: perl(Symbol) perl(Test) perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Suggests: perl(MIME::Base64)
%description
This module provide a few functions that traverse their argument and produces a string as its result.
The string contains Perl code that, when evaled, produces a deep copy of the original arguments.
%prep
%autosetup -n Data-Dump-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README.md
%{perl_vendorlib}/*
%{_mandir}/man3/*
%exclude %{_libdir}/perl5/perllocal.pod
%changelog
* Wed Nov 02 wangjiang <wangjiang37@h-partners.com> - 1.25-2
- modify the license to make it specification
* Mon Nov 22 2021 shixuantong <shixuantong@huawei.com> - 1.25-1
- update version to 1.25
* Fri Oct 25 2019 huzhiyu <huzhiyu1@huawei.com> - 1.23-10
- Package init