r70018 - in /branches/upstream/libb-perlreq-perl/current: Changes META.yml README lib/B/PerlReq.pm lib/B/Walker.pm perl.prov perl.req perl5-alt-rpm-macros rpm-build-perl.spec

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sun Feb 27 22:37:29 UTC 2011


Author: jawnsy-guest
Date: Sun Feb 27 22:37:23 2011
New Revision: 70018

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=70018
Log:
[svn-upgrade] new version libb-perlreq-perl (0.74)

Modified:
    branches/upstream/libb-perlreq-perl/current/Changes
    branches/upstream/libb-perlreq-perl/current/META.yml
    branches/upstream/libb-perlreq-perl/current/README
    branches/upstream/libb-perlreq-perl/current/lib/B/PerlReq.pm
    branches/upstream/libb-perlreq-perl/current/lib/B/Walker.pm
    branches/upstream/libb-perlreq-perl/current/perl.prov
    branches/upstream/libb-perlreq-perl/current/perl.req
    branches/upstream/libb-perlreq-perl/current/perl5-alt-rpm-macros
    branches/upstream/libb-perlreq-perl/current/rpm-build-perl.spec

Modified: branches/upstream/libb-perlreq-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libb-perlreq-perl/current/Changes?rev=70018&op=diff
==============================================================================
--- branches/upstream/libb-perlreq-perl/current/Changes (original)
+++ branches/upstream/libb-perlreq-perl/current/Changes Sun Feb 27 22:37:23 2011
@@ -1,3 +1,20 @@
+* Sat Feb 12 2011 Alexey Tourbin <at at altlinux> 0.74-alt1
+- B/PerlReq.pm: added warnings.pm to @Skip list
+
+* Mon Nov 15 2010 Vladimir Lettiev <crux at altlinux> 0.73-alt2
+- fixed fatal error in walk_gv() when method CV return not B::CV class
+  object (Closes: #24564)
+
+* Mon Sep 20 2010 Alexey Tourbin <at at altlinux> 0.73-alt1
+- updated for perl-5.12:
+- perl.req, perl.prov: relax dependency on Pod::Usage
+- perl.prov: use plain eval insted of Safe->reval
+- perl.prov: \Q stopped working without closing \E
+- macros: removed UNINST=undef
+- macros: removed OTHERLDFLAGS='-lperl -lpthread'
+- macros: removed INSTALLMAN1DIR= and INSTALLMAN3DIR=
+- macros: removed %perl_vendor_man1dir and %perl_vendor_man3dir
+
 * Tue Apr 20 2010 Alexey Tourbin <at at altlinux> 0.72-alt1
 - B/PerlReq.pm: implemented support for Moose::with()
 

Modified: branches/upstream/libb-perlreq-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libb-perlreq-perl/current/META.yml?rev=70018&op=diff
==============================================================================
--- branches/upstream/libb-perlreq-perl/current/META.yml (original)
+++ branches/upstream/libb-perlreq-perl/current/META.yml Sun Feb 27 22:37:23 2011
@@ -1,12 +1,14 @@
 --- #YAML:1.0
 name:               rpm-build-perl
-version:            0.72
+version:            0.74
 abstract:           Calculate dependencies for Perl sources
 author:
     - Alexey Tourbin <at at altlinux.org>
 license:            unknown
 distribution_type:  module
 configure_requires:
+    ExtUtils::MakeMaker:  0
+build_requires:
     ExtUtils::MakeMaker:  0
 requires:
     B:           0
@@ -18,7 +20,7 @@
     directory:
         - t
         - inc
-generated_by:       ExtUtils::MakeMaker version 6.48
+generated_by:       ExtUtils::MakeMaker version 6.56
 meta-spec:
     url:      http://module-build.sourceforge.net/META-spec-v1.4.html
     version:  1.4

Modified: branches/upstream/libb-perlreq-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libb-perlreq-perl/current/README?rev=70018&op=diff
==============================================================================
--- branches/upstream/libb-perlreq-perl/current/README (original)
+++ branches/upstream/libb-perlreq-perl/current/README Sun Feb 27 22:37:23 2011
@@ -1,4 +1,4 @@
-rpm-build-perl version 0.72
+rpm-build-perl version 0.74
 
 B::PerlReq - Perl compiler backend to extract Perl dependencies
 perl.req - list requirements for Perl scripts and libraries

Modified: branches/upstream/libb-perlreq-perl/current/lib/B/PerlReq.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libb-perlreq-perl/current/lib/B/PerlReq.pm?rev=70018&op=diff
==============================================================================
--- branches/upstream/libb-perlreq-perl/current/lib/B/PerlReq.pm (original)
+++ branches/upstream/libb-perlreq-perl/current/lib/B/PerlReq.pm Sun Feb 27 22:37:23 2011
@@ -12,7 +12,7 @@
 #	and micro hacks.
 
 package B::PerlReq;
-our $VERSION = '0.72';
+our $VERSION = '0.74';
 
 use 5.006;
 use strict;
@@ -39,6 +39,7 @@
 	qr(^Exporter\.pm$),
 	qr(^strict\.pm$),
 	qr(^vars\.pm$),
+	qr(^warnings\.pm$),
 );
 
 our ($Strict, $Relaxed, $Verbose, $Debug);

