@ -1,29 +1,40 @@
Name: perl-Devel-PartialDump
Version: 0.15
Release: 14 %{?dist}
Version: 0.17
Release: 1%{?dist}
Summary: Partial dumping of data structures, optimized for argument printing
# from PartialDump.pm
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Devel-PartialDump/
Source0: http://www.cpan.org/authors/id/F/FL/FLORA /Devel-PartialDump-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/E/ET/ETHER /Devel-PartialDump-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
# Moose has a manual dependency on Devel::PartialDump for enhanced reporting
# Devel::PartialDump itself requires Moose, so when bootstrapping we do a blind
# build of Devel::PartialDump without running the test suite, then build Moose,
# then rebuild Devel::PartialDump with Moose, running the test suite
%if !0%{?perl_bootstrap}
BuildRequires: perl(Moose)
%endif
# Module Build
BuildRequires: perl
BuildRequires: perl(Module::Build::Tiny) >= 0.030
# Module Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(Carp::Heavy)
BuildRequires: perl(Class::Tiny)
BuildRequires: perl(namespace::clean) >= 0.20
BuildRequires: perl(overload)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict)
BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(Test::use::ok)
BuildRequires: perl(Test::Warn) >= 0.21
Requires: perl(namespace::clean) >= 0.20
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(List::Util)
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)
%global __provides_exclude perl\\(DB\\)
%description
This module is a data dumper optimized for logging of arbitrary parameters.
@ -32,28 +43,38 @@ This module is a data dumper optimized for logging of arbitrary parameters.
%setup -q -n Devel-PartialDump-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS =vendor
make %{?_smp_mflags}
perl Build.PL --installdirs =vendor
./Build
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
./Build install --destdir=%{buildroot} --create_packlist=0
%check
%if 0%{!?perl_bootstrap:1}
make test
%endif
./Build test
%files
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*
%license LICENSE
%doc Changes CONTRIBUTING README.md
%{perl_vendorlib}/Devel/
%{_mandir}/man3/Devel::PartialDump.3*
%changelog
* Wed Nov 12 2014 Paul Howarth <paul@city-fan.org> - 0.17-1
- Update to 0.17
- Moose dependency removed, resolving circular dependency in Moose's
recommended prereqs
- Converted packaging to Dist::Zilla
- Attribute list_delim is now being used in list dumps
- Setting attribute max_length to 0 now shortens more, to '...'
- Fixed use of = in array/hash ref objects
- Extra test coverage
- This release by ETHER → update source URL
- Switch to Module::Build::Tiny flow
- Package upstream CONTRIBUTING, LICENSE and README.md files
- Classify buildreqs by usage
- Use %%license
- Make %%files list more explicit
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-14
- Perl 5.20 re-rebuild of bootstrapped packages