[packages/perl-Sys-Virt] - fix building with perl 5.26 - rel 4

baggins baggins at pld-linux.org
Thu Jun 22 02:22:30 CEST 2017


commit e0628b64d4a757a69fa3aa7bace03ef8be7db7be
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Jun 22 02:22:14 2017 +0200

    - fix building with perl 5.26
    - rel 4

 no-dot-in-inc.patch | 11 +++++++++++
 perl-Sys-Virt.spec  |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/perl-Sys-Virt.spec b/perl-Sys-Virt.spec
index 68d5a44..b87125f 100644
--- a/perl-Sys-Virt.spec
+++ b/perl-Sys-Virt.spec
@@ -9,11 +9,12 @@ Summary:	Sys::Virt - Represent and manage a libvirt hypervisor connection
 Summary(pl.UTF-8):	Sys::Virt - reprezentacja i zarządzanie połączeniem z hipernadzorcą libvirt
 Name:		perl-Sys-Virt
 Version:	2.5.0
-Release:	3
+Release:	4
 License:	GPL v2+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/Sys/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	d07fca31367bef924ffe5c62e0d5f18a
+Patch0:		no-dot-in-inc.patch
 URL:		http://search.cpan.org/dist/Sys-Virt/
 BuildRequires:	libvirt-devel >= 1.2.19
 BuildRequires:	perl-devel >= 1:5.8.0
@@ -44,6 +45,7 @@ kontenerach.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
diff --git a/no-dot-in-inc.patch b/no-dot-in-inc.patch
new file mode 100644
index 0000000..557ab00
--- /dev/null
+++ b/no-dot-in-inc.patch
@@ -0,0 +1,11 @@
+--- Sys-Virt-2.5.0/perl-Sys-Virt.spec.PL~	2016-10-26 12:35:34.000000000 +0200
++++ Sys-Virt-2.5.0/perl-Sys-Virt.spec.PL	2017-06-22 02:20:58.119063437 +0200
+@@ -6,7 +6,7 @@
+ 
+ die unless (scalar @ARGV == 1);
+ 
+-unless (do 'lib/Sys/Virt.pm')
++unless (do './lib/Sys/Virt.pm')
+   {
+     if ($@) { die $@ };
+     die "lib/Sys/Virt.pm: $!";
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Sys-Virt.git/commitdiff/e0628b64d4a757a69fa3aa7bace03ef8be7db7be



More information about the pld-cvs-commit mailing list