From 69e20cb40c82522fd188d2ced844e0d2354f3c48 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Mar 06 2008 21:49:05 +0000 Subject: Fix changelog comment and actually drop Sys-Virt-doc.patch. --- diff --git a/Sys-Virt-doc.patch b/Sys-Virt-doc.patch deleted file mode 100644 index 2278147..0000000 --- a/Sys-Virt-doc.patch +++ /dev/null @@ -1,142 +0,0 @@ ---- Sys-Virt-0.1.1/lib/Sys/Virt.pm.orig 2006-06-22 18:08:42.000000000 -0500 -+++ Sys-Virt-0.1.1/lib/Sys/Virt.pm 2006-08-19 18:07:08.000000000 -0500 -@@ -55,7 +55,7 @@ - specify explicit addresses for other types of hypervisor connection. - If the optional C parameter is supplied, then an unprivileged - connection to the VMM will be attempted. If it is not supplied, then it --defaults to making a fully privileged connection to the VMM. THis in turn -+defaults to making a fully privileged connection to the VMM. This in turn - requires that the calling application be running as root. - - =cut -@@ -202,7 +202,7 @@ - - =item my $type = $vmm->get_type() - --Return the type of virtualization backend accessed by this VMM object. Curently -+Return the type of virtualization backend accessed by this VMM object. Currently - the only supported type is C. - - =cut -@@ -217,7 +217,7 @@ - - =item my $ver = $vmm->get_major_version - --Return the major version number of the libvirt library -+Return the major version number of the libvirt library. - - =cut - -@@ -230,7 +230,7 @@ - - =item my $ver = $vmm->get_minor_version - --Return the minor version number of the libvirt library -+Return the minor version number of the libvirt library. - - =cut - -@@ -243,7 +243,7 @@ - - =item my $ver = $vmm->get_micro_version - --Return the micro version number of the libvirt library -+Return the micro version number of the libvirt library. - - =cut - -@@ -259,7 +259,7 @@ - =item my $info = $con->get_node_info() - - Returns a hash reference summarising the capabilities of the host --node. The elements of the hash ar -+node. The elements of the hash are as follows: - - =over 4 - -@@ -302,7 +302,7 @@ - =head1 BUGS - - Hopefully none, but the XS code needs to be audited to ensure it --is not leaking memory -+is not leaking memory. - - =head1 AUTHORS - -@@ -312,7 +312,7 @@ - - Copyright (C) 2006 Red Hat - --Sys::Virt is distributed under the terms of the GPLv2 or later -+Sys::Virt is distributed under the terms of the GPLv2 or later. - - =head1 SEE ALSO - ---- Sys-Virt-0.1.1/lib/Sys/Virt/Domain.pm.orig 2006-06-22 18:06:14.000000000 -0500 -+++ Sys-Virt-0.1.1/lib/Sys/Virt/Domain.pm 2006-08-19 17:52:27.000000000 -0500 -@@ -124,7 +124,7 @@ - =item my $info = $dom->get_info() - - Returns a hash reference summarising the execution state of the --domain. The elements of the hash ar -+domain. The elements of the hash are as follows: - - =over 4 - -@@ -136,7 +136,11 @@ - - The current memory allocated to the domain in kilobytes - --=item nrVirtCpus -+=item cpuTime -+ -+The amount of CPU time used by the domain -+ -+=item nrVirtCpu - - The current number of virtual CPUs enabled in the domain - -@@ -150,7 +154,7 @@ - =item $dom->set_max_memory($mem) - - Set the maximum memory for the domain to the value C<$mem>. The --value of the C<$mem> parameter is specified in kilobytes -+value of the C<$mem> parameter is specified in kilobytes. - - =item $mem = $dom->get_max_memory() - -@@ -165,12 +169,12 @@ - - =item $dom->shutdown() - --Request that the guest OS perform a gracefull shutdown and -+Request that the guest OS perform a graceful shutdown and - poweroff. - - =item $dom->reboot($flags) - --Request that the guest OS perform a gracefull shutdown and -+Request that the guest OS perform a graceful shutdown and - optionally restart. The C<$flags> parameter determines how - the domain restarts (if at all). It should be one of the - constants &Sys::Virt::Domain::REBOOT_* listed later in this ---- Sys-Virt-0.1.1/lib/Sys/Virt/Error.pm.orig 2006-06-22 18:06:14.000000000 -0500 -+++ Sys-Virt-0.1.1/lib/Sys/Virt/Error.pm 2006-08-19 18:11:46.000000000 -0500 -@@ -37,7 +37,7 @@ - - =item my $code = $err->code - --Return the raw error code represented by this error -+Return the raw error code represented by this error. - - =cut - -@@ -70,7 +70,7 @@ - - Copyright (C) 2006 Red Hat - --Sys::Virt is distributed under the terms of the GPLv2 or later -+Sys::Virt is distributed under the terms of the GPLv2 or later. - - =head1 SEE ALSO - diff --git a/perl-Sys-Virt.spec b/perl-Sys-Virt.spec index f293bc9..841c210 100644 --- a/perl-Sys-Virt.spec +++ b/perl-Sys-Virt.spec @@ -61,7 +61,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Wed Mar 05 2008 Steven Pritchard 0.1.2-1 - Update to 0.1.2. -- Drop Sys-Virt-Domain-doc.patch. +- Drop Sys-Virt-doc.patch. - BR XML::XPath. - No longer need to BR pkgconfig or xen-devel. - Disable 100-connect test.