Update to 1.220
- New upstream release 1.220 - Incompatible behavior fixes on PPI::Statement::Sub->prototype - Improved parsing of various syntax elements - Code quality improvements - Various small documentation fixes - BR: perl(IO::All) and perl(Capture::Tiny) to quieten warnings for author code during module build - Fix line endings of new README.md file
This commit is contained in:
parent
899b450073
commit
1db368703e
@ -6,10 +6,9 @@
|
||||
%endif
|
||||
|
||||
Name: perl-PPI
|
||||
Version: 1.218
|
||||
Release: 3%{?dist}
|
||||
Version: 1.220
|
||||
Release: 1%{?dist}
|
||||
Summary: Parse, Analyze and Manipulate Perl
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/PPI/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MITHALDU/PPI-%{version}.tar.gz
|
||||
@ -17,13 +16,16 @@ Patch0: PPI-1.215-utf8.patch
|
||||
BuildArch: noarch
|
||||
# =============== Module Build ======================
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Capture::Tiny)
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(ExtUtils::MM_Unix)
|
||||
BuildRequires: perl(Fcntl)
|
||||
BuildRequires: perl(File::Find)
|
||||
BuildRequires: perl(IO::All)
|
||||
BuildRequires: perl(Task::Weaken)
|
||||
BuildRequires: perl(warnings)
|
||||
# =============== Module Runtime ====================
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Clone) >= 0.30
|
||||
@ -41,7 +43,6 @@ BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Storable) >= 2.17
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(warnings)
|
||||
# =============== Test Suite ========================
|
||||
BuildRequires: perl(Class::Inspector) >= 1.22
|
||||
BuildRequires: perl(File::Copy)
|
||||
@ -56,7 +57,7 @@ BuildRequires: perl(Time::HiRes)
|
||||
BuildRequires: perl(utf8)
|
||||
# =============== Release Tests =====================
|
||||
# Circular dependencies in release tests, so don't do them when bootstrapping:
|
||||
# Perl::MinimumVersion -> PPI
|
||||
# Perl::MinimumVersion → PPI
|
||||
%if 0%{!?perl_bootstrap:1}
|
||||
BuildRequires: perl(File::Find::Rule) >= 0.32
|
||||
BuildRequires: perl(File::Find::Rule::Perl) >= 1.09
|
||||
@ -95,6 +96,9 @@ sed -i '/^lib\/PPI\/XSAccessor\.pm$/d' MANIFEST
|
||||
# Get rid of spurious exec permissions
|
||||
find . -type f | xargs chmod -c -x
|
||||
|
||||
# Fix line endings
|
||||
sed -i -e 's/\r$//' README.md
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
@ -116,12 +120,22 @@ make test TEST_FILES="xt/*.t" RELEASE_TESTING=1
|
||||
%else
|
||||
%doc LICENSE
|
||||
%endif
|
||||
%doc Changes README
|
||||
%doc Changes README README.md
|
||||
%{perl_vendorlib}/PPI/
|
||||
%{perl_vendorlib}/PPI.pm
|
||||
%{_mandir}/man3/PPI*.3pm*
|
||||
|
||||
%changelog
|
||||
* Wed Nov 12 2014 Paul Howarth <paul@city-fan.org> - 1.220-1
|
||||
- Update to 1.220
|
||||
- Incompatible behavior fixes on PPI::Statement::Sub->prototype
|
||||
- Improved parsing of various syntax elements
|
||||
- Code quality improvements
|
||||
- Various small documentation fixes
|
||||
- BR: perl(IO::All) and perl(Capture::Tiny) to quieten warnings for author
|
||||
code during module build
|
||||
- Fix line endings of new README.md file
|
||||
|
||||
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.218-3
|
||||
- Perl 5.20 re-rebuild of bootstrapped packages
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user