[Libguestfs] [PATCH] Add version numbers to Perl modules (RHBZ#521674).
Matthew Booth
mbooth at redhat.com
Thu May 13 13:43:34 UTC 2010
On 12/05/10 15:04, Richard W.M. Jones wrote:
>>From 28dd97c07f5fad1c374b71a96ec63ff836792b01 Mon Sep 17 00:00:00 2001
> From: Richard Jones <rjones at redhat.com>
> Date: Wed, 12 May 2010 15:01:45 +0100
> Subject: [PATCH] Add version numbers to Perl modules (RHBZ#521674).
>
> Sys::Guestfs now contains a version number which reflects the
> ABI that we are compiled against, ie. '0.<MAX_PROC_NR>'. This has
> the beneficial side effect of causing an error if the user tries
> to mix versions of the Perl module and the XS code.
>
> Sys::Guestfs::Lib now contains a synthetic version number which
> will reflect future changes in that module.
> ---
> perl/Makefile.PL.in | 4 ++--
> perl/lib/Sys/Guestfs/Lib.pm | 9 ++++++++-
> src/generator.ml | 28 +++++++++++++++++-----------
> 3 files changed, 27 insertions(+), 14 deletions(-)
>
ACK.
Matt
--
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team
M: +44 (0)7977 267231
GPG ID: D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
More information about the Libguestfs
mailing list