[packages/perl-Sys-Virt] - updated to 6.3.0 (latest supporting libvirt 6.6.0) - removed obsolete no-dot-in-inc patch
qboosh
qboosh at pld-linux.org
Tue Oct 6 18:44:04 CEST 2020
commit c59ff65142696c1a37fa0511474f6d3308dbe9dc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Oct 6 18:47:09 2020 +0200
- updated to 6.3.0 (latest supporting libvirt 6.6.0)
- removed obsolete no-dot-in-inc patch
no-dot-in-inc.patch | 11 -----------
perl-Sys-Virt.spec | 21 +++++++++++----------
2 files changed, 11 insertions(+), 21 deletions(-)
---
diff --git a/perl-Sys-Virt.spec b/perl-Sys-Virt.spec
index 878f1c8..98492fc 100644
--- a/perl-Sys-Virt.spec
+++ b/perl-Sys-Virt.spec
@@ -7,15 +7,14 @@
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: 6
+Version: 6.3.0
+Release: 1
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
+Source0: http://www.cpan.org/modules/by-module/Sys/%{pdir}-%{pnam}-v%{version}.tar.gz
+# Source0-md5: 08450ac24eca20d8e96fe3f9d644ccb7
+URL: https://metacpan.org/release/Sys-Virt
+BuildRequires: libvirt-devel >= 6.3.0
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: pkgconfig
BuildRequires: rpm-perlprov >= 4.1-13
@@ -28,7 +27,7 @@ BuildRequires: perl-Test-Simple
BuildRequires: perl-Time-HiRes
BuildRequires: perl-XML-XPath
%endif
-Requires: libvirt >= 1.2.19
+Requires: libvirt >= 6.3.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -43,12 +42,12 @@ jednolite API maszynami wirtualnymi działającymi w dowolnych
kontenerach.
%prep
-%setup -q -n %{pdir}-%{pnam}-%{version}
-%patch0 -p1
+%setup -q -n %{pdir}-%{pnam}-v%{version}
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
+
%{__make} -j1 \
CC="%{__cc}" \
OPTIMIZE="%{rpmcflags}"
@@ -61,6 +60,8 @@ rm -rf $RPM_BUILD_ROOT
%{__make} pure_install \
DESTDIR=$RPM_BUILD_ROOT
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Sys/Virt/Virt.bs
+
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
diff --git a/no-dot-in-inc.patch b/no-dot-in-inc.patch
deleted file mode 100644
index 557ab00..0000000
--- a/no-dot-in-inc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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/c59ff65142696c1a37fa0511474f6d3308dbe9dc
More information about the pld-cvs-commit
mailing list