]> git.pld-linux.org Git - packages/perl-Sys-Virt.git/commitdiff
- fix building with perl 5.26 auto/th/perl-Sys-Virt-2.5.0-4
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 22 Jun 2017 00:22:14 +0000 (02:22 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 22 Jun 2017 00:22:14 +0000 (02:22 +0200)
- rel 4

no-dot-in-inc.patch [new file with mode: 0644]
perl-Sys-Virt.spec

diff --git a/no-dot-in-inc.patch b/no-dot-in-inc.patch
new file mode 100644 (file)
index 0000000..557ab00
--- /dev/null
@@ -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: $!";
index 68d5a44984ab9821023e3fb363bb0decd0ed0310..b87125fb61ba873799ea4cebdc6d132ba8f38cf2 100644 (file)
@@ -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 \
This page took 0.372599 seconds and 4 git commands to generate.