rpms/perl-Sys-Virt/FC-5 Sys-Virt-doc.patch, NONE, 1.1 perl-Sys-Virt.spec, 1.2, 1.3 Sys-Virt-Domain-doc.patch, 1.1, NONE

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Sat Aug 19 23:26:57 UTC 2006


Author: steve

Update of /cvs/extras/rpms/perl-Sys-Virt/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19602

Modified Files:
	perl-Sys-Virt.spec 
Added Files:
	Sys-Virt-doc.patch 
Removed Files:
	Sys-Virt-Domain-doc.patch 
Log Message:
More documentation fixes.

Sys-Virt-doc.patch:

--- NEW FILE Sys-Virt-doc.patch ---
--- 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<readonly> 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<Xen>.
 
 =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
 


Index: perl-Sys-Virt.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Sys-Virt/FC-5/perl-Sys-Virt.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- perl-Sys-Virt.spec	18 Aug 2006 20:54:25 -0000	1.2
+++ perl-Sys-Virt.spec	19 Aug 2006 23:26:57 -0000	1.3
@@ -1,12 +1,12 @@
 Name:           perl-Sys-Virt
 Version:        0.1.1
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Represent and manage a libvirt hypervisor connection
 License:        GPL
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Sys-Virt/
 Source0:        http://www.cpan.org/authors/id/D/DA/DANBERR/Sys-Virt-%{version}.tar.gz
-Patch0:         Sys-Virt-Domain-doc.patch
+Patch0:         Sys-Virt-doc.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Pod::Coverage)
@@ -65,6 +65,9 @@
 %{_mandir}/man3/*
 
 %changelog
+* Sat Aug 19 2006 Steven Pritchard <steve at kspei.com> 0.1.1-6
+- More documentation fixes.
+
 * Fri Aug 18 2006 Steven Pritchard <steve at kspei.com> 0.1.1-5
 - Make this spec work on FC5 or FC6.
 - Add ExclusiveArch to match xen and libvirt.


--- Sys-Virt-Domain-doc.patch DELETED ---




More information about the fedora-extras-commits mailing list