[virt-tools-list] [PATCH v6 5/5] update spec file to use its version at runtime

Gene Czarcinski gene at czarc.net
Sat Apr 13 21:42:41 UTC 2013


This is a "sanity" patch so that the version on the rpm
and the version at runtime are the same.

This patch depends on the patch which processes the spec.in
file into the spec file, the patch which adds pkgversion to
configure, and the snapshot patch.
.
Signed-off-by: Gene Czarcinski <gene at czarc.net>
---
 virt-manager.spec.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/virt-manager.spec.in b/virt-manager.spec.in
index c4cb779..793fc6a 100644
--- a/virt-manager.spec.in
+++ b/virt-manager.spec.in
@@ -221,6 +221,7 @@ An interactive text user interface for Virtual Machine Manager.
 
 
 python setup.py configure \
+    --pkgversion="%{version}" \
     %{?_tui_opt} \
     %{?_qemu_user} \
     %{?_kvm_packages} \
-- 
1.8.1.4




More information about the virt-tools-list mailing list