@ -1,6 +1,6 @@
Name: perl-Devel-PartialDump
Version: 0.18
Release: 5 %{?dist}
Version: 0.19
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/
@ -23,13 +23,15 @@ BuildRequires: perl(strict)
BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(Carp) >= 1.25
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(if)
BuildRequires: perl(ok)
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(Test::Warn)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Warnings ) >= 0.009
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(overload)
@ -48,21 +50,26 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
make test
%files
%license LICENS E
%license LICENC E
%doc Changes CONTRIBUTING README
%{perl_vendorlib}/Devel/
%{_mandir}/man3/Devel::PartialDump.3*
%changelog
* Tue Jul 4 2017 Paul Howarth <paul@city-fan.org> - 0.19-1
- Update to 0.19
- Remove use of Test::Warn in tests
- Simplify find command using -delete
- Drop explicit buildroot cleaning in %%install section
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.18-5
- Perl 5.26 rebuild