Hello community, here is the log from the commit of package perl-Sys-Virt for openSUSE:Factory checked in at 2018-07-06 10:43:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Sys-Virt (Old) and /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Sys-Virt" Fri Jul 6 10:43:24 2018 rev:61 rq:620922 version:4.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Sys-Virt/perl-Sys-Virt.changes 2018-03-09 10:43:44.860833626 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new/perl-Sys-Virt.changes 2018-07-06 10:43:28.695148870 +0200 @@ -1,0 +2,14 @@ +Thu Jun 7 16:30:21 UTC 2018 - [email protected] + +- Update to 4.4.0 + - Add all new APIs and constants in libvirt 4.4.0 +- spec: Modernize list of build deps to match required packages +- build: Switch to using Module::Build + +------------------------------------------------------------------- +Thu Apr 5 15:35:17 UTC 2018 - [email protected] + +- Update to 4.2.0 + - Add all new APIs and constants in libvirt 4.2.0 + +------------------------------------------------------------------- Old: ---- Sys-Virt-4.1.0.tar.gz New: ---- Sys-Virt-v4.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Sys-Virt.spec ++++++ --- /var/tmp/diff_new_pack.tv1vNu/_old 2018-07-06 10:43:29.147148332 +0200 +++ /var/tmp/diff_new_pack.tv1vNu/_new 2018-07-06 10:43:29.147148332 +0200 @@ -17,25 +17,37 @@ Name: perl-Sys-Virt -Version: 4.1.0 +Version: 4.4.0 Release: 0 %define cpan_name Sys-Virt Summary: Represent and manage a libvirt hypervisor connection License: GPL-2.0+ or ClArtistic Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Sys-Virt/ -Source: %{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/Sys-Virt +Source: %{cpan_name}-v%{version}.tar.gz Patch0: suse-set-migration-constraints.patch +# Build BuildRequires: libvirt-devel >= %{version} -%if 0%{?suse_version} < 1140 -BuildRequires: perl-macros -%endif -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(ExtUtils::CBuilder) +BuildRequires: perl(Module::Build) +# Runtime +BuildRequires: perl(XSLoader) +BuildRequires: perl(overload) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Tests only +BuildRequires: perl(Sys::Hostname) +BuildRequires: perl(Test::More) BuildRequires: perl(Time::HiRes) BuildRequires: perl(XML::XPath) BuildRequires: perl(XML::XPath::XMLParser) +BuildRequires: perl(base) +# Optional tests only +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) >= 1.00 +%if 0%{?suse_version} >= 1500 +BuildRequires: perl(Test::CPAN::Changes) +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} @@ -45,22 +57,18 @@ virtualization containers to be managed with a consistent API. %prep -%setup -q -n %{cpan_name}-%{version} +%setup -q -n %{cpan_name}-v%{version} %patch0 -p1 -sed -i -e '/Sys-Virt\.spec/d' Makefile.PL -sed -i -e '/\.spec\.PL$/d' MANIFEST -rm -f *.spec.PL - %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -%{__make} %{?_smp_mflags} +%{__perl} Build.PL installdirs=vendor +./Build %check -%{__make} test +./Build test %install -%perl_make_install +./Build install destdir=%{buildroot} create_packlist=0 %perl_process_packlist %perl_gen_filelist ++++++ suse-set-migration-constraints.patch ++++++ --- /var/tmp/diff_new_pack.tv1vNu/_old 2018-07-06 10:43:29.171148304 +0200 +++ /var/tmp/diff_new_pack.tv1vNu/_new 2018-07-06 10:43:29.171148304 +0200 @@ -2,11 +2,38 @@ References: fate#316614, bsc#859868 -Index: Sys-Virt-4.1.0/Virt.xs +Index: Sys-Virt-v4.4.0/lib/Sys/Virt/Domain.pm =================================================================== ---- Sys-Virt-4.1.0.orig/Virt.xs -+++ Sys-Virt-4.1.0/Virt.xs -@@ -5166,7 +5166,7 @@ _migrate(dom, destcon, newparams, flags= +--- Sys-Virt-v4.4.0.orig/lib/Sys/Virt/Domain.pm ++++ Sys-Virt-v4.4.0/lib/Sys/Virt/Domain.pm +@@ -1117,6 +1117,22 @@ The initial percentage to throttle guest + The additional percentage step size to throttle guest vCPUs if + progress is not made + ++=item C<Sys::Virt::Domain::MIGRATE_PARAM_SUSE_MAX_ITERS> ++ ++The the maximum number of iterations before final suspend ++ ++=item C<Sys::Virt::Domain::MIGRATE_PARAM_SUSE_MAX_FACTOR> ++ ++The maximum amount of memory to transfer before final suspend ++ ++=item C<Sys::Virt::Domain::MIGRATE_PARAM_SUSE_MIN_REMAINING> ++ ++The number of dirty pages before final suspend ++ ++=item C<Sys::Virt::Domain::MIGRATE_PARAM_SUSE_ABORT_IF_BUSY> ++ ++Abort the migration instead of doing the final suspend for VMs with busy workloads ++ + =back + + =item $ddom = $dom->migrate(destcon, flags=0, dname=undef, uri=undef, bandwidth=0) +Index: Sys-Virt-v4.4.0/lib/Sys/Virt.xs +=================================================================== +--- Sys-Virt-v4.4.0.orig/lib/Sys/Virt.xs ++++ Sys-Virt-v4.4.0/lib/Sys/Virt.xs +@@ -5246,7 +5246,7 @@ _migrate(dom, destcon, newparams, flags= virTypedParameterPtr params; int nparams; CODE: @@ -15,7 +42,7 @@ Newx(params, nparams, virTypedParameter); strncpy(params[0].field, VIR_MIGRATE_PARAM_URI, -@@ -5229,6 +5229,22 @@ _migrate(dom, destcon, newparams, flags= +@@ -5309,6 +5309,22 @@ _migrate(dom, destcon, newparams, flags= VIR_TYPED_PARAM_FIELD_LENGTH); params[14].type = VIR_TYPED_PARAM_INT; @@ -38,7 +65,7 @@ nparams = vir_typed_param_from_hv(newparams, params, nparams); vir_typed_param_add_string_list_from_hv(newparams, ¶ms, &nparams, -@@ -5257,7 +5273,7 @@ _migrate_to_uri(dom, desturi, newparams, +@@ -5337,7 +5353,7 @@ _migrate_to_uri(dom, desturi, newparams, virTypedParameterPtr params; int nparams; PPCODE: @@ -47,7 +74,7 @@ Newx(params, nparams, virTypedParameter); strncpy(params[0].field, VIR_MIGRATE_PARAM_URI, -@@ -5320,6 +5336,22 @@ _migrate_to_uri(dom, desturi, newparams, +@@ -5400,6 +5416,22 @@ _migrate_to_uri(dom, desturi, newparams, VIR_TYPED_PARAM_FIELD_LENGTH); params[14].type = VIR_TYPED_PARAM_INT; @@ -70,7 +97,7 @@ nparams = vir_typed_param_from_hv(newparams, params, nparams); vir_typed_param_add_string_list_from_hv(newparams, ¶ms, &nparams, -@@ -8524,6 +8556,10 @@ BOOT: +@@ -8614,6 +8646,10 @@ BOOT: REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_PERSIST_XML, MIGRATE_PARAM_PERSIST_XML); REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_AUTO_CONVERGE_INITIAL, MIGRATE_PARAM_AUTO_CONVERGE_INITIAL); REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT, MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT); @@ -81,30 +108,3 @@ REGISTER_CONSTANT(VIR_DOMAIN_XML_SECURE, XML_SECURE); REGISTER_CONSTANT(VIR_DOMAIN_XML_INACTIVE, XML_INACTIVE); -Index: Sys-Virt-4.1.0/lib/Sys/Virt/Domain.pm -=================================================================== ---- Sys-Virt-4.1.0.orig/lib/Sys/Virt/Domain.pm -+++ Sys-Virt-4.1.0/lib/Sys/Virt/Domain.pm -@@ -1111,6 +1111,22 @@ The initial percentage to throttle guest - The additional percentage step size to throttle guest vCPUs if - progress is not made - -+=item C<Sys::Virt::Domain::MIGRATE_PARAM_SUSE_MAX_ITERS> -+ -+The the maximum number of iterations before final suspend -+ -+=item C<Sys::Virt::Domain::MIGRATE_PARAM_SUSE_MAX_FACTOR> -+ -+The maximum amount of memory to transfer before final suspend -+ -+=item C<Sys::Virt::Domain::MIGRATE_PARAM_SUSE_MIN_REMAINING> -+ -+The number of dirty pages before final suspend -+ -+=item C<Sys::Virt::Domain::MIGRATE_PARAM_SUSE_ABORT_IF_BUSY> -+ -+Abort the migration instead of doing the final suspend for VMs with busy workloads -+ - =back - - =item $ddom = $dom->migrate(destcon, flags=0, dname=undef, uri=undef, bandwidth=0)
