Name: perl-Sys-Virt Version: 4.7.0 Release: 3 Summary: Represent and manage a libvirt hypervisor connection License: GPLv2+ or Artistic URL: https://metacpan.org/release/Sys-Virt Source0: https://cpan.metacpan.org/authors/id/D/DA/DANBERR/Sys-Virt-v%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: coreutils findutils libvirt-devel >= %{version} make perl-interpreter BuildRequires: perl-devel perl-generators perl(ExtUtils::CBuilder) perl(Module::Build) sed BuildRequires: perl(overload) perl(strict) perl(warnings) perl(XSLoader) perl(base) perl(Sys::Hostname) BuildRequires: perl(Test::More) perl(Time::HiRes) perl(XML::XPath) perl(XML::XPath::XMLParser) perl(Test::CPAN::Changes) BuildRequires: perl(Test::Pod) >= 1.00 perl(Test::Pod::Coverage) >= 1.00 Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Patch0000: fix-check-pool.patch %description The Sys::Virt module Allows consistent API management mechanisms when running inside any virtualized container. %package help Summary: help for perl-Sys-Virt %description help The help package contains manual pages and other related files for perl-Sys-Virt %prep %autosetup -n Sys-Virt-v%{version} -p1 %build %{__perl} Build.PL installdirs=vendor ./Build %install ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %files %license LICENSE %{perl_vendorarch}/auto/* %{perl_vendorarch}/Sys* %files help %doc AUTHORS Changes README examples %{_mandir}/man3/* %changelog * Thu May 21 2020 wutao - 4.7.0-3 - fix check failed problem * Thu Nov 21 2019 wangye - 4.7.0-2 - Package init