[perl-indirect] Update to 0.33
Paul Howarth
pghmcfc at fedoraproject.org
Wed Nov 12 15:15:21 UTC 2014
commit 5be538f942490c0f7bcbac6bbb10d3123bab5ad8
Author: Paul Howarth <paul at city-fan.org>
Date: Wed Nov 12 15:14:39 2014 +0000
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
.gitignore | 6 +----
perl-indirect.spec | 66 +++++++++++++++++++++++++++++++++++++--------------
sources | 2 +-
3 files changed, 50 insertions(+), 24 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d7f2361..475e7be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/perl-indirect.spec b/perl-indirect.spec
index 9d9a465..0d76351 100644
--- a/perl-indirect.spec
+++ b/perl-indirect.spec
@@ -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 at 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 at redhat.com> - 0.29-9
- Perl 5.20 re-rebuild of bootstrapped packages
diff --git a/sources b/sources
index 447c1a2..cc9922f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4a24147382fb1a1dd7531cb2f3c85828 indirect-0.29.tar.gz
+3a8c66e97f46120ff44023ee295d5acb indirect-0.33.tar.gz
More information about the scm-commits
mailing list