Hello community, here is the log from the commit of package perl-PadWalker for openSUSE:Factory checked in at 2015-04-16 14:12:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-PadWalker (Old) and /work/SRC/openSUSE:Factory/.perl-PadWalker.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-PadWalker" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-PadWalker/perl-PadWalker.changes 2013-10-29 09:31:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-PadWalker.new/perl-PadWalker.changes 2015-04-16 14:13:00.000000000 +0200 @@ -1,0 +2,19 @@ +Wed Apr 15 14:49:21 UTC 2015 - [email protected] + +- updated to 2.0 + see /usr/share/doc/packages/perl-PadWalker/Changes + + + 1.99 Tue 11 Nov 2014 15:01:37 CET + - Make it compatible with bleadperl. + Patch from Father Chrysostomous at https://rt.cpan.org/Public/Bug/Display.html?id=100262 + + 1.99_1 Tue 11 Nov 2014 19:38:17 CET + - Restore compatibility with perl 5.8 + Patch from [email protected] at https://rt.cpan.org/Public/Bug/Display.html?id=100262#txn-1431869 + + 2.0 Mon 8 Dec 2014 13:45:37 GMT + - Restore compatibility with bleadperl + Patch from Dagfinn Ilmari Mannsåker at https://github.com/robinhouston/PadWalker/pull/3 + +------------------------------------------------------------------- Old: ---- PadWalker-1.98.tar.gz New: ---- PadWalker-2.0.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-PadWalker.spec ++++++ --- /var/tmp/diff_new_pack.wVrfv9/_old 2015-04-16 14:13:00.000000000 +0200 +++ /var/tmp/diff_new_pack.wVrfv9/_new 2015-04-16 14:13:00.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-PadWalker # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,18 +17,19 @@ Name: perl-PadWalker +Version: 2.0 +Release: 0 %define cpan_name PadWalker -Summary: Play with other peoples' lexical variables +Summary: Play with Other Peoples' Lexical Variables License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl -Version: 1.98 -Release: 0 Url: http://search.cpan.org/dist/PadWalker/ -Source: http://www.cpan.org/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/R/RO/ROBIN/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros +%{perl_requires} %description PadWalker is a module which allows you to inspect (and even change!) @@ -42,18 +43,11 @@ your call. Some of the modules that use PadWalker internally are certainly safe for and useful in production. -Authors: --------- - Robin Houston <[email protected]> - With contributions from Richard Soberberg, Jesse Luehrs and Yuval Kogman, - bug-spotting from Peter Scott, Dave Mitchell and Goro Fuji, and suggestions - from demerphq. - %prep %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__make} %{?_smp_mflags} %check @@ -61,24 +55,11 @@ %install %perl_make_install -### since 11.4 perl_process_packlist -### removes .packlist, perllocal.pod files -%if 0%{?suse_version} > 1130 %perl_process_packlist -%else -# do not perl_process_packlist -# remove .packlist file -%{__rm} -f $RPM_BUILD_ROOT%perl_vendorarch/auto/PadWalker/.packlist -# remove perllocal.pod file -%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod -%endif %perl_gen_filelist -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(-,root,root,-) +%defattr(-,root,root,755) %doc Changes README %changelog ++++++ PadWalker-1.98.tar.gz -> PadWalker-2.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PadWalker-1.98/Changes new/PadWalker-2.0/Changes --- old/PadWalker-1.98/Changes 2013-10-27 17:45:27.000000000 +0100 +++ new/PadWalker-2.0/Changes 2014-12-12 12:28:48.000000000 +0100 @@ -165,3 +165,15 @@ 1.98 Sun 27 Oct 2013 16:27:19 GMT - Make new test compatible with old versions of perl. + +1.99 Tue 11 Nov 2014 15:01:37 CET + - Make it compatible with bleadperl. + Patch from Father Chrysostomous at https://rt.cpan.org/Public/Bug/Display.html?id=100262 + +1.99_1 Tue 11 Nov 2014 19:38:17 CET + - Restore compatibility with perl 5.8 + Patch from [email protected] at https://rt.cpan.org/Public/Bug/Display.html?id=100262#txn-1431869 + +2.0 Mon 8 Dec 2014 13:45:37 GMT + - Restore compatibility with bleadperl + Patch from Dagfinn Ilmari Mannsåker at https://github.com/robinhouston/PadWalker/pull/3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PadWalker-1.98/MANIFEST new/PadWalker-2.0/MANIFEST --- old/PadWalker-1.98/MANIFEST 2013-10-27 17:46:17.000000000 +0100 +++ new/PadWalker-2.0/MANIFEST 2005-10-13 14:52:16.000000000 +0200 @@ -18,4 +18,3 @@ t/vn-inc-1.pl t/vn-inc-2.pl META.yml Module meta-data (added by MakeMaker) -META.json Module JSON meta-data (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PadWalker-1.98/META.json new/PadWalker-2.0/META.json --- old/PadWalker-1.98/META.json 2013-10-27 17:46:16.000000000 +0100 +++ new/PadWalker-2.0/META.json 1970-01-01 01:00:00.000000000 +0100 @@ -1,41 +0,0 @@ -{ - "abstract" : "unknown", - "author" : [ - "unknown" - ], - "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.120921", - "license" : [ - "unknown" - ], - "meta-spec" : { - "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" - }, - "name" : "PadWalker", - "no_index" : { - "directory" : [ - "t", - "inc" - ] - }, - "prereqs" : { - "build" : { - "requires" : { - "ExtUtils::MakeMaker" : "0" - } - }, - "configure" : { - "requires" : { - "ExtUtils::MakeMaker" : "0" - } - }, - "runtime" : { - "requires" : { - "perl" : "5.008001" - } - } - }, - "release_status" : "stable", - "version" : "1.98" -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PadWalker-1.98/META.yml new/PadWalker-2.0/META.yml --- old/PadWalker-1.98/META.yml 2013-10-27 17:46:16.000000000 +0100 +++ new/PadWalker-2.0/META.yml 2014-12-12 12:30:19.000000000 +0100 @@ -1,22 +1,10 @@ ---- -abstract: unknown -author: - - unknown -build_requires: - ExtUtils::MakeMaker: 0 -configure_requires: - ExtUtils::MakeMaker: 0 -dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.120921' -license: unknown -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 -name: PadWalker -no_index: - directory: - - t - - inc +# http://module-build.sourceforge.net/META-spec.html +#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# +name: PadWalker +version: 2.0 +version_from: PadWalker.pm +installdirs: site requires: - perl: 5.008001 -version: 1.98 + +distribution_type: module +generated_by: ExtUtils::MakeMaker version 6.17 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PadWalker-1.98/PadWalker.pm new/PadWalker-2.0/PadWalker.pm --- old/PadWalker-1.98/PadWalker.pm 2013-10-27 17:30:15.000000000 +0100 +++ new/PadWalker-2.0/PadWalker.pm 2014-12-12 12:29:08.000000000 +0100 @@ -12,7 +12,7 @@ @EXPORT_OK = qw(peek_my peek_our closed_over peek_sub var_name set_closed_over); %EXPORT_TAGS = (all => \@EXPORT_OK); -$VERSION = '1.98'; +$VERSION = '2.0'; bootstrap PadWalker $VERSION; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PadWalker-1.98/PadWalker.xs new/PadWalker-2.0/PadWalker.xs --- old/PadWalker-1.98/PadWalker.xs 2013-10-27 11:11:36.000000000 +0100 +++ new/PadWalker-2.0/PadWalker.xs 2014-12-12 11:25:03.000000000 +0100 @@ -10,6 +10,10 @@ # define CxOLD_OP_TYPE(cx) (0 + (cx)->blk_eval.old_op_type) #endif +#ifndef CvISXSUB +#define CvISXSUB(sv) CvXSUB(sv) +#endif + /* For development testing */ #ifdef PADWALKER_DEBUGGING # define debug_print(x) printf x @@ -228,9 +232,6 @@ * so also check that the name is longer than one char. * (Note that the prefix letter is here as well, so a * valid variable will _always_ be >1 char) - - * We ignore 'our' variables, since you can always dig - * them out of the stash directly. */ if ((PadnameOUTER(name_sv) || 0 == valid_at_seq || @@ -241,7 +242,7 @@ { SV *val_sv; U32 name_len = strlen(name_str); - bool is_our = ((SvFLAGS(name_sv) & SVpad_OUR) != 0); + bool is_our = PadnameIsOUR(name_sv); debug_print(((is_our ? "** FOUND OUR %s\n" : "** FOUND MY %s\n"), name_str)); @@ -538,6 +539,8 @@ HV* ret = newHV(); HV* ignore = newHV(); PPCODE: + if (CvISXSUB(cv)) + die("PadWalker: cv has no padlist"); padlist_into_hash(CvPADLIST(cv), ret, ignore, 0, CvDEPTH(cv)); SvREFCNT_dec((SV*) ignore); EXTEND(SP, 1); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PadWalker-1.98/README new/PadWalker-2.0/README --- old/PadWalker-1.98/README 2013-10-27 17:30:20.000000000 +0100 +++ new/PadWalker-2.0/README 2014-12-12 12:28:55.000000000 +0100 @@ -1,5 +1,5 @@ ----------------------------------------------------------------------------- -| PadWalker v1.98 - Robin Houston +| PadWalker v2.0 - Robin Houston ----------------------------------------------------------------------------- NAME ++++++ cpanspec.yml ++++++ --- description_paragraphs: 3 #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: #preamble: |- # BuildRequires: gcc-c++ #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #license: SUSE-NonFree
