Hello community, here is the log from the commit of package perl-Sys-Virt for openSUSE:Factory checked in at 2020-03-19 19:49:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Sys-Virt (Old) and /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Sys-Virt" Thu Mar 19 19:49:30 2020 rev:75 rq:786272 version:6.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Sys-Virt/perl-Sys-Virt.changes 2020-02-06 13:09:03.440363309 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new.3160/perl-Sys-Virt.changes 2020-03-19 19:53:28.760275947 +0100 @@ -1,0 +2,6 @@ +Wed Mar 18 20:38:26 UTC 2020 - James Fehlig <jfeh...@suse.com> + +- Update to 6.1.0 + - Add all new APIs and constants in libvirt 6.1.0 + +------------------------------------------------------------------- Old: ---- Sys-Virt-v6.0.0.tar.gz New: ---- Sys-Virt-v6.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Sys-Virt.spec ++++++ --- /var/tmp/diff_new_pack.Rg06b6/_old 2020-03-19 19:53:30.488276008 +0100 +++ /var/tmp/diff_new_pack.Rg06b6/_new 2020-03-19 19:53:30.496276008 +0100 @@ -17,7 +17,7 @@ Name: perl-Sys-Virt -Version: 6.0.0 +Version: 6.1.0 Release: 0 %define cpan_name Sys-Virt Summary: Represent and manage a libvirt hypervisor connection ++++++ Sys-Virt-v6.0.0.tar.gz -> Sys-Virt-v6.1.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-v6.0.0/Build.PL new/Sys-Virt-v6.1.0/Build.PL --- old/Sys-Virt-v6.0.0/Build.PL 2020-01-16 11:43:59.000000000 +0100 +++ new/Sys-Virt-v6.1.0/Build.PL 2020-03-10 10:55:07.000000000 +0100 @@ -17,7 +17,7 @@ use strict; use warnings; -my $libvirtver = "6.0.0"; +my $libvirtver = "6.1.0"; my $stat = system "pkg-config --atleast-version=$libvirtver libvirt"; die "cannot run pkg-config to check libvirt version" if $stat == -1; die "libvirt >= $libvirtver is required\n" unless $stat == 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-v6.0.0/Changes new/Sys-Virt-v6.1.0/Changes --- old/Sys-Virt-v6.0.0/Changes 2020-01-16 11:43:59.000000000 +0100 +++ new/Sys-Virt-v6.1.0/Changes 2020-03-10 10:55:07.000000000 +0100 @@ -1,5 +1,11 @@ Revision history for perl module Sys::Virt +6.1.0 2020-03-09 + + - Add VIR_ERR_NO_HOSTNAME constant + - Add VIR_DOMAIN_GET_HOSTNAME_* constants + - Add VIR_DOMAIN_EVENT_CRASHED_CRASHLOADED constant + 6.0.0 2020-01-16 - Add VIR_DOMAIN_JOB_SUCCESS and VIR_DOMAIN_JOB_STATS_KEEP_COMPLETED diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-v6.0.0/META.json new/Sys-Virt-v6.1.0/META.json --- old/Sys-Virt-v6.0.0/META.json 2020-01-16 11:43:59.000000000 +0100 +++ new/Sys-Virt-v6.1.0/META.json 2020-03-10 10:55:07.000000000 +0100 @@ -41,7 +41,7 @@ "provides" : { "Sys::Virt" : { "file" : "lib/Sys/Virt.pm", - "version" : "v6.0.0" + "version" : "v6.1.0" }, "Sys::Virt::Domain" : { "file" : "lib/Sys/Virt/Domain.pm" @@ -100,6 +100,6 @@ }, "x_MailingList" : "http://www.redhat.com/mailman/listinfo/libvir-list" }, - "version" : "v6.0.0", + "version" : "v6.1.0", "x_serialization_backend" : "JSON::PP version 4.04" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-v6.0.0/META.yml new/Sys-Virt-v6.1.0/META.yml --- old/Sys-Virt-v6.0.0/META.yml 2020-01-16 11:43:59.000000000 +0100 +++ new/Sys-Virt-v6.1.0/META.yml 2020-03-10 10:55:07.000000000 +0100 @@ -24,7 +24,7 @@ provides: Sys::Virt: file: lib/Sys/Virt.pm - version: v6.0.0 + version: v6.1.0 Sys::Virt::Domain: file: lib/Sys/Virt/Domain.pm Sys::Virt::DomainCheckpoint: @@ -62,5 +62,5 @@ homepage: http://libvirt.org/ license: http://www.gnu.org/licenses/gpl.html repository: https://libvirt.org/git/?p=libvirt-perl.git;a=summary -version: v6.0.0 +version: v6.1.0 x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-v6.0.0/README new/Sys-Virt-v6.1.0/README --- old/Sys-Virt-v6.0.0/README 2020-01-16 11:43:59.000000000 +0100 +++ new/Sys-Virt-v6.1.0/README 2020-03-10 10:55:07.000000000 +0100 @@ -8,6 +8,6 @@ Module::Build buld system. For installation instructions, consult the INSTALL file. -The current minimum required version of libvirt is 6.0.0 +The current minimum required version of libvirt is 6.1.0 -- End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-v6.0.0/lib/Sys/Virt/Domain.pm new/Sys-Virt-v6.1.0/lib/Sys/Virt/Domain.pm --- old/Sys-Virt-v6.0.0/lib/Sys/Virt/Domain.pm 2020-01-16 11:43:59.000000000 +0100 +++ new/Sys-Virt-v6.1.0/lib/Sys/Virt/Domain.pm 2020-03-10 10:55:07.000000000 +0100 @@ -100,9 +100,22 @@ Returns a string with a locally unique name of the domain -=item my $hostname = $dom->get_hostname() +=item my $hostname = $dom->get_hostname($flags=0) -Returns a string representing the hostname of the guest +Returns a string representing the hostname of the guest. C<$flags> +can be zero or more of + +=over 4 + +=item Sys::Virt::Domain::GET_HOSTNAME_AGENT + +Report the guest agent hostname + +=item Sys::Virt::Domain::GET_HOSTNAME_LEASE + +Report the DHCP lease hostname + +=back =item my $str = $dom->get_metadata($type, $uri, $flags =0) @@ -3482,6 +3495,10 @@ The domain has crashed due to a kernel panic +=item Sys::Virt::Domain::EVENT_CRASHED_CRASHLOADED + +The domain has crashed and reloaded itself + =back =back diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-v6.0.0/lib/Sys/Virt/Error.pm new/Sys-Virt-v6.1.0/lib/Sys/Virt/Error.pm --- old/Sys-Virt-v6.0.0/lib/Sys/Virt/Error.pm 2020-01-16 11:43:59.000000000 +0100 +++ new/Sys-Virt-v6.1.0/lib/Sys/Virt/Error.pm 2020-03-10 10:55:07.000000000 +0100 @@ -864,6 +864,10 @@ Network port already exists +=item Sys::Virt::Error::ERR_NO_HOSTNAME + +No domain hostname found + =back =head1 AUTHORS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-v6.0.0/lib/Sys/Virt.pm new/Sys-Virt-v6.1.0/lib/Sys/Virt.pm --- old/Sys-Virt-v6.0.0/lib/Sys/Virt.pm 2020-01-16 11:43:59.000000000 +0100 +++ new/Sys-Virt-v6.1.0/lib/Sys/Virt.pm 2020-03-10 10:55:07.000000000 +0100 @@ -81,7 +81,7 @@ use Sys::Virt::DomainCheckpoint; use Sys::Virt::Stream; -our $VERSION = '6.0.0'; +our $VERSION = '6.1.0'; require XSLoader; XSLoader::load('Sys::Virt', $VERSION); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-v6.0.0/lib/Sys/Virt.xs new/Sys-Virt-v6.1.0/lib/Sys/Virt.xs --- old/Sys-Virt-v6.0.0/lib/Sys/Virt.xs 2020-01-16 11:43:59.000000000 +0100 +++ new/Sys-Virt-v6.1.0/lib/Sys/Virt.xs 2020-03-10 10:55:07.000000000 +0100 @@ -9373,6 +9373,7 @@ REGISTER_CONSTANT(VIR_DOMAIN_EVENT_STARTED_WAKEUP, EVENT_STARTED_WAKEUP); REGISTER_CONSTANT(VIR_DOMAIN_EVENT_CRASHED_PANICKED, EVENT_CRASHED_PANICKED); + REGISTER_CONSTANT(VIR_DOMAIN_EVENT_CRASHED_CRASHLOADED, EVENT_CRASHED_CRASHLOADED); REGISTER_CONSTANT(VIR_DOMAIN_EVENT_SUSPENDED_PAUSED, EVENT_SUSPENDED_PAUSED); REGISTER_CONSTANT(VIR_DOMAIN_EVENT_SUSPENDED_MIGRATED, EVENT_SUSPENDED_MIGRATED); @@ -9902,6 +9903,10 @@ REGISTER_CONSTANT(VIR_DOMAIN_BACKUP_BEGIN_REUSE_EXTERNAL, BACKUP_BEGIN_REUSE_EXTERNAL); + REGISTER_CONSTANT(VIR_DOMAIN_GET_HOSTNAME_AGENT, GET_HOSTNAME_AGENT); + REGISTER_CONSTANT(VIR_DOMAIN_GET_HOSTNAME_LEASE, GET_HOSTNAME_LEASE); + + stash = gv_stashpv( "Sys::Virt::DomainSnapshot", TRUE ); REGISTER_CONSTANT(VIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN, DELETE_CHILDREN); REGISTER_CONSTANT(VIR_DOMAIN_SNAPSHOT_DELETE_METADATA_ONLY, DELETE_METADATA_ONLY); @@ -10358,4 +10363,5 @@ REGISTER_CONSTANT(VIR_ERR_NO_NETWORK_PORT, ERR_NO_NETWORK_PORT); REGISTER_CONSTANT(VIR_ERR_INVALID_NETWORK_PORT, ERR_INVALID_NETWORK_PORT); REGISTER_CONSTANT(VIR_ERR_NETWORK_PORT_EXIST, ERR_NETWORK_PORT_EXIST); + REGISTER_CONSTANT(VIR_ERR_NO_HOSTNAME, ERR_NO_HOSTNAME); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-v6.0.0/perl-Sys-Virt.spec new/Sys-Virt-v6.1.0/perl-Sys-Virt.spec --- old/Sys-Virt-v6.0.0/perl-Sys-Virt.spec 2020-01-16 11:43:59.000000000 +0100 +++ new/Sys-Virt-v6.1.0/perl-Sys-Virt.spec 2020-03-10 10:55:07.000000000 +0100 @@ -1,7 +1,7 @@ # Automatically generated by perl-Sys-Virt.spec.PL Name: perl-Sys-Virt -Version: 6.0.0 +Version: 6.1.0 Release: 1%{?dist} Summary: Represent and manage a libvirt hypervisor connection License: GPLv2+ or Artistic ++++++ suse-set-migration-constraints.patch ++++++ --- /var/tmp/diff_new_pack.Rg06b6/_old 2020-03-19 19:53:30.700276016 +0100 +++ /var/tmp/diff_new_pack.Rg06b6/_new 2020-03-19 19:53:30.704276015 +0100 @@ -2,11 +2,11 @@ References: fate#316614, bsc#859868 -Index: Sys-Virt-v6.0.0/lib/Sys/Virt/Domain.pm +Index: Sys-Virt-v6.1.0/lib/Sys/Virt/Domain.pm =================================================================== ---- Sys-Virt-v6.0.0.orig/lib/Sys/Virt/Domain.pm -+++ Sys-Virt-v6.0.0/lib/Sys/Virt/Domain.pm -@@ -1150,6 +1150,22 @@ certificate does not match the destinati +--- Sys-Virt-v6.1.0.orig/lib/Sys/Virt/Domain.pm ++++ Sys-Virt-v6.1.0/lib/Sys/Virt/Domain.pm +@@ -1163,6 +1163,22 @@ certificate does not match the destinati expected cetificate's hostname is known, this parameter can be used to pass this expected hostname when starting the migration. @@ -29,10 +29,10 @@ =back =item $ddom = $dom->migrate(destcon, flags=0, dname=undef, uri=undef, bandwidth=0) -Index: Sys-Virt-v6.0.0/lib/Sys/Virt.xs +Index: Sys-Virt-v6.1.0/lib/Sys/Virt.xs =================================================================== ---- Sys-Virt-v6.0.0.orig/lib/Sys/Virt.xs -+++ Sys-Virt-v6.0.0/lib/Sys/Virt.xs +--- Sys-Virt-v6.1.0.orig/lib/Sys/Virt.xs ++++ Sys-Virt-v6.1.0/lib/Sys/Virt.xs @@ -5413,7 +5413,7 @@ _migrate(dom, destcon, newparams, flags= virTypedParameterPtr params; int nparams;