2006-05-02 12:38:07 +00:00
|
|
|
Name: perl-PPI
|
2011-03-27 10:17:10 +00:00
|
|
|
Version: 1.215
|
2011-07-21 10:02:40 +00:00
|
|
|
Release: 3%{?dist}
|
2006-05-02 12:38:07 +00:00
|
|
|
Summary: Parse, Analyze and Manipulate Perl
|
|
|
|
Group: Development/Libraries
|
2007-11-28 18:33:04 +00:00
|
|
|
License: GPL+ or Artistic
|
2006-05-02 12:38:07 +00:00
|
|
|
URL: http://search.cpan.org/dist/PPI/
|
|
|
|
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/PPI-%{version}.tar.gz
|
2011-07-21 10:02:40 +00:00
|
|
|
Patch0: PPI-1.215-UTF8.patch
|
2006-05-02 12:38:07 +00:00
|
|
|
BuildArch: noarch
|
2009-10-07 16:30:06 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(List::Util) >= 1.20
|
|
|
|
BuildRequires: perl(Storable) >= 2.17
|
|
|
|
BuildRequires: perl(Clone) >= 0.30
|
2011-07-21 10:02:40 +00:00
|
|
|
BuildRequires: perl(Digest::MD5) >= 2.35
|
2009-10-07 16:30:06 +00:00
|
|
|
BuildRequires: perl(File::Remove) >= 1.42
|
2006-06-04 17:31:33 +00:00
|
|
|
BuildRequires: perl(IO::String) >= 1.07
|
2009-10-07 16:30:06 +00:00
|
|
|
BuildRequires: perl(List::MoreUtils) >= 0.16
|
|
|
|
BuildRequires: perl(Params::Util) >= 1.00
|
2010-07-30 20:23:09 +00:00
|
|
|
BuildRequires: perl(Task::Weaken)
|
2011-07-21 10:02:40 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.86
|
2010-07-30 20:23:09 +00:00
|
|
|
BuildRequires: perl(Test::NoWarnings) >= 0.084
|
2010-07-31 14:21:18 +00:00
|
|
|
BuildRequires: perl(Test::Object) >= 0.07
|
2009-10-07 16:30:06 +00:00
|
|
|
BuildRequires: perl(Test::SubCalls) >= 1.07
|
2011-07-21 10:02:40 +00:00
|
|
|
# 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(Test::ClassAPI) >= 1.03
|
|
|
|
BuildRequires: perl(Test::CPAN::Meta)
|
|
|
|
BuildRequires: perl(Test::MinimumVersion) >= 0.101080
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
2011-06-28 11:14:01 +00:00
|
|
|
%endif
|
2011-07-21 10:02:40 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
# Filter out redundant unversioned provides
|
|
|
|
%global __provides_exclude ^perl\\(PPI::.+\\)$
|
2006-05-02 12:38:07 +00:00
|
|
|
|
|
|
|
%description
|
2011-03-27 10:17:10 +00:00
|
|
|
Parse, analyze and manipulate Perl (without perl).
|
2006-05-02 12:38:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n PPI-%{version}
|
2011-07-21 10:02:40 +00:00
|
|
|
|
|
|
|
# Re-code docs as UTF-8
|
|
|
|
%patch0 -p1
|
2006-05-02 12:38:07 +00:00
|
|
|
|
2010-07-30 20:23:09 +00:00
|
|
|
|
2006-05-02 12:38:07 +00:00
|
|
|
%build
|
2011-07-21 10:02:40 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2006-05-02 12:38:07 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
2011-07-21 10:02:40 +00:00
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
%{_fixperms} %{buildroot}
|
2006-05-02 12:38:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
%check
|
2010-07-31 14:21:18 +00:00
|
|
|
make test
|
2011-07-21 10:02:40 +00:00
|
|
|
%if 0%{!?perl_bootstrap:1}
|
2010-07-31 14:21:18 +00:00
|
|
|
make test TEST_FILES="xt/*.t" RELEASE_TESTING=1
|
2011-06-28 11:14:01 +00:00
|
|
|
%endif
|
2006-05-02 12:38:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes LICENSE README inline2test.conf inline2test.tpl
|
2010-07-30 20:23:09 +00:00
|
|
|
%{perl_vendorlib}/PPI/
|
|
|
|
%{perl_vendorlib}/PPI.pm
|
|
|
|
%{_mandir}/man3/PPI*.3pm*
|
2006-05-02 12:38:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2011-07-21 10:02:40 +00:00
|
|
|
* Thu Jul 21 2011 Paul Howarth <paul@city-fan.org> - 1.215-3
|
|
|
|
- always run test suite but don't run release tests when bootstrapping
|
|
|
|
- nobody else likes macros for commands
|
|
|
|
- clean up for modern rpm:
|
|
|
|
- drop explicit buildroot tag
|
|
|
|
- drop buildroot cleaning
|
|
|
|
- drop %%defattr
|
|
|
|
- use native provides filtering
|
|
|
|
- use a patch rather than scripting iconv to fix character encoding
|
|
|
|
- upstream file permissions no longer need fixing
|
|
|
|
|
2011-06-28 11:14:01 +00:00
|
|
|
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.215-2
|
|
|
|
- rebuild with Perl 5.14.1
|
|
|
|
- use perl_bootstrap macro
|
|
|
|
|
2011-03-27 10:17:10 +00:00
|
|
|
* Sun Mar 27 2011 Paul Howarth <paul@city-fan.org> - 1.215-1
|
|
|
|
- update to 1.215 (general fix release):
|
|
|
|
- index_locations on an empty document no longer warns
|
|
|
|
- Corrected a bug in line-spanning attribute support
|
|
|
|
- Regression test for line-spanning attribute support
|
|
|
|
- return { foo => 1 } should parse curlys as hash constructor, not block
|
|
|
|
(CPAN RT#61305)
|
|
|
|
- Fixed bug with map and regexp confusing PPI (CPAN RT#63943)
|
|
|
|
- Updated copyright year to 2011
|
|
|
|
- Fix bless {} probably contains a hash constructor (CPAN RT#64247)
|
|
|
|
- Backed out glob fix
|
|
|
|
- Fix cast can trump braces in PPI::Token::Symbol->symbol (CPAN RT#65199)
|
|
|
|
|
2011-02-09 05:24:05 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.213-3
|
2011-03-27 10:04:41 +00:00
|
|
|
- rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
2011-02-09 05:24:05 +00:00
|
|
|
|
2010-12-21 18:21:24 +00:00
|
|
|
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.213-2
|
2011-03-27 10:04:41 +00:00
|
|
|
- rebuild to fix problems with vendorarch/lib (#661697)
|
2010-12-21 18:21:24 +00:00
|
|
|
|
2010-07-31 16:02:18 +00:00
|
|
|
* Sat Jul 31 2010 Paul Howarth <paul@city-fan.org> - 1.213-1
|
|
|
|
- update to 1.213 (targeted bug fix, no changes to parsing or normal usage)
|
|
|
|
- Updated to Module::Install 1.00
|
|
|
|
- Updated module dependencies in xt author tests
|
|
|
|
- Fixed extremely broken PPI::Token::Pod::merge and added test case
|
|
|
|
- bump perl(Perl::MinimumVersion) requirement to 1.25
|
|
|
|
- bump perl(Test::CPAN::Meta) requirement to 0.17
|
|
|
|
- bump perl(Test::Pod) requirement to 1.44
|
|
|
|
|
2010-07-31 14:21:18 +00:00
|
|
|
* Sat Jul 31 2010 Paul Howarth <paul@city-fan.org> - 1.212-1
|
|
|
|
- update to 1.212 (experimental/development support and bugfixes)
|
|
|
|
- Fixed bug in ForLoop back-compatibility warning (CPAN RT#48819)
|
|
|
|
- Added support for $ENV{X_TOKENIZER} --> $PPI::Lexer::X_TOKENIZER
|
|
|
|
- Upgraded to Module::Install 0.93
|
|
|
|
- Added support for $PPI::Lexer::X_TOKENIZER, for alternate tokenizers
|
|
|
|
- Added an extra test case to validate we handle byte order marks properly
|
|
|
|
- Moved author tests from t to xt
|
|
|
|
- Fixed CPAN RT#26082: scalar { %%x } is misparsed
|
|
|
|
- Fixed CPAN RT#26591: VMS patch for PPI 1.118
|
|
|
|
- Fixed CPAN RT#44862: PPI cannot parse "package Foo::100;" correctly
|
|
|
|
- Fixed CPAN RT#54208: PPI::Token::Quote::Literal::literal missing
|
|
|
|
- run release tests as well as regular test suite
|
|
|
|
- BR: perl(File::Find::Rule) >= 0.32, perl(File::Find::Rule::Perl) >= 1.09,
|
|
|
|
perl(Perl::MinimumVersion) >= 1.24 and perl(Test::MinimumVersion) >= 0.101080
|
|
|
|
for release tests
|
|
|
|
|
2010-07-31 13:31:16 +00:00
|
|
|
* Sat Jul 31 2010 Paul Howarth <paul@city-fan.org> - 1.210-1
|
|
|
|
- update to 1.210 (packaging fixes)
|
|
|
|
- use RELEASE_TESTING rather than AUTOMATED_TESTING for better test coverage
|
|
|
|
|
2010-07-31 10:03:08 +00:00
|
|
|
* Sat Jul 31 2010 Paul Howarth <paul@city-fan.org> - 1.209-1
|
|
|
|
- update to 1.209 (small optimisation release, no functional changes)
|
|
|
|
|
2010-07-30 20:32:45 +00:00
|
|
|
* Fri Jul 30 2010 Paul Howarth <paul@city-fan.org> - 1.208-1
|
|
|
|
- update to 1.208
|
|
|
|
- don't assign '' to $^W, it generates a warning on Gentoo
|
|
|
|
- added missing PPI::Token::Regexp fix to Changes file
|
|
|
|
- updating Copyright to the new year
|
|
|
|
- fixed #50309: literal() wrong result on "qw (a b c)"
|
|
|
|
- PPI::Dumper no longer causes Elements to flush location data
|
|
|
|
- PPI::Dumper no longer disables location information for non-Documents
|
|
|
|
- +{ package => 1 } doesn't create a PPI::Statement::Package
|
|
|
|
- extra methods in PPI::Token::Regexp and PPI::Token::QuoteLike::Regexp
|
|
|
|
- use %%{_fixperms} macro instead of our own chmod incantation
|
|
|
|
|
2010-07-30 20:23:09 +00:00
|
|
|
* Fri Jul 30 2010 Paul Howarth <paul@city-fan.org> - 1.206-6
|
|
|
|
- BR: perl(Task::Weaken) and perl(Test::CPAN::Meta) for improved test coverage
|
|
|
|
- enable AUTOMATED_TESTING
|
|
|
|
- use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
|
|
2010-05-06 08:56:21 +00:00
|
|
|
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.206-5
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2010-02-11 14:05:41 +00:00
|
|
|
* Thu Feb 11 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1.206-4
|
|
|
|
- fix filtering, provide versioned provides
|
|
|
|
|
2010-02-10 14:56:14 +00:00
|
|
|
* Wed Feb 10 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1.206-3
|
|
|
|
- make rpmlint happy
|
|
|
|
|
2009-12-07 07:32:26 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.206-2
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-10-07 16:30:06 +00:00
|
|
|
* Wed Oct 7 2009 Stepan Kasal <skasal@redhat.com> - 1.206-1
|
|
|
|
- new upstream version
|
|
|
|
- update build requires
|
|
|
|
|
2009-07-26 14:02:53 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.203-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-27 00:08:06 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.203-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-09-09 19:40:13 +00:00
|
|
|
* Tue Sep 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.203-1
|
|
|
|
- update to 1.203
|
|
|
|
|
2008-02-27 21:45:14 +00:00
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.201-3
|
|
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
|
2008-01-13 16:46:32 +00:00
|
|
|
* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.201-2
|
2008-01-13 16:44:48 +00:00
|
|
|
- rebuild for new perl
|
|
|
|
|
2007-12-19 18:53:25 +00:00
|
|
|
* Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.201-1
|
|
|
|
- bump to 1.201
|
|
|
|
|
2006-09-23 09:48:29 +00:00
|
|
|
* Sat Sep 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.118-1
|
|
|
|
- Update to 1.118.
|
|
|
|
|
2006-09-10 18:23:51 +00:00
|
|
|
* Wed Sep 6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.117-1
|
|
|
|
- Update to 1.117.
|
|
|
|
|
2006-06-04 17:43:48 +00:00
|
|
|
* Sun Jun 4 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.115-2
|
|
|
|
- Removed the perl(IO::Scalar) build requirement.
|
|
|
|
|
2006-06-04 17:31:33 +00:00
|
|
|
* Sun Jun 4 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.115-1
|
|
|
|
- Update to 1.115.
|
|
|
|
|
2006-05-10 12:00:03 +00:00
|
|
|
* Wed May 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.113-1
|
|
|
|
- Update to 1.113.
|
|
|
|
|
2006-05-02 12:38:07 +00:00
|
|
|
* Tue Apr 25 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.112-1
|
|
|
|
- Update to 1.112.
|
|
|
|
|
|
|
|
* Sat Apr 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.111-1
|
|
|
|
- First build.
|