Update to 0.18

- New upstream release 0.18
  - Update some distribution tooling
- Switch to ExtUtils::MakeMaker flow
epel9
Paul Howarth 10 years ago
parent 20268dab29
commit 192b67ddd3

@ -1,19 +1,21 @@
Name: perl-Devel-PartialDump
Version: 0.17
Release: 3%{?dist}
Version: 0.18
Release: 1%{?dist}
Summary: Partial dumping of data structures, optimized for argument printing
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Devel-PartialDump/
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/Devel-PartialDump-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(Module::Build::Tiny) >= 0.030
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(Carp::Heavy)
BuildRequires: perl(Class::Tiny)
BuildRequires: perl(namespace::clean) >= 0.20
BuildRequires: perl(namespace::clean) >= 0.19
BuildRequires: perl(overload)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict)
@ -23,14 +25,12 @@ BuildRequires: perl(warnings)
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(List::Util)
BuildRequires: perl(File::Spec)
BuildRequires: perl(ok)
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(Test::Warn)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp::Heavy)
Requires: perl(overload)
# Filter bogus provide of perl(DB)
@ -43,22 +43,30 @@ This module is a data dumper optimized for logging of arbitrary parameters.
%setup -q -n Devel-PartialDump-%{version}
%build
perl Build.PL --installdirs=vendor
./Build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
./Build install --destdir=%{buildroot} --create_packlist=0
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}
%check
./Build test
make test
%files
%license LICENSE
%doc Changes CONTRIBUTING README.md
%doc Changes CONTRIBUTING README
%{perl_vendorlib}/Devel/
%{_mandir}/man3/Devel::PartialDump.3*
%changelog
* Sun Aug 16 2015 Paul Howarth <paul@city-fan.org> - 0.18-1
- Update to 0.18
- Update some distribution tooling
- Switch to ExtUtils::MakeMaker flow
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

@ -1 +1 @@
c076e685aa184dede1454b3bea3430fa Devel-PartialDump-0.17.tar.gz
eb6045e1ae8860f21631fe046125fd98 Devel-PartialDump-0.18.tar.gz

Loading…
Cancel
Save