diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-15 20:20:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-15 20:36:59 +0000 |
commit | e4896e384fd85a87b5f137bed8bda379584d899b (patch) | |
tree | 10790a81feb206e0fe119e6a1398a835267cde86 /testing/perl-sys-virt | |
parent | 096b6876edf1590e510f8fd845016477dfe915c6 (diff) | |
download | aports-e4896e384fd85a87b5f137bed8bda379584d899b.tar.bz2 aports-e4896e384fd85a87b5f137bed8bda379584d899b.tar.xz |
testing/perl-sys-virt: upgrade to 3.4.0
Diffstat (limited to 'testing/perl-sys-virt')
-rw-r--r-- | testing/perl-sys-virt/APKBUILD | 11 | ||||
-rw-r--r-- | testing/perl-sys-virt/perl-5.26.patch | 31 |
2 files changed, 37 insertions, 5 deletions
diff --git a/testing/perl-sys-virt/APKBUILD b/testing/perl-sys-virt/APKBUILD index 8b7b1e2b05..535b56dabb 100644 --- a/testing/perl-sys-virt/APKBUILD +++ b/testing/perl-sys-virt/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=perl-sys-virt _pkgreal=Sys-Virt -pkgver=2.5.0 +pkgver=3.4.0 pkgrel=0 pkgdesc="Perl module for Sys-Virt" url="http://search.cpan.org/dist/Sys-Virt/" @@ -14,7 +14,9 @@ cpanmakedepends="perl-xml-xpath perl-test-pod-coverage perl-test-pod perl-cpan-c depends="$cpandepends" makedepends="perl-dev libvirt-dev yajl-dev $cpanmakedepends" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DA/DANBERR/$_pkgreal-$pkgver.tar.gz" +source="http://search.cpan.org/CPAN/authors/id/D/DA/DANBERR/$_pkgreal-$pkgver.tar.gz + perl-5.26.patch + " builddir="$srcdir/$_pkgreal-$pkgver" prepare() { @@ -40,6 +42,5 @@ package() { find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="d07fca31367bef924ffe5c62e0d5f18a Sys-Virt-2.5.0.tar.gz" -sha256sums="822117feaa3159ce97341cd50569fbb99b9562d3c9505a289b00546ec907db80 Sys-Virt-2.5.0.tar.gz" -sha512sums="078ab8a33090fd12eda8615973a871e0a6c6c781bc958e94e86c7cd0bd3b3ab6204aa9b884b58c87907ff9c9f311e998cc9c54e0dec63d7f5670eccc15f30741 Sys-Virt-2.5.0.tar.gz" +sha512sums="9ca5cd23942acdb435cc1d56315d0cbeee41720d42d5dc9bcc6ee46c5bbf33323d12baa5d7ae110620b29da7464d3086f858b0af65e8fc8f632d1620974f02c5 Sys-Virt-3.4.0.tar.gz +2e2d07f3df0bbd16d8a63ced60df7f52142f642d9ac9390e83f117298498ff9a6a8464c075f0f94b58d843f8776be7130292a990c7662c99acf613349f721cd3 perl-5.26.patch" diff --git a/testing/perl-sys-virt/perl-5.26.patch b/testing/perl-sys-virt/perl-5.26.patch new file mode 100644 index 0000000000..cf3021088a --- /dev/null +++ b/testing/perl-sys-virt/perl-5.26.patch @@ -0,0 +1,31 @@ +From 4ee3aad605f16ba836a11e6807dd2ef3693faf6d Mon Sep 17 00:00:00 2001 +From: Daniel P. Berrange <berrange@redhat.com> +Date: Thu, 15 Jun 2017 18:26:08 +0100 +Subject: [PATCH] Use ./ when loading Virt.pm since "." is no longer in @INC + +Latest Perl reports: + +do "lib/Sys/Virt.pm" failed, '.' is no longer in @INC; did you mean do "./lib/Sys/Virt.pm"? at perl-Sys-Virt.spec.PL line 9. +lib/Sys/Virt.pm: No such file or directory at perl-Sys-Virt.spec.PL line 12. + +Signed-off-by: Daniel P. Berrange <berrange@redhat.com> +--- + perl-Sys-Virt.spec.PL | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/perl-Sys-Virt.spec.PL b/perl-Sys-Virt.spec.PL +index aa3f6fc..dbb749d 100644 +--- a/perl-Sys-Virt.spec.PL ++++ b/perl-Sys-Virt.spec.PL +@@ -6,7 +6,7 @@ use strict; + + die unless (scalar @ARGV == 1); + +-unless (do 'lib/Sys/Virt.pm') ++unless (do './lib/Sys/Virt.pm') + { + if ($@) { die $@ }; + die "lib/Sys/Virt.pm: $!"; +-- +1.7.1 + |