[virt-manager PATCH 3/4] inspection: consider also epoch for pkg version

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

 



When composing the string of the version of packages, prepend also the
epoch, as it is an important part of the package version.
---
 virtManager/details.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/virtManager/details.py b/virtManager/details.py
index 20a61f7..0503a44 100644
--- a/virtManager/details.py
+++ b/virtManager/details.py
@@ -2419,8 +2419,10 @@ class vmmDetails(vmmGObjectUI):
                 if app["app_display_name"]:
                     name = app["app_display_name"]
                 version = ""
+                if app["app_epoch"] > 0:
+                    version += str(app["app_epoch"]) + ":"
                 if app["app_version"]:
-                    version = app["app_version"]
+                    version += app["app_version"]
                 if app["app_release"]:
                     version += "-" + app["app_release"]
                 summary = ""
-- 
2.9.3

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux