[packages/perl-PAR-Packer] Up to 1.064
arekm
arekm at pld-linux.org
Thu Aug 13 01:17:48 CEST 2026
commit af3220ef35e3fe8dfa1848110de83767197f76ae
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Aug 13 01:17:28 2026 +0200
Up to 1.064
ldlibpthname.patch | 22 ++++++++++++++++++++++
perl-PAR-Packer.spec | 17 ++++++++++-------
2 files changed, 32 insertions(+), 7 deletions(-)
---
diff --git a/perl-PAR-Packer.spec b/perl-PAR-Packer.spec
index 85908ad..8a526ae 100644
--- a/perl-PAR-Packer.spec
+++ b/perl-PAR-Packer.spec
@@ -7,25 +7,27 @@
Summary: PAR::Packer - PAR Packager
#Summary(pl.UTF-8):
Name: perl-PAR-Packer
-Version: 1.045
-Release: 12
+Version: 1.064
+Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/PAR/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: a3333754b0112ee8fe80083042b89a3b
+# Source0-md5: 4ac6d84c5155efeb930dd77695d15da4
Patch0: x32.patch
+Patch1: ldlibpthname.patch
URL: http://search.cpan.org/dist/PAR-Packer/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
-BuildRequires: perl-Archive-Zip >= 1
+BuildRequires: perl-Archive-Zip >= 1.02
BuildRequires: perl-Getopt-ArgvFile >= 1.07
-BuildRequires: perl-IPC-Run3
-BuildRequires: perl-Module-ScanDeps >= 0.78
-BuildRequires: perl-PAR >= 1.014
+BuildRequires: perl-IPC-Run3 >= 0.048
+BuildRequires: perl-Module-ScanDeps >= 1.21
+BuildRequires: perl-PAR >= 1.020
BuildRequires: perl-PAR-Dist >= 0.22
%endif
+Requires: perl-PAR >= 1.020
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _enable_debug_packages 0
@@ -49,6 +51,7 @@ PAR files, perl scripts or executables.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%patch -P0 -p1
+%patch -P1 -p1
%build
%{__perl} Makefile.PL \
diff --git a/ldlibpthname.patch b/ldlibpthname.patch
new file mode 100644
index 0000000..db9b57a
--- /dev/null
+++ b/ldlibpthname.patch
@@ -0,0 +1,22 @@
+--- PAR-Packer-1.064/myldr/Makefile.PL.orig
++++ PAR-Packer-1.064/myldr/Makefile.PL
+@@ -232,6 +232,8 @@
+ {
+ # Strawberry perl doesn't set $Config{ldlibpthname}
+ my $ldlibpthname = $^O eq 'MSWin32' ? "PATH" : $Config{ldlibpthname};
++ # some distributions build perl with -Dldlibpthname=none
++ $ldlibpthname ||= "LD_LIBRARY_PATH" if $^O eq 'linux';
+ unless ($ldlibpthname) {
+ warn "\$Config{ldlibpthname} is not available for your OS ($^O)".
+ "- PAR::Packer functionality may be limited";
+--- PAR-Packer-1.064/t/85-ldlibpthname.t.orig
++++ PAR-Packer-1.064/t/85-ldlibpthname.t
+@@ -10,6 +10,8 @@
+ require "./t/utils.pl";
+
+ my $ldlibpthname = $^O eq 'MSWin32' ? "PATH" : $Config{ldlibpthname};
++# some distributions build perl with -Dldlibpthname=none
++$ldlibpthname ||= "LD_LIBRARY_PATH" if $^O eq 'linux';
+
+ plan skip_all => "\$Config{ldlibpthname} is not available for your OS ($^O)" unless $ldlibpthname;
+ plan tests => 4;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-PAR-Packer.git/commitdiff/af3220ef35e3fe8dfa1848110de83767197f76ae
More information about the pld-cvs-commit
mailing list