[perl-Devel-PartialDump] Update to 0.17
Paul Howarth
pghmcfc at fedoraproject.org
Wed Nov 12 14:04:24 UTC 2014
commit 42911bac23f651e000ac2361ce5fd9b9b97952ae
Author: Paul Howarth <paul at city-fan.org>
Date: Wed Nov 12 14:00:01 2014 +0000
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
.gitignore | 4 +--
perl-Devel-PartialDump.spec | 85 +++++++++++++++++++++++++++----------------
sources | 2 +-
3 files changed, 55 insertions(+), 36 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 79cccee..8f1e674 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1 @@
-Devel-PartialDump-0.13.tar.gz
-/Devel-PartialDump-0.14.tar.gz
-/Devel-PartialDump-0.15.tar.gz
+/Devel-PartialDump-[0-9.]*.tar.gz
diff --git a/perl-Devel-PartialDump.spec b/perl-Devel-PartialDump.spec
index 75446cd..57927b8 100644
--- a/perl-Devel-PartialDump.spec
+++ b/perl-Devel-PartialDump.spec
@@ -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 at 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 at redhat.com> - 0.15-14
- Perl 5.20 re-rebuild of bootstrapped packages
diff --git a/sources b/sources
index 6ecf0b9..474c739 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e6ce9de65d5d80a61280f9e865607e47 Devel-PartialDump-0.15.tar.gz
+c076e685aa184dede1454b3bea3430fa Devel-PartialDump-0.17.tar.gz
More information about the scm-commits
mailing list