Update to 0.33
- New upstream release 0.33 - Fix false positives with Devel::Declare (CPAN RT#83806) - Fix false positive using ? : syntax (CPAN RT#83839) - Fix incorrect RT link in metadata (CPAN RT#84649) - no indirect in eval could trigger for direct calls on __PACKAGE__ (CPAN RT#88428) - Author tests are no longer bundled with this distribution - Add support for the PERL_OP_PARENT optional feature introduced in perl 5.21.2 - Fix tests that use run_perl(), which fail on Android (CPAN RT#92806) - indirect constructs will no longer segfault while inside the empty package on perl 5.8.x; this fix may also prevent some segfaults during global destruction - Stop breaking eval in an END block in Win32 pseudo-forks (CPAN RT#99083) - Fix segfaults during global destruction of a thread or a pseudo-fork - Classify buildreqs by usage - Make %files list more explicit - Package samples directory as documentation
This commit is contained in:
parent
4d9536c8fb
commit
5be538f942
|
@ -1,5 +1 @@
|
|||
/indirect-0.24.tar.gz
|
||||
/indirect-0.25.tar.gz
|
||||
/indirect-0.26.tar.gz
|
||||
/indirect-0.27.tar.gz
|
||||
/indirect-0.29.tar.gz
|
||||
/indirect-[0-9.]*.tar.gz
|
||||
|
|
|
@ -1,24 +1,36 @@
|
|||
Name: perl-indirect
|
||||
Version: 0.29
|
||||
Release: 9%{?dist}
|
||||
Version: 0.33
|
||||
Release: 1%{?dist}
|
||||
Summary: Lexically warn about using the indirect object syntax
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/indirect/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/indirect-%{version}.tar.gz
|
||||
# Module Build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Devel::CallParser's test suite requires indirect
|
||||
# Module Runtime
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
BuildRequires: perl(XSLoader)
|
||||
# Test Suite
|
||||
BuildRequires: perl(B)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(threads::shared)
|
||||
# Optional Tests
|
||||
%if 0%{!?perl_bootstrap:1}
|
||||
BuildRequires: perl(Devel::CallParser)
|
||||
BuildRequires: perl(Devel::Declare) >= 0.006007
|
||||
%endif
|
||||
BuildRequires: perl(Test::Kwalitee)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
BuildRequires: perl(Test::Portability::Files)
|
||||
BuildRequires: perl(XSLoader)
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(XSLoader)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
|
@ -31,27 +43,45 @@ syntax constructs that may have slipped into your code.
|
|||
%setup -q -n indirect-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||
|
||||
%{_fixperms} %{buildroot}/*
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorarch}/auto/*
|
||||
%{perl_vendorarch}/indirect*
|
||||
%{_mandir}/man3/*
|
||||
%doc Changes README samples/
|
||||
%{perl_vendorarch}/auto/indirect/
|
||||
%{perl_vendorarch}/indirect.pm
|
||||
%{_mandir}/man3/indirect.3*
|
||||
|
||||
%changelog
|
||||
* Wed Nov 12 2014 Paul Howarth <paul@city-fan.org> - 0.33-1
|
||||
- Update to 0.33
|
||||
- Fix false positives with Devel::Declare (CPAN RT#83806)
|
||||
- Fix false positive using ? : syntax (CPAN RT#83839)
|
||||
- Fix incorrect RT link in metadata (CPAN RT#84649)
|
||||
- no indirect in eval could trigger for direct calls on __PACKAGE__
|
||||
(CPAN RT#88428)
|
||||
- Author tests are no longer bundled with this distribution
|
||||
- Add support for the PERL_OP_PARENT optional feature introduced in
|
||||
perl 5.21.2
|
||||
- Fix tests that use run_perl(), which fail on Android (CPAN RT#92806)
|
||||
- indirect constructs will no longer segfault while inside the empty
|
||||
package on perl 5.8.x; this fix may also prevent some segfaults during
|
||||
global destruction
|
||||
- Stop breaking eval in an END block in Win32 pseudo-forks (CPAN RT#99083)
|
||||
- Fix segfaults during global destruction of a thread or a pseudo-fork
|
||||
- Classify buildreqs by usage
|
||||
- Make %%files list more explicit
|
||||
- Package samples directory as documentation
|
||||
|
||||
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.29-9
|
||||
- Perl 5.20 re-rebuild of bootstrapped packages
|
||||
|
||||
|
|
Loading…
Reference in New Issue