Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
646b2f7e1d
!9 Remove fedora macro
From: @wk333 
Reviewed-by: @yezengruan 
Signed-off-by: @yezengruan
2023-10-16 07:16:41 +00:00
wk333
0e7411bd03 Remove fedora macro 2023-10-16 14:33:36 +08:00
openeuler-ci-bot
c563e2a63a !5 fix wrong release number
Merge pull request !5 from zhanghailiang/openEuler-20.03-LTS
2020-05-21 11:52:59 +08:00
zhanghailiang
080cce31fe spec: fix wrong release number
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
2020-05-21 09:41:42 +08:00
openeuler-ci-bot
764b9d27ae !4 Increase release number
Merge pull request !4 from zhanghailiang/openEuler-20.03-LTS
2020-05-21 09:27:45 +08:00
zhanghailiang
5d3175eedc Sys-Virt: upgrade package to 6.1.0
Since libvirt has been upgrade, we need to upgrade this package too,
since it provide external interface for libvirt.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
2020-05-20 08:47:19 +08:00
openeuler-ci-bot
c5c67332d8 !2 add perl-Sys-Virt
Merge pull request !2 from yeah_wang/apple
2019-12-09 17:35:27 +08:00
yeah_wang
2dc38a0a49 add perl-Sys-Virt 2019-12-09 17:29:28 +08:00
openeuler-ci-bot
f93fe759e3 !1 add perl-Sys-Virt
Merge pull request !1 from yeah_wang/apple
2019-12-09 15:24:01 +08:00
yeah_wang
9eb4575fd6 update perl-Sys-Virt.spec. 2019-12-09 14:57:01 +08:00
3 changed files with 42 additions and 68 deletions

Binary file not shown.

BIN
Sys-Virt-v6.1.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,103 +1,77 @@
# Automatically generated by perl-Sys-Virt.spec.PL
Name: perl-Sys-Virt
Version: 4.7.0
Version: 6.1.0
Release: 2
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
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: libvirt-devel >= %{version}
BuildRequires: make
BuildRequires: perl-devel
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(Module::Build)
BuildRequires: sed
# Runtime
BuildRequires: perl(overload)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: perl(XSLoader)
# Tests only
BuildRequires: perl(base)
BuildRequires: perl(Sys::Hostname)
BuildRequires: perl(Test::More)
BuildRequires: perl(Time::HiRes)
BuildRequires: perl(XML::XPath)
BuildRequires: perl(XML::XPath::XMLParser)
# Optional tests only
BuildRequires: perl(Test::CPAN::Changes)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
BuildRequires: git
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%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
The Sys::Virt module provides a Perl XS binding to the libvirt virtual
machine management APIs. This allows machines running within arbitrary
virtualization containers to be managed with a consistent API.
%prep
%autosetup Sys-Virt-v%{version} -p1
%autosetup -S git -n Sys-Virt-v%{version}
%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
%doc AUTHORS Changes README examples/
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Sys*
%files help
%doc AUTHORS Changes README examples
%{_mandir}/man3/*
%changelog
* Mon Oct 16 2023 wangkai <13474090681@163.com> - 6.1.0-2
- Remove fedora macro
* Tue May 19 2020 zhanghailiang<zhang.zhanghailiang@huawei.com> - 6.1.0-1
- Package upgrade
* Thu Nov 21 2019 wangye<wangye54@huawei.com> - 4.7.0-2
- Package init