From 036faa274c8147b2a88c09218f50357787c6a3de Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Tue, 16 May 2017 11:25:08 +0100 Subject: [PATCH] Update to 1.224 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - New upstream release 1.224 - Unit tests for many parts, both passing and TODO - Many documentation fixes - Add ->version method to PPI::Statement::Package - Remove unused PPI::Document->new timeout feature - Do not expect '.' in @INC - Many parsing fixes - Various fixes to the behaviors of methods - Removal of problematic dependencies - Simplify find command using -delete - Drop support for EL6/EL7 as they don't have List::Util ≥ 1.33 --- perl-PPI.spec | 49 ++++++++++++++++++++++++++++++++----------------- sources | 2 +- 2 files changed, 33 insertions(+), 18 deletions(-) diff --git a/perl-PPI.spec b/perl-PPI.spec index 67adea5..52ecafd 100644 --- a/perl-PPI.spec +++ b/perl-PPI.spec @@ -1,13 +1,13 @@ # PPI::XSAccessor is experimental -%if 0%{?rhel} >= 7 +%if 0%{?rhel:1} %bcond_with XSAccessor %else %bcond_without XSAccessor %endif Name: perl-PPI -Version: 1.220 -Release: 8%{?dist} +Version: 1.224 +Release: 1%{?dist} Summary: Parse, Analyze and Manipulate Perl License: GPL+ or Artistic URL: http://search.cpan.org/dist/PPI/ @@ -15,18 +15,21 @@ Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MITHALDU/PPI-%{versi Patch0: PPI-1.215-utf8.patch BuildArch: noarch # =============== Module Build ====================== +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl BuildRequires: perl-generators -BuildRequires: perl(Capture::Tiny) BuildRequires: perl(Config) BuildRequires: perl(Cwd) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) > 6.75 BuildRequires: perl(ExtUtils::MM_Unix) BuildRequires: perl(Fcntl) BuildRequires: perl(File::Find) -BuildRequires: perl(IO::All) +BuildRequires: perl(lib) BuildRequires: perl(Task::Weaken) BuildRequires: perl(warnings) +BuildRequires: sed # =============== Module Runtime ==================== BuildRequires: perl(Carp) BuildRequires: perl(Clone) >= 0.30 @@ -37,7 +40,7 @@ BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) >= 0.84 BuildRequires: perl(IO::String) >= 1.07 BuildRequires: perl(List::MoreUtils) >= 0.16 -BuildRequires: perl(List::Util) >= 1.20 +BuildRequires: perl(List::Util) >= 1.33 BuildRequires: perl(overload) BuildRequires: perl(Params::Util) >= 1.00 BuildRequires: perl(Scalar::Util) @@ -45,13 +48,16 @@ BuildRequires: perl(Storable) >= 2.17 BuildRequires: perl(strict) BuildRequires: perl(vars) # =============== Test Suite ======================== +BuildRequires: perl(B) +BuildRequires: perl(base) BuildRequires: perl(Class::Inspector) >= 1.22 BuildRequires: perl(File::Copy) BuildRequires: perl(File::Remove) >= 0.39 BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::Spec::Unix) +BuildRequires: perl(if) +BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 0.86 -BuildRequires: perl(Test::NoWarnings) >= 0.084 BuildRequires: perl(Test::Object) >= 0.07 BuildRequires: perl(Test::SubCalls) >= 1.07 BuildRequires: perl(Time::HiRes) @@ -72,6 +78,7 @@ BuildRequires: perl(Test::Pod) >= 1.44 # =============== Module Runtime ==================== Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %if %{with XSAccessor} +BuildRequires: perl(Class::XSAccessor) Requires: perl(Class::XSAccessor) %endif # Run-require Task::Weaken, see Changes for more details. @@ -101,13 +108,12 @@ find . -type f | xargs chmod -c -x sed -i -e 's/\r$//' README.md %build -perl Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 make %{?_smp_mflags} %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -%{_fixperms} %{buildroot} +make install DESTDIR=%{buildroot} +%{_fixperms} -c %{buildroot} %check make test @@ -116,17 +122,26 @@ make test TEST_FILES="xt/*.t" RELEASE_TESTING=1 %endif %files -%if 0%{?_licensedir:1} %license LICENSE -%else -%doc LICENSE -%endif %doc Changes README README.md %{perl_vendorlib}/PPI/ %{perl_vendorlib}/PPI.pm -%{_mandir}/man3/PPI*.3pm* +%{_mandir}/man3/PPI*.3* %changelog +* Tue May 16 2017 Paul Howarth - 1.224-1 +- Update to 1.224 + - Unit tests for many parts, both passing and TODO + - Many documentation fixes + - Add ->version method to PPI::Statement::Package + - Remove unused PPI::Document->new timeout feature + - Do not expect '.' in @INC + - Many parsing fixes + - Various fixes to the behaviors of methods + - Removal of problematic dependencies +- Simplify find command using -delete +- Drop support for EL6/EL7 as they don't have List::Util ≥ 1.33 + * Sat Feb 11 2017 Fedora Release Engineering - 1.220-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index a763a54..6897646 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -52224156144862b79b91fb53191ae47f PPI-1.220.tar.gz +SHA512 (PPI-1.224.tar.gz) = 7c5f4a01b3d4a1e7e2f68d7e5c81368387fbe9a4cd2f20afc494706f742c9ba0b293747b692fb77af9a1457e077687c7d5217bf09137ab71bb50ba52da24431c