Hello community, here is the log from the commit of package perl-Scalar-String for openSUSE:Factory checked in at 2017-10-03 23:16:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Scalar-String (Old) and /work/SRC/openSUSE:Factory/.perl-Scalar-String.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Scalar-String" Tue Oct 3 23:16:10 2017 rev:2 rq:514099 version:0.003 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Scalar-String/perl-Scalar-String.changes 2016-01-28 17:22:48.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Scalar-String.new/perl-Scalar-String.changes 2017-10-03 23:16:13.447376927 +0200 @@ -1,0 +2,25 @@ +Mon Jul 24 06:14:40 UTC 2017 - co...@suse.com + +- updated to 0.003 + see /usr/share/doc/packages/perl-Scalar-String/Changes + + version 0.003; 2017-07-23 + + * update test suite to not rely on . in @INC, which is no longer + necessarily there from Perl 5.25.7 + + * when soft-loading utf8, avoid the Perl core bug regarding the + context applied to file scope of required modules, in case of a + future version of utf8 becoming vulnerable and running on an old Perl + + * no longer include a Makefile.PL in the distribution + + * in META.{yml,json}, point to public bug tracker + + * correct dynamic_config setting to 0 + + * use cBOOL() where appropriate + + * convert .cvsignore to .gitignore + +------------------------------------------------------------------- Old: ---- Scalar-String-0.002.tar.gz New: ---- Scalar-String-0.003.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Scalar-String.spec ++++++ --- /var/tmp/diff_new_pack.pBdrvq/_old 2017-10-03 23:16:15.435097185 +0200 +++ /var/tmp/diff_new_pack.pBdrvq/_new 2017-10-03 23:16:15.439096621 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Scalar-String # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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,14 +17,15 @@ Name: perl-Scalar-String -Version: 0.002 +Version: 0.003 Release: 0 %define cpan_name Scalar-String -Summary: String aspects of scalars +Summary: String Aspects of Scalars License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Scalar-String/ -Source: Scalar-String-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros ++++++ Scalar-String-0.002.tar.gz -> Scalar-String-0.003.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-String-0.002/.gitignore new/Scalar-String-0.003/.gitignore --- old/Scalar-String-0.002/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/Scalar-String-0.003/.gitignore 2017-07-23 10:58:27.000000000 +0200 @@ -0,0 +1,13 @@ +/Build +/Makefile +/_build +/blib +/META.json +/META.yml +/MYMETA.json +/MYMETA.yml +/Makefile.PL +/SIGNATURE +/Scalar-String-* +/lib/Scalar/String.c +/lib/Scalar/String.o diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-String-0.002/Build.PL new/Scalar-String-0.003/Build.PL --- old/Scalar-String-0.002/Build.PL 2011-04-09 16:36:29.000000000 +0200 +++ new/Scalar-String-0.003/Build.PL 2017-07-23 10:58:27.000000000 +0200 @@ -70,9 +70,18 @@ "XSLoader" => 0, }, needs_compiler => 0, - dynamic_config => 1, + dynamic_config => 0, meta_add => { distribution_type => "module" }, - create_makefile_pl => "passthrough", + meta_merge => { + "meta-spec" => { version => "2" }, + resources => { + bugtracker => { + mailto => "bug-Scalar-String\@rt.cpan.org", + web => "https://rt.cpan.org/Public/Dist/". + "Display.html?Name=Scalar-String", + }, + }, + }, sign => 1, )->create_build_script; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-String-0.002/Changes new/Scalar-String-0.003/Changes --- old/Scalar-String-0.002/Changes 2011-04-09 16:36:29.000000000 +0200 +++ new/Scalar-String-0.003/Changes 2017-07-23 10:58:27.000000000 +0200 @@ -1,3 +1,22 @@ +version 0.003; 2017-07-23 + + * update test suite to not rely on . in @INC, which is no longer + necessarily there from Perl 5.25.7 + + * when soft-loading utf8, avoid the Perl core bug regarding the + context applied to file scope of required modules, in case of a + future version of utf8 becoming vulnerable and running on an old Perl + + * no longer include a Makefile.PL in the distribution + + * in META.{yml,json}, point to public bug tracker + + * correct dynamic_config setting to 0 + + * use cBOOL() where appropriate + + * convert .cvsignore to .gitignore + version 0.002; 2011-04-09 * in XS, declare "PROTOTYPES: DISABLE" to prevent automatic generation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-String-0.002/MANIFEST new/Scalar-String-0.003/MANIFEST --- old/Scalar-String-0.002/MANIFEST 2011-04-09 16:36:29.000000000 +0200 +++ new/Scalar-String-0.003/MANIFEST 2017-07-23 10:58:27.000000000 +0200 @@ -1,12 +1,10 @@ -.cvsignore +.gitignore Build.PL Changes MANIFEST META.json META.yml -Makefile.PL README -lib/Scalar/.cvsignore lib/Scalar/String.pm lib/Scalar/String.xs t/grade.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-String-0.002/META.json new/Scalar-String-0.003/META.json --- old/Scalar-String-0.002/META.json 2011-04-09 16:36:29.000000000 +0200 +++ new/Scalar-String-0.003/META.json 2017-07-23 10:58:27.000000000 +0200 @@ -3,62 +3,67 @@ "author" : [ "Andrew Main (Zefram) <zef...@fysh.org>" ], - "dynamic_config" : 1, - "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.110580", + "dynamic_config" : 0, + "generated_by" : "Module::Build version 0.4224", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "Scalar-String", "prereqs" : { "build" : { "requires" : { - "Module::Build" : 0, - "Test::More" : 0, + "Module::Build" : "0", + "Test::More" : "0", "perl" : "5.006", - "strict" : 0, - "warnings" : 0 + "strict" : "0", + "warnings" : "0" } }, "configure" : { "requires" : { - "Module::Build" : 0, + "Module::Build" : "0", "perl" : "5.006", - "strict" : 0, - "warnings" : 0 + "strict" : "0", + "warnings" : "0" } }, "runtime" : { "recommends" : { - "XSLoader" : 0 + "XSLoader" : "0" }, "requires" : { - "Carp" : 0, - "Exporter" : 0, - "bytes" : 0, - "if" : 0, - "parent" : 0, + "Carp" : "0", + "Exporter" : "0", + "bytes" : "0", + "if" : "0", + "parent" : "0", "perl" : "5.006", - "strict" : 0, - "utf8" : 0, - "warnings" : 0 + "strict" : "0", + "utf8" : "0", + "warnings" : "0" } } }, "provides" : { "Scalar::String" : { "file" : "lib/Scalar/String.pm", - "version" : "0.002" + "version" : "0.003" } }, "release_status" : "stable", "resources" : { + "bugtracker" : { + "mailto" : "bug-scalar-str...@rt.cpan.org", + "web" : "https://rt.cpan.org/Public/Dist/Display.html?Name=Scalar-String" + }, "license" : [ "http://dev.perl.org/licenses/" ] }, - "version" : "0.002" + "version" : "0.003", + "x_serialization_backend" : "JSON::PP version 2.93" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-String-0.002/META.yml new/Scalar-String-0.003/META.yml --- old/Scalar-String-0.002/META.yml 2011-04-09 16:36:29.000000000 +0200 +++ new/Scalar-String-0.003/META.yml 2017-07-23 10:58:27.000000000 +0200 @@ -3,39 +3,41 @@ author: - 'Andrew Main (Zefram) <zef...@fysh.org>' build_requires: - Module::Build: 0 - Test::More: 0 - perl: 5.006 - strict: 0 - warnings: 0 + Module::Build: '0' + Test::More: '0' + perl: '5.006' + strict: '0' + warnings: '0' configure_requires: - Module::Build: 0 - perl: 5.006 - strict: 0 - warnings: 0 -dynamic_config: 1 -generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.110580' + Module::Build: '0' + perl: '5.006' + strict: '0' + warnings: '0' +dynamic_config: 0 +generated_by: 'Module::Build version 0.4224, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Scalar-String provides: Scalar::String: file: lib/Scalar/String.pm - version: 0.002 + version: '0.003' recommends: - XSLoader: 0 + XSLoader: '0' requires: - Carp: 0 - Exporter: 0 - bytes: 0 - if: 0 - parent: 0 - perl: 5.006 - strict: 0 - utf8: 0 - warnings: 0 + Carp: '0' + Exporter: '0' + bytes: '0' + if: '0' + parent: '0' + perl: '5.006' + strict: '0' + utf8: '0' + warnings: '0' resources: + bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Scalar-String license: http://dev.perl.org/licenses/ -version: 0.002 +version: '0.003' +x_serialization_backend: 'CPAN::Meta::YAML version 0.012' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-String-0.002/Makefile.PL new/Scalar-String-0.003/Makefile.PL --- old/Scalar-String-0.002/Makefile.PL 2011-04-09 16:36:29.000000000 +0200 +++ new/Scalar-String-0.003/Makefile.PL 1970-01-01 01:00:00.000000000 +0100 @@ -1,35 +0,0 @@ -# Note: this file was auto-generated by Module::Build::Compat version 0.3800 -require 5.006; - - unless (eval "use Module::Build::Compat 0.02; 1" ) { - print "This module requires Module::Build to install itself.\n"; - - require ExtUtils::MakeMaker; - my $yn = ExtUtils::MakeMaker::prompt - (' Install Module::Build now from CPAN?', 'y'); - - unless ($yn =~ /^y/i) { - die " *** Cannot install without Module::Build. Exiting ...\n"; - } - - require Cwd; - require File::Spec; - require CPAN; - - # Save this 'cause CPAN will chdir all over the place. - my $cwd = Cwd::cwd(); - - CPAN::Shell->install('Module::Build::Compat'); - CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate - or die "Couldn't install Module::Build, giving up.\n"; - - chdir $cwd or die "Cannot chdir() back to $cwd: $!"; - } - eval "use Module::Build::Compat 0.02; 1" or die $@; - use lib '_build/lib'; - Module::Build::Compat->run_build_pl(args => \@ARGV); - my $build_script = 'Build'; - $build_script .= '.com' if $^O eq 'VMS'; - exit(0) unless(-e $build_script); # cpantesters convention - require MyModuleBuilder; - Module::Build::Compat->write_makefile(build_class => 'MyModuleBuilder'); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-String-0.002/README new/Scalar-String-0.003/README --- old/Scalar-String-0.002/README 2011-04-09 16:36:29.000000000 +0200 +++ new/Scalar-String-0.003/README 2017-07-23 10:58:27.000000000 +0200 @@ -30,7 +30,8 @@ COPYRIGHT -Copyright (C) 2009, 2010, 2011 Andrew Main (Zefram) <zef...@fysh.org> +Copyright (C) 2009, 2010, 2011, 2017 +Andrew Main (Zefram) <zef...@fysh.org> LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-String-0.002/SIGNATURE new/Scalar-String-0.003/SIGNATURE --- old/Scalar-String-0.002/SIGNATURE 2011-04-09 16:36:38.000000000 +0200 +++ new/Scalar-String-0.003/SIGNATURE 2017-07-23 10:58:33.000000000 +0200 @@ -1,5 +1,5 @@ This file contains message digests of all files listed in MANIFEST, -signed via the Module::Signature module, version 0.66. +signed via the Module::Signature module, version 0.81. To verify the content in this distribution, first make sure you have Module::Signature installed, then type: @@ -14,27 +14,25 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -SHA1 9fa7981bd10297dfe4ed37b6ad96f35326d29396 .cvsignore -SHA1 69644b6e77995e79f0ca7a6813a6ea8115adba30 Build.PL -SHA1 d2ab585015cddf3feefc86b756fbe4239e29a23a Changes -SHA1 8670cb69238325e4d24ffaac6a192f78f77b9d40 MANIFEST -SHA1 88f1530a143361b5b905b38c39eb6381ae0ae804 META.json -SHA1 fb2ff31fabee91930b3b15fdb1497840de8a9e02 META.yml -SHA1 2157ae40589595d6cc1585fd7279b25bcf8f5852 Makefile.PL -SHA1 ca61089d299bdd5e8b46bab6b3df6a9120735125 README -SHA1 c185a100351b2eb6d840b8ff2ce73c96d154f6a6 lib/Scalar/.cvsignore -SHA1 67669ff83780aed544041758b04829d1d0a7a79c lib/Scalar/String.pm -SHA1 a1401fed7bd4ae529987183449638576e52a170c lib/Scalar/String.xs +SHA1 f882798d5f4d6f8440d5f268794262214176b727 .gitignore +SHA1 dd1a40797b31053424d24834ea82a5c1e8f47f1a Build.PL +SHA1 49b62e105dccf96e4e34aaa336bd5d9a614bdcbc Changes +SHA1 fd323e292cfc3feebb9b321db21f8f0cc97e805f MANIFEST +SHA1 408d7f244275e2cf0f3e4670fd19a684abc4272d META.json +SHA1 4a16cb2d0f666d95ff32239576022f50694f0dc3 META.yml +SHA1 f9a39973b410445c249ebeeeec72aa9d2d89385f README +SHA1 7333cee4f15faecaf3853851a734255c30495a14 lib/Scalar/String.pm +SHA1 e5700393aacf4277c969abf222b489208dabafa7 lib/Scalar/String.xs SHA1 f36c5928277d92e38d3eb240221dfcfcc6d51cce t/grade.t -SHA1 438cb548ab97eede0c7f70604f2a33ac4990af10 t/grade_pp.t +SHA1 d3d984e66bd7660ca6e7f90d87e965b1c0e011d6 t/grade_pp.t SHA1 904d9a4f76525e2303e4b0c168c68230f223c8de t/pod_cvg.t -SHA1 3f447b1d0b8a6247c3a311087f8d66da1c3ca5db t/pod_cvg_pp.t +SHA1 8b0ef0af30cd5064cf1b3d57c5fdbab11f8c567c t/pod_cvg_pp.t SHA1 65c75abdef6f01a5d1588a307f2ddfe2333dc961 t/pod_syn.t SHA1 329a2984b7ee54b4f6f12ca70ffaa9513945fea3 t/setup_pp.pl -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.10 (GNU/Linux) +Version: GnuPG v1 -iEYEARECAAYFAk2gbu0ACgkQOV9mt2VyAVF8VACfeggJjQvSWgwB4Vi+eRorQnU3 -OzsAoInVGJqOMIiSDZkyzWM9kXmljj77 -=6T4Z +iEYEARECAAYFAll0ZTMACgkQOV9mt2VyAVGgPQCeI8mihlf90o28zMSB6ZVtK6aR +j6oAn19rt7XZCv8x7aniF4fwaK3UuE1J +=iZye -----END PGP SIGNATURE----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-String-0.002/lib/Scalar/String.pm new/Scalar-String-0.003/lib/Scalar/String.pm --- old/Scalar-String-0.002/lib/Scalar/String.pm 2011-04-09 16:36:29.000000000 +0200 +++ new/Scalar-String-0.003/lib/Scalar/String.pm 2017-07-23 10:58:27.000000000 +0200 @@ -98,7 +98,7 @@ use warnings; use strict; -our $VERSION = "0.002"; +our $VERSION = "0.003"; use parent "Exporter"; our @EXPORT_OK = qw( @@ -131,7 +131,7 @@ __DATA__ use Carp qw(croak); -BEGIN { require utf8 if "$]" >= 5.008; } +BEGIN { require utf8 if "$]" >= 5.008; 1; } =head1 FUNCTIONS @@ -291,7 +291,8 @@ =head1 COPYRIGHT -Copyright (C) 2009, 2010, 2011 Andrew Main (Zefram) <zef...@fysh.org> +Copyright (C) 2009, 2010, 2011, 2017 +Andrew Main (Zefram) <zef...@fysh.org> =head1 LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-String-0.002/lib/Scalar/String.xs new/Scalar-String-0.003/lib/Scalar/String.xs --- old/Scalar-String-0.002/lib/Scalar/String.xs 2011-04-09 16:36:29.000000000 +0200 +++ new/Scalar-String-0.003/lib/Scalar/String.xs 2017-07-23 10:58:27.000000000 +0200 @@ -3,6 +3,10 @@ #include "perl.h" #include "XSUB.h" +#ifndef cBOOL +# define cBOOL(x) ((bool)!!(x)) +#endif /* !cBOOL */ + MODULE = Scalar::String PACKAGE = Scalar::String PROTOTYPES: DISABLE @@ -11,7 +15,7 @@ sclstr_is_upgraded(SV *value) PROTOTYPE: $ CODE: - RETVAL = !!SvUTF8(value); + RETVAL = cBOOL(SvUTF8(value)); OUTPUT: RETVAL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-String-0.002/t/grade_pp.t new/Scalar-String-0.003/t/grade_pp.t --- old/Scalar-String-0.002/t/grade_pp.t 2011-04-09 16:36:29.000000000 +0200 +++ new/Scalar-String-0.003/t/grade_pp.t 2017-07-23 10:58:27.000000000 +0200 @@ -1,7 +1,7 @@ use warnings; use strict; -do "t/setup_pp.pl" or die $@ || $!; -do "t/grade.t" or die $@ || $!; +do "./t/setup_pp.pl" or die $@ || $!; +do "./t/grade.t" or die $@ || $!; 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-String-0.002/t/pod_cvg_pp.t new/Scalar-String-0.003/t/pod_cvg_pp.t --- old/Scalar-String-0.002/t/pod_cvg_pp.t 2011-04-09 16:36:29.000000000 +0200 +++ new/Scalar-String-0.003/t/pod_cvg_pp.t 2017-07-23 10:58:27.000000000 +0200 @@ -1,7 +1,7 @@ use warnings; use strict; -do "t/setup_pp.pl" or die $@ || $!; -do "t/pod_cvg.t" or die $@ || $!; +do "./t/setup_pp.pl" or die $@ || $!; +do "./t/pod_cvg.t" or die $@ || $!; 1; ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 #description: |- # override description from CPAN #summary: override summary from CPAN #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 #post_build: |- # rm unused.files #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module