[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]