Hello community,

here is the log from the commit of package perl-PAR-Packer for openSUSE:Factory 
checked in at 2018-07-28 12:41:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-PAR-Packer (Old)
 and      /work/SRC/openSUSE:Factory/.perl-PAR-Packer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-PAR-Packer"

Sat Jul 28 12:41:12 2018 rev:12 rq:624420 version:1.039

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-PAR-Packer/perl-PAR-Packer.changes  
2017-02-15 10:07:21.560136685 +0100
+++ /work/SRC/openSUSE:Factory/.perl-PAR-Packer.new/perl-PAR-Packer.changes     
2018-07-28 12:41:19.440532056 +0200
@@ -1,0 +2,87 @@
+Sun Oct  8 07:29:29 UTC 2017 - co...@suse.com
+
+- remove -test subspec (which ignored errors in make check anyway)
+- add 50ff73f26855151910e039b8480473024ae08b8a.patch to fix tests
+  with latest perl
+
+-------------------------------------------------------------------
+Sun Oct  8 07:23:09 UTC 2017 - co...@suse.com
+
+- updated to 1.039
+   see /usr/share/doc/packages/perl-PAR-Packer/Changes
+
+  1.039  2017-09-28
+  
+  - Brown paper bag: add missing t/utils.pl
+  
+  1.038  2017-09-27
+  
+  - Fix "RT#122949: PAR-Packer-1.37 executables split arguments containing 
whitespace"
+    - on Windows, quote elements of argv array passed to spawnvp();
+      algorithm stolen from Win32::ShellQuote.
+  
+  - introduce helper t/utils.pl to streamline tests 
+  
+  - require IPC::Run3 for test
+  
+  - make test work with "dot-less" perl and PERL_USE_UNSAFE_INC=0
+  
+  1.037  2017-05-28
+  
+  - Fix RT#121268 for PAR-Packer: error installing PAR-Packer on windows10 ( 
64Bit )
+    - on Windows, make dl_findfile() search first in the directory containing
+      the perl executable (to avoid erroneous hits in other members of PATH)
+  
+  - Fix RT#120038: [PATCH] Fix build for VS2015 (VC++ 14)
+    and merge pull request from Steve Hay (s...@cpan.org)
+    - makes PAR::Packer work with VisualStudio 2015. Thanks, Steve!
+  
+  - Fix RT#120041: --exclude gets confused by missing modules
+    - guard against Module::ScanDeps::_find_in_inc() returning ()
+  
+  - Fail early when packing with a version of Perl
+    that's different frome the one PAR::Packer was built with.
+  
+    Scenario: User has built and installed PAR::Packer (or got it
+    pre-packaged), then installs a newer version of Perl, then does
+  
+      pp -o foo.exe foo.pl
+  
+    But running foo.exe then fails with
+  
+      foo.exe
+  
+      C:\Users\jon\AppData\Local\Temp\parlzcPb.exe: Perl lib version (5.24.1) 
doesn't match executable 'perl.exe' version (5.24.0) at C:/Perl64/lib/Config.pm 
line 62.
+      Compilation failed in require at C:/Perl64/lib/Errno.pm line 10.
+      ...
+      C:\Perl64\sitein/pp: Failed to extract a parl from 
'PAR::StrippedPARL::Static' to file 
'C:\Users\jon\AppData\Local\Temp\parl3swwQJc.exe' at 
C:/Perl64/site/lib/PAR/Packer.pm line 1184, <DATA> line 1.
+  
+    Now, pp will fail and with a more useful message.
+  
+  - Switch from Module::Install to ExtUtils::MakeMaker
+  
+  - Rewrite the library search (for "pp --link ...")
+    - start with $Config{libpth} which is *not* the runtime loader (e.g.
+      ld.so on Linux) search path, but rather the linker (ld) search path -
+      but it's the best guess without having to grok /etc/ld.so.conf
+    - augment that with $ENV{LD_LIBRARY_PATH} or similar
+  
+  - Rework how we determine the name under which a library should be installed
+    - use objdump (on Linux and other ELF-based OS) and otool on Darwin
+    - fall back to "chasing symlinks" otherwise
+  
+  - Remove PAR_ARGV_*, PAR_ARGC stuff from script/par.pl and myldr/boot.c.
+    - Dunno what problem this obscure way of passing the command line arguments
+      from a packed executable to the custom Perl interpreter was intended
+      to fix, but arguments pass just fine through execvp (or spawnvp)
+      to perl_parse.
+  
+  - Only set the environment variable for the shared library search path
+    (e.g. LD_LIBRARY_PATH) that is relevant for the operating system
+    that we're running on
+  
+  - Use DynaLoader::dl_findfile to locate DLLs instead of homegrown stuff.
+  
+  - Remove "par_base" - prebuilt .par's haven't been available for ages
+
+-------------------------------------------------------------------

