Update to 1.224

- 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
epel9
Paul Howarth 8 years ago
parent c6467053d1
commit 036faa274c

@ -1,13 +1,13 @@
# PPI::XSAccessor is experimental # PPI::XSAccessor is experimental
%if 0%{?rhel} >= 7 %if 0%{?rhel:1}
%bcond_with XSAccessor %bcond_with XSAccessor
%else %else
%bcond_without XSAccessor %bcond_without XSAccessor
%endif %endif
Name: perl-PPI Name: perl-PPI
Version: 1.220 Version: 1.224
Release: 8%{?dist} Release: 1%{?dist}
Summary: Parse, Analyze and Manipulate Perl Summary: Parse, Analyze and Manipulate Perl
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/PPI/ 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 Patch0: PPI-1.215-utf8.patch
BuildArch: noarch BuildArch: noarch
# =============== Module Build ====================== # =============== Module Build ======================
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl(Capture::Tiny)
BuildRequires: perl(Config) BuildRequires: perl(Config)
BuildRequires: perl(Cwd) BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker) > 6.75
BuildRequires: perl(ExtUtils::MM_Unix) BuildRequires: perl(ExtUtils::MM_Unix)
BuildRequires: perl(Fcntl) BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Find) BuildRequires: perl(File::Find)
BuildRequires: perl(IO::All) BuildRequires: perl(lib)
BuildRequires: perl(Task::Weaken) BuildRequires: perl(Task::Weaken)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
BuildRequires: sed
# =============== Module Runtime ==================== # =============== Module Runtime ====================
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Clone) >= 0.30 BuildRequires: perl(Clone) >= 0.30
@ -37,7 +40,7 @@ BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec) >= 0.84 BuildRequires: perl(File::Spec) >= 0.84
BuildRequires: perl(IO::String) >= 1.07 BuildRequires: perl(IO::String) >= 1.07
BuildRequires: perl(List::MoreUtils) >= 0.16 BuildRequires: perl(List::MoreUtils) >= 0.16
BuildRequires: perl(List::Util) >= 1.20 BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(overload) BuildRequires: perl(overload)
BuildRequires: perl(Params::Util) >= 1.00 BuildRequires: perl(Params::Util) >= 1.00
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
@ -45,13 +48,16 @@ BuildRequires: perl(Storable) >= 2.17
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(vars) BuildRequires: perl(vars)
# =============== Test Suite ======================== # =============== Test Suite ========================
BuildRequires: perl(B)
BuildRequires: perl(base)
BuildRequires: perl(Class::Inspector) >= 1.22 BuildRequires: perl(Class::Inspector) >= 1.22
BuildRequires: perl(File::Copy) BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Remove) >= 0.39 BuildRequires: perl(File::Remove) >= 0.39
BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Spec::Unix) BuildRequires: perl(File::Spec::Unix)
BuildRequires: perl(if)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 0.86 BuildRequires: perl(Test::More) >= 0.86
BuildRequires: perl(Test::NoWarnings) >= 0.084
BuildRequires: perl(Test::Object) >= 0.07 BuildRequires: perl(Test::Object) >= 0.07
BuildRequires: perl(Test::SubCalls) >= 1.07 BuildRequires: perl(Test::SubCalls) >= 1.07
BuildRequires: perl(Time::HiRes) BuildRequires: perl(Time::HiRes)
@ -72,6 +78,7 @@ BuildRequires: perl(Test::Pod) >= 1.44
# =============== Module Runtime ==================== # =============== Module Runtime ====================
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%if %{with XSAccessor} %if %{with XSAccessor}
BuildRequires: perl(Class::XSAccessor)
Requires: perl(Class::XSAccessor) Requires: perl(Class::XSAccessor)
%endif %endif
# Run-require Task::Weaken, see Changes for more details. # 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 sed -i -e 's/\r$//' README.md
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' %{_fixperms} -c %{buildroot}
%{_fixperms} %{buildroot}
%check %check
make test make test
@ -116,17 +122,26 @@ make test TEST_FILES="xt/*.t" RELEASE_TESTING=1
%endif %endif
%files %files
%if 0%{?_licensedir:1}
%license LICENSE %license LICENSE
%else
%doc LICENSE
%endif
%doc Changes README README.md %doc Changes README README.md
%{perl_vendorlib}/PPI/ %{perl_vendorlib}/PPI/
%{perl_vendorlib}/PPI.pm %{perl_vendorlib}/PPI.pm
%{_mandir}/man3/PPI*.3pm* %{_mandir}/man3/PPI*.3*
%changelog %changelog
* Tue May 16 2017 Paul Howarth <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 1.220-8 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.220-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

@ -1 +1 @@
52224156144862b79b91fb53191ae47f PPI-1.220.tar.gz SHA512 (PPI-1.224.tar.gz) = 7c5f4a01b3d4a1e7e2f68d7e5c81368387fbe9a4cd2f20afc494706f742c9ba0b293747b692fb77af9a1457e077687c7d5217bf09137ab71bb50ba52da24431c

Loading…
Cancel
Save