From f6b1d63e29bbc7721a4ba2b4f0fbf6156d54dfba9bfe7fa7673bb3b44f3f9b50 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Thu, 28 Sep 2023 10:54:58 +0000 Subject: [PATCH] Accepting request 1113735 from devel:languages:perl:autoupdate - updated to 1.34 see /usr/share/doc/packages/perl-Module-ScanDeps/Changes 1.34 2023-09-24 - Fix issue #19 (AKA rschupp/PAR-Packer#78): invalid paths in zip file - Restore behaviour from version 1.31 when using "pp --execute ..." or "scandeps.pl --execute ...". When using "scan_deps(execute => 1, ...)", %INC as gleaned from running the script must be sanitized. Contrary to documentation "The key is the filename you specified (with module names converted to pathnames)" %INC *may* contain keys that are *absolute pathnames* (or start with "./relativ/path" when "relative/path" is in @PATH). Examples are autosplitted modules (for autosplit.ix and *.al files). pp will pack these absolute paths into the zip (Archive::Zip doesn't complain) which results in strange error messages when the packed executable tries to unpack them under CACHEDIR/inc on Windows. Add t/19-autosplit.t to test for this. Add IPC::Run3 to TEST_REQUIRES, used in t/19-autosplit.t - Add GitHub CI OBS-URL: https://build.opensuse.org/request/show/1113735 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-ScanDeps?expand=0&rev=56 --- Module-ScanDeps-1.33.tar.gz | 3 --- Module-ScanDeps-1.34.tar.gz | 3 +++ perl-Module-ScanDeps.changes | 24 ++++++++++++++++++++++++ perl-Module-ScanDeps.spec | 7 ++++--- 4 files changed, 31 insertions(+), 6 deletions(-) delete mode 100644 Module-ScanDeps-1.33.tar.gz create mode 100644 Module-ScanDeps-1.34.tar.gz diff --git a/Module-ScanDeps-1.33.tar.gz b/Module-ScanDeps-1.33.tar.gz deleted file mode 100644 index 9e94095..0000000 --- a/Module-ScanDeps-1.33.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:55bde24e3b966ebe261e10bdc6720259d331e63a4d2fc086ce551987a5bbbb4c -size 57056 diff --git a/Module-ScanDeps-1.34.tar.gz b/Module-ScanDeps-1.34.tar.gz new file mode 100644 index 0000000..8cabc96 --- /dev/null +++ b/Module-ScanDeps-1.34.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cac530e5cfc413e067797c7d237c6c5cd32915c3d9faee5d94035c8f3a8550eb +size 58833 diff --git a/perl-Module-ScanDeps.changes b/perl-Module-ScanDeps.changes index 6c755dc..8a640cd 100644 --- a/perl-Module-ScanDeps.changes +++ b/perl-Module-ScanDeps.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Mon Sep 25 03:06:45 UTC 2023 - Tina Müller + +- updated to 1.34 + see /usr/share/doc/packages/perl-Module-ScanDeps/Changes + + 1.34 2023-09-24 + - Fix issue #19 (AKA rschupp/PAR-Packer#78): invalid paths in zip file + - Restore behaviour from version 1.31 when using "pp --execute ..." or + "scandeps.pl --execute ...". + When using "scan_deps(execute => 1, ...)", %INC as gleaned from + running the script must be sanitized. Contrary to documentation + "The key is the filename you specified (with module names + converted to pathnames)" %INC *may* contain keys that are + *absolute pathnames* (or start with "./relativ/path" when + "relative/path" is in @PATH). Examples are autosplitted modules + (for autosplit.ix and *.al files). pp will pack these absolute + paths into the zip (Archive::Zip doesn't complain) which + results in strange error messages when the packed executable + tries to unpack them under CACHEDIR/inc on Windows. + Add t/19-autosplit.t to test for this. + Add IPC::Run3 to TEST_REQUIRES, used in t/19-autosplit.t + - Add GitHub CI + ------------------------------------------------------------------- Sat Aug 5 03:07:50 UTC 2023 - Tina Müller diff --git a/perl-Module-ScanDeps.spec b/perl-Module-ScanDeps.spec index f1ad8e6..175803d 100644 --- a/perl-Module-ScanDeps.spec +++ b/perl-Module-ScanDeps.spec @@ -18,9 +18,9 @@ %define cpan_name Module-ScanDeps Name: perl-Module-ScanDeps -Version: 1.330.0 +Version: 1.340.0 Release: 0 -%define cpan_version 1.33 +%define cpan_version 1.34 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Recursively scan Perl code for dependencies URL: https://metacpan.org/release/%{cpan_name} @@ -28,12 +28,13 @@ Source0: https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/%{cpan_name}-% Source1: cpanspec.yml BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(IPC::Run3) >= 0.048 BuildRequires: perl(Module::Metadata) BuildRequires: perl(Test::Requires) BuildRequires: perl(version) Requires: perl(Module::Metadata) Requires: perl(version) -Provides: perl(Module::ScanDeps) = 1.330.0 +Provides: perl(Module::ScanDeps) = 1.340.0 Provides: perl(Module::ScanDeps::Cache) %define __perllib_provides /bin/true %{perl_requires}