Compare commits
18 Commits
Author | SHA1 | Date |
---|---|---|
|
f0cfda2ab3 | |
|
0e4611ef13 | |
|
f4481acf04 | |
|
eb655ee240 | |
|
3d3f5ebc5c | |
|
ab25562018 | |
|
8f805c5647 | |
|
ab907ec810 | |
|
03f1b19822 | |
|
7600a1b35d | |
|
585dd1e7f1 | |
|
61f9b3b4f3 | |
|
49950f8d8b | |
|
431483b554 | |
|
cb6669be17 | |
|
2cacb3b579 | |
|
e8959c28cf | |
|
5175dc69a7 |
|
@ -1,11 +0,0 @@
|
|||
--- Changes
|
||||
+++ Changes
|
||||
@@ -705,7 +705,7 @@ Revision history for Perl extension PPI
|
||||
- Resolved Lexer bug CPAN #13425 ( $p{package} creates a PPI::Statement::Package )
|
||||
Added smarts to resolve word-started statements as ::Expression in subscripts
|
||||
- Resolved PDOM bug CPAN #13326 ( problems in index_locations )
|
||||
- Patch and comprehensive additional tests provided by johanl[ÄT]DarSerMan.com
|
||||
+ Patch and comprehensive additional tests provided by johanl[ÄT]DarSerMan.com
|
||||
- Removed dependency on Class::Autouse. Just load Tokenizer and Lexer up front.
|
||||
- Removed dependency on File::Slurp. Only use it 3 times and it's not worth it
|
||||
when almost all the files we will read are under 50k.
|
139
perl-PPI.spec
139
perl-PPI.spec
|
@ -6,27 +6,19 @@
|
|||
%endif
|
||||
|
||||
Name: perl-PPI
|
||||
Version: 1.236
|
||||
Release: 3%{?dist}
|
||||
Version: 1.270
|
||||
Release: 1%{?dist}
|
||||
Summary: Parse, Analyze and Manipulate Perl
|
||||
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
|
||||
Patch0: PPI-1.215-utf8.patch
|
||||
URL: https://metacpan.org/release/PPI
|
||||
Source0: https://cpan.metacpan.org/modules/by-module/PPI/PPI-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
# =============== Module Build ======================
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) > 6.75
|
||||
BuildRequires: perl(ExtUtils::MM_Unix)
|
||||
BuildRequires: perl(Fcntl)
|
||||
BuildRequires: perl(File::Find)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Task::Weaken)
|
||||
BuildRequires: perl(warnings)
|
||||
BuildRequires: sed
|
||||
|
@ -37,49 +29,37 @@ BuildRequires: perl(constant)
|
|||
BuildRequires: perl(Digest::MD5) >= 2.35
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(File::Spec) >= 0.84
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(IO::String) >= 1.07
|
||||
BuildRequires: perl(List::MoreUtils) >= 0.16
|
||||
BuildRequires: perl(List::Util) >= 1.33
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(Params::Util) >= 1.00
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
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(CPAN::Meta) >= 2.120900
|
||||
BuildRequires: perl(Encode)
|
||||
BuildRequires: perl(File::Copy)
|
||||
BuildRequires: perl(File::Remove) >= 0.39
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
BuildRequires: perl(File::Spec::Unix)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(if)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Test::Deep)
|
||||
BuildRequires: perl(Test::More) >= 0.86
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Test::NoWarnings)
|
||||
BuildRequires: perl(Test::Object) >= 0.07
|
||||
BuildRequires: perl(Test::SubCalls) >= 1.07
|
||||
BuildRequires: perl(Test::Warnings)
|
||||
BuildRequires: perl(Time::HiRes)
|
||||
BuildRequires: perl(utf8)
|
||||
# =============== Release Tests =====================
|
||||
# Circular dependencies in release tests, so don't do them when bootstrapping:
|
||||
# Perl::MinimumVersion → PPI
|
||||
%if 0%{!?perl_bootstrap:1}
|
||||
BuildRequires: perl(File::Find::Rule) >= 0.32
|
||||
BuildRequires: perl(File::Find::Rule::Perl) >= 1.09
|
||||
BuildRequires: perl(Perl::MinimumVersion) >= 1.20
|
||||
BuildRequires: perl(Pod::Simple) >= 3.14
|
||||
BuildRequires: perl(Test::ClassAPI) >= 1.03
|
||||
BuildRequires: perl(Test::CPAN::Meta) >= 0.17
|
||||
BuildRequires: perl(Test::MinimumVersion) >= 0.101080
|
||||
BuildRequires: perl(Test::Pod) >= 1.44
|
||||
%endif
|
||||
# =============== 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.
|
||||
Requires: perl(Task::Weaken)
|
||||
|
@ -93,42 +73,105 @@ Parse, analyze and manipulate Perl (without perl).
|
|||
%prep
|
||||
%setup -q -n PPI-%{version}
|
||||
|
||||
# Recode documentation as UTF-8
|
||||
%patch0
|
||||
|
||||
%if %{without XSAccessor}
|
||||
rm lib/PPI/XSAccessor.pm
|
||||
sed -i '/^lib\/PPI\/XSAccessor\.pm$/d' MANIFEST
|
||||
%endif
|
||||
|
||||
# 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 NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
make %{?_smp_mflags}
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
%{make_install}
|
||||
%{_fixperms} -c %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
%if 0%{!?perl_bootstrap:1}
|
||||
make test TEST_FILES="xt/*.t" RELEASE_TESTING=1
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc Changes README README.md
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/PPI/
|
||||
%{perl_vendorlib}/PPI.pm
|
||||
%{_mandir}/man3/PPI*.3*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 10 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.270-1
|
||||
- Update to 1.270
|
||||
- Attempt to handle new blead binary/hexadecimal parsing behavior in tests
|
||||
|
||||
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.269-2
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Sun May 19 2019 Paul Howarth <paul@city-fan.org> - 1.269-1
|
||||
- Update to 1.269
|
||||
- Many small documentation improvements
|
||||
|
||||
* Thu May 16 2019 Paul Howarth <paul@city-fan.org> - 1.268-1
|
||||
- Update to 1.268
|
||||
- Make PPI::Test::Run more OS-agnostic
|
||||
- Fix a broken link in the pod
|
||||
|
||||
* Thu May 16 2019 Paul Howarth <paul@city-fan.org> - 1.266-1
|
||||
- Update to 1.266
|
||||
- Prevent heredoc terminator detection triggering regex errors
|
||||
- Small clean-ups
|
||||
- Work around test failures caused by DOS line endings in test data files
|
||||
(https://github.com/adamkennedy/PPI/issues/243)
|
||||
|
||||
* Wed May 15 2019 Paul Howarth <paul@city-fan.org> - 1.265-1
|
||||
- Update to 1.265
|
||||
- Simplified a code construct
|
||||
|
||||
* Mon Apr 29 2019 Paul Howarth <paul@city-fan.org> - 1.264-1
|
||||
- Update to 1.264
|
||||
- Keep vstring processing from swallowing underscores
|
||||
|
||||
* Sun Apr 28 2019 Paul Howarth <paul@city-fan.org> - 1.262-1
|
||||
- Update to 1.262
|
||||
- Add support for the double diamond (<<>>) input operator
|
||||
- Adjust position of a todo marker to not catch a passing test
|
||||
- Recognize `for (;<$foo>;) {}` as containing a readline operator
|
||||
- Remove accidentally included use of Test::InDistDir
|
||||
- Allow all PPI::Document instances to have a filename attribute
|
||||
- Allow underscores in vstrings
|
||||
- Convert newlines in some raw test files from win32 to unix
|
||||
|
||||
* Fri Apr 26 2019 Paul Howarth <paul@city-fan.org> - 1.250-1
|
||||
- Update to 1.250
|
||||
- Support postfix dereference
|
||||
- Add support for lexical subroutines from perl-5.26
|
||||
- Support key-value and index-value slices in PPI::Token::Symbol symbol
|
||||
method
|
||||
- Support indented here-docs
|
||||
- Parse list-embedded curlies as hash constructors
|
||||
- Keep exponents of 2 or more zeroes from trapping PPI in an endless loop
|
||||
- Remove dependencies on vars, base and List::MoreUtils
|
||||
- Remove dependency on File::Remove
|
||||
- Reduce globals and cross-package variables
|
||||
- Move to Dist::Zilla
|
||||
- Add some tests including a TODO test for misparse bug on '(1)-1'
|
||||
- Allow tests to run without pre-determined module versions
|
||||
- Make xt/api.t skip/run properly
|
||||
- Fix some typos and formatting in Changes
|
||||
- Add travis-perl helper to be run before install
|
||||
- Update versions of Perl Travis tests on
|
||||
- Modernize spec using %%{make_build} and %%{make_install}
|
||||
- Don't try to run the release tests in the package build
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.236-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.236-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.236-5
|
||||
- Perl 5.28 re-rebuild of bootstrapped packages
|
||||
|
||||
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.236-4
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.236-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (PPI-1.236.tar.gz) = 93a7f4059b12156bdcba77958c17841ab43d85cb0045d0c58d087d6e637e09e253a559cfe465d9d8699329098582759cb8381978c121b9661a9a755e919dece1
|
||||
SHA512 (PPI-1.270.tar.gz) = d138db281c69fc8bbf53174df720e97633e7fd35bc77a24ceeb164277a69a5aff2629a66e7d898d62db270333c87f998eaac23a9eab7ede76dcfd43d2c546858
|
||||
|
|
Loading…
Reference in New Issue