Hello community,
here is the log from the commit of package perl-App-FatPacker for openSUSE:Factory checked in at 2015-12-16 17:43:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-App-FatPacker (Old)
and /work/SRC/openSUSE:Factory/.perl-App-FatPacker.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-App-FatPacker"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-App-FatPacker/perl-App-FatPacker.changes 2015-06-30 10:19:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-App-FatPacker.new/perl-App-FatPacker.changes 2015-12-16 17:45:08.000000000 +0100
@@ -1,0 +2,10 @@
+Tue Dec 15 09:40:14 UTC 2015 - coolo@suse.com
+
+- updated to 0.010005
+ see /usr/share/doc/packages/perl-App-FatPacker/Changes
+
+ 0.010005 - 2015-12-14
+ - fix fatpacked code to work properly on perl 5.6 in all cases
+ - removed x_static_install metadata (RT#110299)
+
+-------------------------------------------------------------------
Old:
----
App-FatPacker-0.010004.tar.gz
New:
----
App-FatPacker-0.010005.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-App-FatPacker.spec ++++++
--- /var/tmp/diff_new_pack.jUuKjO/_old 2015-12-16 17:45:09.000000000 +0100
+++ /var/tmp/diff_new_pack.jUuKjO/_new 2015-12-16 17:45:09.000000000 +0100
@@ -17,19 +17,20 @@
Name: perl-App-FatPacker
-Version: 0.010004
+Version: 0.010005
Release: 0
%define cpan_name App-FatPacker
Summary: Pack Your Dependencies Onto Your Script File
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/App-FatPacker/
-Source0: http://www.cpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
+BuildRequires: perl(Test::More) >= 0.82
%{perl_requires}
%description
@@ -37,7 +38,6 @@
%prep
%setup -q -n %{cpan_name}-%{version}
-find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
++++++ App-FatPacker-0.010004.tar.gz -> App-FatPacker-0.010005.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-FatPacker-0.010004/Changes new/App-FatPacker-0.010005/Changes
--- old/App-FatPacker-0.010004/Changes 2015-06-28 08:03:18.000000000 +0200
+++ new/App-FatPacker-0.010005/Changes 2015-12-14 03:10:05.000000000 +0100
@@ -1,5 +1,9 @@
Revision history for App-FatPacker
+0.010005 - 2015-12-14
+ - fix fatpacked code to work properly on perl 5.6 in all cases
+ - removed x_static_install metadata (RT#110299)
+
0.010004 - 2015-06-28
- fix tests to work reliably on win32
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-FatPacker-0.010004/META.json new/App-FatPacker-0.010005/META.json
--- old/App-FatPacker-0.010004/META.json 2015-06-28 08:03:29.000000000 +0200
+++ new/App-FatPacker-0.010005/META.json 2015-12-14 03:10:22.000000000 +0100
@@ -4,7 +4,7 @@
"mst - Matt S. Trout (cpan:MSTROUT) "
],
"dynamic_config" : 0,
- "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001",
+ "generated_by" : "ExtUtils::MakeMaker version 7.1103, CPAN::Meta::Converter version 2.150005",
"license" : [
"perl_5"
],
@@ -48,7 +48,7 @@
"File::Basename" : "0",
"File::Spec" : "0",
"File::Temp" : "0",
- "Test::More" : "0"
+ "Test::More" : "0.82"
}
}
},
@@ -64,6 +64,6 @@
"web" : "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/App-FatPacker.git"
}
},
- "version" : "0.010004",
- "x_static_install" : 1
+ "version" : "0.010005",
+ "x_serialization_backend" : "JSON::PP version 2.27300"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-FatPacker-0.010004/META.yml new/App-FatPacker-0.010005/META.yml
--- old/App-FatPacker-0.010004/META.yml 2015-06-28 08:03:29.000000000 +0200
+++ new/App-FatPacker-0.010005/META.yml 2015-12-14 03:10:22.000000000 +0100
@@ -7,11 +7,11 @@
File::Basename: '0'
File::Spec: '0'
File::Temp: '0'
- Test::More: '0'
+ Test::More: '0.82'
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001'
+generated_by: 'ExtUtils::MakeMaker version 7.1103, CPAN::Meta::Converter version 2.150005'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -34,5 +34,5 @@
resources:
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=App-FatPacker
repository: git://git.shadowcat.co.uk/p5sagit/App-FatPacker.git
-version: '0.010004'
-x_static_install: 1
+version: '0.010005'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.017'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-FatPacker-0.010004/Makefile.PL new/App-FatPacker-0.010005/Makefile.PL
--- old/App-FatPacker-0.010004/Makefile.PL 2015-06-28 07:58:08.000000000 +0200
+++ new/App-FatPacker-0.010005/Makefile.PL 2015-12-14 03:03:22.000000000 +0100
@@ -17,7 +17,6 @@
META_MERGE => {
'meta-spec' => { version => '2' },
dynamic_config => 0,
- x_static_install => 1,
resources => {
# r/w: p5sagit@git.shadowcat.co.uk:App-FatPacker.git
repository => {
@@ -50,7 +49,7 @@
'File::Basename' => '0',
'File::Spec' => '0',
'File::Temp' => '0',
- 'Test::More' => '0',
+ 'Test::More' => '0.82',
},
},
},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-FatPacker-0.010004/README new/App-FatPacker-0.010005/README
--- old/App-FatPacker-0.010004/README 2015-06-28 08:03:29.000000000 +0200
+++ new/App-FatPacker-0.010005/README 2015-12-14 03:10:22.000000000 +0100
@@ -22,8 +22,12 @@
http://www.perladvent.org/2012/2012-12-14.html
SUPPORT
- Your current best avenue is to come annoy mst on #toolchain on
- irc.perl.org. There should be a non-IRC means of support by 1.0.
+ Bugs may be submitted through the RT bug tracker
+ https://rt.cpan.org/Public/Dist/Display.html?Name=App-FatPacker (or
+ bug-App-FatPacker@rt.cpan.org mailto:bug-App-FatPacker@rt.cpan.org).
+
+ You can normally also obtain assistance on irc, in #toolchain on
+ irc.perl.org.
AUTHOR
Matt S. Trout (mst)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-FatPacker-0.010004/lib/App/FatPacker.pm new/App-FatPacker-0.010005/lib/App/FatPacker.pm
--- old/App-FatPacker-0.010004/lib/App/FatPacker.pm 2015-06-28 08:03:09.000000000 +0200
+++ new/App-FatPacker-0.010005/lib/App/FatPacker.pm 2015-12-14 03:03:22.000000000 +0100
@@ -14,7 +14,7 @@
use File::Path qw(mkpath rmtree);
use B qw(perlstring);
-our $VERSION = '0.010004'; # 0.10.4
+our $VERSION = '0.010005'; # 0.10.5
$VERSION = eval $VERSION;
@@ -278,15 +278,17 @@
if ($] < 5.008) {
*{"${class}::INC"} = sub {
- if (my $fat = $_[0]{$_[1]}) {
- return sub {
- return 0 unless length $fat;
- $fat =~ s/^([^\n]*\n?)//;
- $_ = $1;
- return 1;
- };
- }
- return;
+ if (my $fat = $_[0]{$_[1]}) {
+ my $pos = 0;
+ my $last = length $fat;
+ return (sub {
+ return 0 if $pos == $last;
+ my $next = (1 + index $fat, "\n", $pos) || $last;
+ $_ .= substr $fat, $pos, $next - $pos;
+ $pos = $next;
+ return 1;
+ });
+ }
};
}
@@ -347,8 +349,10 @@
=head1 SUPPORT
-Your current best avenue is to come annoy mst on #toolchain on
-irc.perl.org. There should be a non-IRC means of support by 1.0.
+Bugs may be submitted through Lhttps://rt.cpan.org/Public/Dist/Display.html?Name=App-FatPacker>
+(or L).
+
+You can normally also obtain assistance on irc, in #toolchain on irc.perl.org.
=head1 AUTHOR
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-FatPacker-0.010004/t/line.t new/App-FatPacker-0.010005/t/line.t
--- old/App-FatPacker-0.010004/t/line.t 2013-09-22 04:02:52.000000000 +0200
+++ new/App-FatPacker-0.010005/t/line.t 2015-12-14 03:00:23.000000000 +0100
@@ -1,11 +1,10 @@
-#!perl
use strict;
use warnings FATAL => 'all';
-use Test::More tests => 3;
+use Test::More tests => 2;
use File::Temp qw/tempdir/;
use File::Spec;
-BEGIN { use_ok "App::FatPacker", "" }
+use App::FatPacker;
chdir 't/line';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-FatPacker-0.010004/t/mod/c.pm new/App-FatPacker-0.010005/t/mod/c.pm
--- old/App-FatPacker-0.010004/t/mod/c.pm 2013-09-22 04:02:52.000000000 +0200
+++ new/App-FatPacker-0.010005/t/mod/c.pm 2015-12-13 06:52:36.000000000 +0100
@@ -1,2 +1,9 @@
package t::mod::c;
+
+sub xyz {
+ shift()
+ ? 666
+ : 999
+}
+
1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-FatPacker-0.010004/t/pack.t new/App-FatPacker-0.010005/t/pack.t
--- old/App-FatPacker-0.010004/t/pack.t 2015-04-17 17:50:09.000000000 +0200
+++ new/App-FatPacker-0.010005/t/pack.t 2015-12-14 03:00:23.000000000 +0100
@@ -1,4 +1,3 @@
-#!perl
use strict;
use warnings FATAL => 'all';
use Test::More qw(no_plan);
@@ -9,21 +8,25 @@
use File::Spec;
use Cwd;
-BEGIN { use_ok "App::FatPacker", "" }
+use App::FatPacker;
my $keep = $ENV{'FATPACKER_KEEP_TESTDIR'};
-my $tempdir = tempdir($keep ? (CLEANUP => 0) : (CLEANUP => 1));
+
+my $cwd = getcwd;
+my $tempdir = tempdir('fatpacker-XXXXX', DIR => "$cwd/t", $keep ? (CLEANUP => 0) : (CLEANUP => 1));
mkpath([<$tempdir/{lib,fatlib}/t/mod>]);
for() {
copy $_, "$tempdir/lib/$_" or die "copy failed: $!";
}
-my $cwd = getcwd;
chdir $tempdir;
my $fp = App::FatPacker->new;
-my $temp_fh = File::Temp->new;
+my $packed_file = "$tempdir/script";
+open my $temp_fh, '>', $packed_file
+ or die "can't write to $packed_file: $!";
+
select $temp_fh;
$fp->script_command_file;
print "1;\n";
@@ -34,7 +37,7 @@
chdir File::Spec->tmpdir;
# Packed, now try using it:
-require $temp_fh;
+require $packed_file;
{
require t::mod::a;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-FatPacker-0.010004/t/trace.t new/App-FatPacker-0.010005/t/trace.t
--- old/App-FatPacker-0.010004/t/trace.t 2015-06-28 07:56:43.000000000 +0200
+++ new/App-FatPacker-0.010005/t/trace.t 2015-12-14 03:00:23.000000000 +0100
@@ -1,4 +1,3 @@
-#!perl
use strict;
use warnings FATAL => 'all';
use Test::More qw(no_plan);