Update to 0.17

- New upstream release 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
epel9
Paul Howarth 10 years ago
parent fdf6938f5a
commit 42911bac23

4
.gitignore vendored

@ -1,3 +1 @@
Devel-PartialDump-0.13.tar.gz /Devel-PartialDump-[0-9.]*.tar.gz
/Devel-PartialDump-0.14.tar.gz
/Devel-PartialDump-0.15.tar.gz

@ -1,29 +1,40 @@
Name: perl-Devel-PartialDump Name: perl-Devel-PartialDump
Version: 0.15 Version: 0.17
Release: 14%{?dist} Release: 1%{?dist}
Summary: Partial dumping of data structures, optimized for argument printing Summary: Partial dumping of data structures, optimized for argument printing
# from PartialDump.pm
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Devel-PartialDump/ 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 BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker) # Module Build
# Moose has a manual dependency on Devel::PartialDump for enhanced reporting BuildRequires: perl
# Devel::PartialDump itself requires Moose, so when bootstrapping we do a blind BuildRequires: perl(Module::Build::Tiny) >= 0.030
# build of Devel::PartialDump without running the test suite, then build Moose, # Module Runtime
# then rebuild Devel::PartialDump with Moose, running the test suite BuildRequires: perl(Carp)
%if !0%{?perl_bootstrap} BuildRequires: perl(Carp::Heavy)
BuildRequires: perl(Moose) BuildRequires: perl(Class::Tiny)
%endif
BuildRequires: perl(namespace::clean) >= 0.20 BuildRequires: perl(namespace::clean) >= 0.20
BuildRequires: perl(overload)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict)
BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(Test::use::ok) BuildRequires: perl(warnings)
BuildRequires: perl(Test::Warn) >= 0.21 # Test Suite
Requires: perl(namespace::clean) >= 0.20 BuildRequires: perl(CPAN::Meta)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(ExtUtils::MakeMaker)
%{?perl_default_filter} 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 %description
This module is a data dumper optimized for logging of arbitrary parameters. 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} %setup -q -n Devel-PartialDump-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Build.PL --installdirs=vendor
make %{?_smp_mflags} ./Build
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT ./Build install --destdir=%{buildroot} --create_packlist=0
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/*
%check %check
%if 0%{!?perl_bootstrap:1} ./Build test
make test
%endif
%files %files
%doc Changes %license LICENSE
%{perl_vendorlib}/* %doc Changes CONTRIBUTING README.md
%{_mandir}/man3/* %{perl_vendorlib}/Devel/
%{_mandir}/man3/Devel::PartialDump.3*
%changelog %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 * Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-14
- Perl 5.20 re-rebuild of bootstrapped packages - Perl 5.20 re-rebuild of bootstrapped packages

@ -1 +1 @@
e6ce9de65d5d80a61280f9e865607e47 Devel-PartialDump-0.15.tar.gz c076e685aa184dede1454b3bea3430fa Devel-PartialDump-0.17.tar.gz

Loading…
Cancel
Save