update perl-Sys-Virt.spec.
This commit is contained in:
parent
8b18afeeff
commit
9eb4575fd6
@ -1,103 +1,52 @@
|
|||||||
Name: perl-Sys-Virt
|
Name: perl-Sys-Virt
|
||||||
|
|
||||||
Version: 4.7.0
|
Version: 4.7.0
|
||||||
|
|
||||||
Release: 2
|
Release: 2
|
||||||
|
|
||||||
Summary: Represent and manage a libvirt hypervisor connection
|
Summary: Represent and manage a libvirt hypervisor connection
|
||||||
|
|
||||||
License: GPLv2+ or Artistic
|
License: GPLv2+ or Artistic
|
||||||
|
|
||||||
URL: https://metacpan.org/release/Sys-Virt
|
URL: https://metacpan.org/release/Sys-Virt
|
||||||
|
|
||||||
Source0: https://cpan.metacpan.org/authors/id/D/DA/DANBERR/Sys-Virt-v%{version}.tar.gz
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: coreutils findutils libvirt-devel >= %{version} make perl-interpreter
|
BuildRequires: coreutils findutils libvirt-devel >= %{version} make perl-interpreter
|
||||||
|
|
||||||
BuildRequires: perl-devel perl-generators perl(ExtUtils::CBuilder) perl(Module::Build) sed
|
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(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::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
|
BuildRequires: perl(Test::Pod) >= 1.00 perl(Test::Pod::Coverage) >= 1.00
|
||||||
|
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
The Sys::Virt module Allows consistent API management mechanisms
|
The Sys::Virt module Allows consistent API management mechanisms
|
||||||
|
|
||||||
when running inside any virtualized container.
|
when running inside any virtualized container.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
|
|
||||||
Summary: help for perl-Sys-Virt
|
Summary: help for perl-Sys-Virt
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%description help
|
%description help
|
||||||
|
|
||||||
The help package contains manual pages and other related files for perl-Sys-Virt
|
The help package contains manual pages and other related files for perl-Sys-Virt
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%autosetup Sys-Virt-v%{version} -p1
|
%autosetup Sys-Virt-v%{version} -p1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%{__perl} Build.PL installdirs=vendor
|
%{__perl} Build.PL installdirs=vendor
|
||||||
|
|
||||||
./Build
|
./Build
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%{perl_vendorarch}/auto/*
|
%{perl_vendorarch}/auto/*
|
||||||
|
|
||||||
%{perl_vendorarch}/Sys*
|
%{perl_vendorarch}/Sys*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
|
|
||||||
%doc AUTHORS Changes README examples
|
%doc AUTHORS Changes README examples
|
||||||
|
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
* Thu Nov 21 2019 wangye<wangye54@huawei.com> - 4.7.0-2
|
* Thu Nov 21 2019 wangye<wangye54@huawei.com> - 4.7.0-2
|
||||||
|
- Package init
|
||||||
- Package init
|
|
||||||
Loading…
x
Reference in New Issue
Block a user