diff --git a/files/perl-vendorlib-make.patch b/files/perl-vendorlib-make.patch new file mode 100644 --- /dev/null +++ b/files/perl-vendorlib-make.patch @@ -0,0 +1,25 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -16,6 +16,10 @@ AX_CHECK_GNU_MAKE([], [AC_MSG_ERROR([mak + # Set a value even if not found, so that an invocation via build-aux/missing works + AC_PATH_PROG([HELP2MAN], [help2man], [help2man]) + ++# Configure the Perl module destination dir ++PMDIR=$($PERL -MConfig -e 'print $Config{installvendorlib}') ++AC_SUBST([PMDIR]) ++ + # Generate output files + AC_CONFIG_FILES([ + Makefile +--- a/Makefile.am ++++ b/Makefile.am +@@ -8,7 +8,8 @@ ACLOCAL_AMFLAGS = -I m4 + CLOC = cloc --autoconf + + bin_SCRIPTS = pstops psbook psjoin psresize psselect psnup epsffit extractres includeres +-dist_pkgdata_DATA = PSUtils.pm ++pmdir = $(PMDIR) ++dist_pm_DATA = PSUtils.pm + + man_MANS = psutils.1 \ + psbook.1 psselect.1 pstops.1 epsffit.1 psnup.1 psresize.1 \ diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,8 +1,8 @@ name : psutils -version : 1.90 -release : 2 +version : '2.5' +release : 3 source : - - https://github.com/rrthomas/psutils/archive/v1.90.tar.gz : b45a78b14fa213f8705a0347f7429272bf6cb7c0367f7408915aaf66d0734a9b + - https://github.com/rrthomas/psutils/releases/download/v2.05/psutils-2.05.tar.gz : 1ab103210baf139789f9e049165088d08ad041fb9f28d4bdc2430e5773b63346 license : psutils component : programming.tools networking : yes @@ -12,6 +12,7 @@ builddeps : - ghostscript-devel setup : | + %patch -p1 < $pkgfiles/perl-vendorlib-make.patch %reconfigure build : | %make diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -2,8 +2,8 @@ psutils - F. von Gellhorn - flinux@vongellhorn.ch + Martin Reboredo + yakoyoku@gmail.com psutils programming.tools @@ -28,6 +28,7 @@ /usr/bin/psresize /usr/bin/psselect /usr/bin/pstops + /usr/lib64/perl5/vendor_perl/5.32/PSUtils.pm /usr/share/man/man1/epsffit.1 /usr/share/man/man1/extractres.1 /usr/share/man/man1/includeres.1 @@ -38,16 +39,15 @@ /usr/share/man/man1/psselect.1 /usr/share/man/man1/pstops.1 /usr/share/man/man1/psutils.1 - /usr/share/perl/PSUtils.pm - - 2019-11-30 - 1.9 + + 2021-05-10 + 2.5 Packaging update - F. von Gellhorn - flinux@vongellhorn.ch + Martin Reboredo + yakoyoku@gmail.com \ No newline at end of file