Old:
----
  PAR-Packer-1.036.tar.gz
  perl-PAR-Packer-test.changes
  perl-PAR-Packer-test.spec

New:
----
  50ff73f26855151910e039b8480473024ae08b8a.patch
  PAR-Packer-1.039.tar.gz
  cpanspec.yml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-PAR-Packer.spec ++++++
--- /var/tmp/diff_new_pack.rHCZ3k/_old  2018-07-28 12:41:20.076533279 +0200
+++ /var/tmp/diff_new_pack.rHCZ3k/_new  2018-07-28 12:41:20.080533286 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-PAR-Packer
 #
-# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,32 +17,42 @@
 
 
 Name:           perl-PAR-Packer
-Version:        1.036
+Version:        1.039
 Release:        0
 %define cpan_name PAR-Packer
 Summary:        PAR Packager
-License:        GPL-1.0+ or Artistic-1.0
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/PAR-Packer/
-Source:         
http://www.cpan.org/authors/id/R/RS/RSCHUPP/%{cpan_name}-%{version}.tar.gz
+Source0:        
https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
+Patch0:         50ff73f26855151910e039b8480473024ae08b8a.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(Archive::Zip) >= 1
-BuildRequires:  perl(Compress::Zlib) >= 1.3
+BuildRequires:  perl(Archive::Zip) >= 1.02
+BuildRequires:  perl(Compress::Zlib) >= 1.30
+BuildRequires:  perl(ExtUtils::CBuilder)
 BuildRequires:  perl(Getopt::ArgvFile) >= 1.07
-BuildRequires:  perl(Module::ScanDeps) >= 1.09
-BuildRequires:  perl(PAR) >= 1.005
+BuildRequires:  perl(IO::Compress::Gzip)
+BuildRequires:  perl(IPC::Run3)
+BuildRequires:  perl(Module::ScanDeps) >= 1.21
+BuildRequires:  perl(PAR) >= 1.014
 BuildRequires:  perl(PAR::Dist) >= 0.22
-Requires:       perl(Archive::Zip) >= 1
-Requires:       perl(Compress::Zlib) >= 1.3
+Requires:       perl(Archive::Zip) >= 1.02
+Requires:       perl(Compress::Zlib) >= 1.30
 Requires:       perl(Getopt::ArgvFile) >= 1.07
-Requires:       perl(Module::ScanDeps) >= 1.09
-Requires:       perl(PAR) >= 1.005
+Requires:       perl(IO::Compress::Gzip)
+Requires:       perl(Module::ScanDeps) >= 1.21
+Requires:       perl(PAR) >= 1.014
 Requires:       perl(PAR::Dist) >= 0.22
-Recommends:     perl(Digest) >= Module::Signature
+Recommends:     perl(Digest::SHA)
+Recommends:     perl(Module::Signature)
+Recommends:     perl(Tk)
+Recommends:     perl(Tk::ColoredButton)
+Recommends:     perl(Tk::EntryCheck)
+Recommends:     perl(Tk::Getopt)
 %{perl_requires}
-%{?libperl_requires}
 
 %description
 This module implements the *App::Packer::Backend* interface, for generating
@@ -58,25 +68,25 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-find . -type f -print0 | xargs -0 chmod 644
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-%{__make}
-
+# build system busted - only supporting serial build
+%{__make} -j1
 %check
-%{__make} test || true
+export PERL_TEST_POD=1
+make test
 
 %install
 %perl_make_install
 %perl_process_packlist
 %perl_gen_filelist
 
