[libguestfs] Change version extra string again.

Richard W.M. Jones rjones at fedoraproject.org
Fri Sep 2 09:20:43 UTC 2011


commit 8a0d18d961d66d2719134db22085928cbaab28b4
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Sep 2 10:19:01 2011 +0100

    Change version extra string again.
    
    Version numbers will now be displayed like this:
    
    $ guestfish --version
    guestfish 1.13.11fedora=17,release=1.fc17
    
    or in long form:
    
    $ guestfish version
    major: 1
    minor: 13
    release: 11
    extra: fedora=17,release=1.fc17

 libguestfs.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libguestfs.spec b/libguestfs.spec
index f7640e2..6f694a5 100644
--- a/libguestfs.spec
+++ b/libguestfs.spec
@@ -547,7 +547,7 @@ cat yum.conf
   --prefix=%{_prefix} --libdir=%{_libdir} \
   --mandir=%{_mandir} \
   --sysconfdir=%{_sysconfdir} \
-  --with-extra="-%{release}" \
+  --with-extra="fedora=%{fedora},release=%{release}" \
   --with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \
   --enable-install-daemon \
 %if %{with_virtio}


More information about the scm-commits mailing list