Modified: branches/upstream/libb-perlreq-perl/current/lib/B/Walker.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libb-perlreq-perl/current/lib/B/Walker.pm?rev=70018&op=diff
==============================================================================
--- branches/upstream/libb-perlreq-perl/current/lib/B/Walker.pm (original)
+++ branches/upstream/libb-perlreq-perl/current/lib/B/Walker.pm Sun Feb 27 22:37:23 2011
@@ -99,7 +99,7 @@
 sub walk_gv ($) {
 	my $gv = shift;
 	my $cv = $gv->CV;
-	return unless $$cv;
+	return unless ( $$cv && ref($cv) eq "B::CV" );
 	return if $cv->XSUB;
 	local $Sub = $gv->SAFENAME;
 	$Line = $gv->LINE;

Modified: branches/upstream/libb-perlreq-perl/current/perl.prov
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libb-perlreq-perl/current/perl.prov?rev=70018&op=diff
==============================================================================
--- branches/upstream/libb-perlreq-perl/current/perl.prov (original)
+++ branches/upstream/libb-perlreq-perl/current/perl.prov Sun Feb 27 22:37:23 2011
@@ -5,7 +5,11 @@
 
 use PerlReq::Utils qw(argv explode inc mod2path path2mod path2dep sv_version verf);
 
-use autouse qw(Pod::Usage pod2usage);
+sub pod2usage {
+	eval { require Pod::Usage } or die $@;
+	goto &Pod::Usage::pod2usage;
+}
+
 use Getopt::Long 2.24 qw(GetOptions :config gnu_getopt);
 GetOptions
 	"v|verbose+"	=> \my $Verbose,
@@ -139,25 +143,21 @@
 	my ($fname, $line, $pkg) = @_;
 	warn "# extracting version at line $.:\n# $line\n" if $Verbose > 1;
 	my $code = "$line\n; \$VERSION";
-	$code =~ s/\$\Q$pkg\::VERSION/\$VERSION/g if $pkg;
-
-	require Safe;
-	local *Sandbox;
-	my $safe = Safe->new("Sandbox");
-	$safe->permit_only(qw(:base_core :base_mem :base_loop :base_orig entereval));
+	$code =~ s/\$\Q$pkg\E::VERSION/\$VERSION/g if $pkg;
 
 	if ($code =~ s/\buse\s+version\b[^;]*;//g or $code =~ /\bqv\b/
 		or $code =~ /\bversion(?:::)?->new\b/ or $code =~ /\bnew\s+version\b/)
 	{
-		eval { require version } or warn "# $@\n";
-		*Sandbox::qv = \&version::qv;
-		*Sandbox::version::new
-			= defined &version::vxs::new ? \&version::vxs::new
-			: defined &version::vpp::new ? \&version::vpp::new
-			: \&version::new;
-	}
-
-	my $version = $safe->reval($code);
+		package Sandbox;
+		eval "use version";
+		warn $@ if $@;
+	}
+
+	my $version = do {
+		package Sandbox;
+		no strict;
+		eval $code;
+	};
 	goto bad if not $version;
 
 	if (ref($version) =~ /\bversion\b/) {

Modified: branches/upstream/libb-perlreq-perl/current/perl.req
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libb-perlreq-perl/current/perl.req?rev=70018&op=diff
==============================================================================
--- branches/upstream/libb-perlreq-perl/current/perl.req (original)
+++ branches/upstream/libb-perlreq-perl/current/perl.req Sun Feb 27 22:37:23 2011
@@ -5,7 +5,11 @@
 use Config qw(%Config);
 use PerlReq::Utils qw(argv inc explode verf mod2dep path2dep);
 
-use autouse qw(Pod::Usage pod2usage);
+sub pod2usage {
+	eval { require Pod::Usage } or die $@;
+	goto &Pod::Usage::pod2usage;
+}
+
 use Getopt::Long 2.24 qw(GetOptions :config gnu_getopt);
 GetOptions
 	"m|method=s"	=> \my $Method,

Modified: branches/upstream/libb-perlreq-perl/current/perl5-alt-rpm-macros
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libb-perlreq-perl/current/perl5-alt-rpm-macros?rev=70018&op=diff
==============================================================================
--- branches/upstream/libb-perlreq-perl/current/perl5-alt-rpm-macros (original)
+++ branches/upstream/libb-perlreq-perl/current/perl5-alt-rpm-macros Sun Feb 27 22:37:23 2011
@@ -13,10 +13,6 @@
 %perl_vendorlib		%perl_vendor_privlib
 %perl_vendorarch	%perl_vendor_archlib
 %makeinstall_std	%make_install install DESTDIR=%buildroot
-
-# mandirs
-%perl_vendor_man1dir	%_man1dir
-%perl_vendor_man3dir	%_man3dir
 
 # build with the same optimization as perl
 %perl_vendor_optflags	%(eval "`%__perl -V:optimize`"; echo "$optimize")
@@ -45,8 +41,7 @@
 	: writing Makefile \
 	%__perl Makefile.PL PREFIX=%_prefix INSTALLDIRS=vendor "$@" </dev/null \
 	: running make \
-	%make_build OPTIMIZE="%{!?_enable_debug:%perl_vendor_optflags}%{?_enable_debug:%optflags}%{?_enable_Werror: -Werror}" CP="%__cp -p" \\\
-		OTHERLDFLAGS="-lperl -lpthread $EXTRA_LIBS" \
+	%make_build OPTIMIZE="%{!?_enable_debug:%perl_vendor_optflags}%{?_enable_debug:%optflags}%{?_enable_Werror: -Werror}" CP="%__cp -p" \
 	%{?!_without_test:%{?!_disable_test:: running tests; LD_BIND_NOW=1 PERL_DL_NONLAZY=1 %__make test CP="%__cp -p" %{?_enable_debug:TEST_VERBOSE=1} </dev/null}} \
 } \
 _perl_vendor_fixin() { \
@@ -83,10 +78,8 @@
 } \
 _perl_vendor_MM_install() { \
 	: installing \
-	%make_install UNINST=undef CP="%__cp -p" \\\
+	%make_install CP="%__cp -p" \\\
 		DESTDIR=%buildroot PREFIX=%_prefix INSTALLDIRS=vendor \\\
-		INSTALLMAN1DIR=%buildroot%perl_vendor_man1dir \\\
-		INSTALLMAN3DIR=%buildroot%perl_vendor_man3dir \\\
  		pure_install "$@" </dev/null \
 } \
 _perl_vendor_check_buildroot() { \

Modified: branches/upstream/libb-perlreq-perl/current/rpm-build-perl.spec
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libb-perlreq-perl/current/rpm-build-perl.spec?rev=70018&op=diff
==============================================================================
--- branches/upstream/libb-perlreq-perl/current/rpm-build-perl.spec (original)
+++ branches/upstream/libb-perlreq-perl/current/rpm-build-perl.spec Sun Feb 27 22:37:23 2011
@@ -1,5 +1,5 @@
 Name: rpm-build-perl
-Version: 0.72
+Version: 0.74
 Release: alt1
 
 Summary: RPM helper scripts to calculate Perl dependencies
@@ -54,6 +54,23 @@
 %config /etc/rpm/macros.d/perl5.env
 
 %changelog
+* Sat Feb 12 2011 Alexey Tourbin <at at altlinux.ru> 0.74-alt1
+- B/PerlReq.pm: added warnings.pm to @Skip list
+
+* Mon Nov 15 2010 Vladimir Lettiev <crux at altlinux.ru> 0.73-alt2
+- fixed fatal error in walk_gv() when method CV return not B::CV class
+  object (Closes: #24564)
+
+* Mon Sep 20 2010 Alexey Tourbin <at at altlinux.ru> 0.73-alt1
+- updated for perl-5.12:
+- perl.req, perl.prov: relax dependency on Pod::Usage
+- perl.prov: use plain eval insted of Safe->reval
+- perl.prov: \Q stopped working without closing \E
+- macros: removed UNINST=undef
+- macros: removed OTHERLDFLAGS='-lperl -lpthread'
+- macros: removed INSTALLMAN1DIR= and INSTALLMAN3DIR=
+- macros: removed %%perl_vendor_man1dir and %%perl_vendor_man3dir
+
 * Tue Apr 20 2010 Alexey Tourbin <at at altlinux.ru> 0.72-alt1
 - B/PerlReq.pm: implemented support for Moose::with()
 




More information about the Pkg-perl-cvs-commits mailing list