-%clean
-%{__rm} -rf %{buildroot}
-
 %files -f %{name}.files
 %defattr(-,root,root,755)
 %doc AUTHORS Changes README
+%license LICENSE
 
 %changelog

++++++ 50ff73f26855151910e039b8480473024ae08b8a.patch ++++++
>From 50ff73f26855151910e039b8480473024ae08b8a Mon Sep 17 00:00:00 2001
From: rschupp <roderich.sch...@gmail.com>
Date: Sun, 1 Oct 2017 13:09:42 +0200
Subject: [PATCH] fix tests when running without "." in @INC even (even in
 tests)

---
 t/80-doublecolon.t | 2 +-
 t/90-rt101800.t    | 2 +-
 t/90-rt103861.t    | 2 +-
 t/90-rt104560.t    | 2 +-
 t/90-rt104635.t    | 2 +-
 t/90-rt122949.t    | 2 +-
 t/90-rt59710.t     | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

Index: PAR-Packer-1.039/t/80-doublecolon.t
===================================================================
--- PAR-Packer-1.039.orig/t/80-doublecolon.t
+++ PAR-Packer-1.039/t/80-doublecolon.t
@@ -6,7 +6,7 @@ use warnings;
 use Archive::Zip qw( :ERROR_CODES );
 
 use Test::More;
-require "t/utils.pl";
+require "./t/utils.pl";
 
 my %expected = (
     "Double::Colon" => [qw(
Index: PAR-Packer-1.039/t/90-rt101800.t
===================================================================
--- PAR-Packer-1.039.orig/t/90-rt101800.t
+++ PAR-Packer-1.039/t/90-rt101800.t
@@ -10,7 +10,7 @@ use File::stat;
 use PAR::SetupTemp;     # for $PAR::SetupTemp::Canary
 
 use Test::More;
-require "t/utils.pl";
+require "./t/utils.pl";
 
 if (eval { require Archive::Unzip::Burst; 1; })
 {
Index: PAR-Packer-1.039/t/90-rt103861.t
===================================================================
--- PAR-Packer-1.039.orig/t/90-rt103861.t
+++ PAR-Packer-1.039/t/90-rt103861.t
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 
 use Test::More;
-require "t/utils.pl";
+require "./t/utils.pl";
 
 plan tests => 3;
 
Index: PAR-Packer-1.039/t/90-rt104560.t
===================================================================
--- PAR-Packer-1.039.orig/t/90-rt104560.t
+++ PAR-Packer-1.039/t/90-rt104560.t
@@ -8,7 +8,7 @@ use File::Temp qw( tempdir );
 use Archive::Zip qw( :ERROR_CODES :CONSTANTS );;
 
 use Test::More;
-require "t/utils.pl";
+require "./t/utils.pl";
 
 plan tests => 3;
 
Index: PAR-Packer-1.039/t/90-rt104635.t
===================================================================
--- PAR-Packer-1.039.orig/t/90-rt104635.t
+++ PAR-Packer-1.039/t/90-rt104635.t
@@ -8,7 +8,7 @@ use Cwd;
 use Archive::Zip qw( :ERROR_CODES );
 
 use Test::More;
-require "t/utils.pl";
+require "./t/utils.pl";
 
 my @expected = qw( lib/Foo.pm lib/Foo/Bar.pm script/foo );
 plan tests => @expected + 2;
Index: PAR-Packer-1.039/t/90-rt59710.t
===================================================================
--- PAR-Packer-1.039.orig/t/90-rt59710.t
+++ PAR-Packer-1.039/t/90-rt59710.t
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 
 use Test::More;
-require "t/utils.pl";
+require "./t/utils.pl";
 
 # Unicode::UCD appeared first in perl 5.8.0
 plan skip_all => "Unicode::UCD not installed"
++++++ PAR-Packer-1.036.tar.gz -> PAR-Packer-1.039.tar.gz ++++++
++++ 4428 lines of diff (skipped)

++++++ cpanspec.yml ++++++
---
custom_test: |-
  export PERL_TEST_POD=1
  make test
custom_build: |-
  %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
  # build system busted - only supporting serial build
  %{__make} -j1
patches:
  50ff73f26855151910e039b8480473024ae08b8a.patch: -p1

Reply via email to