[Libosinfo] [osinfo-db PATCH 20/23] rhel-8: Adjust version regex for x86_64 treeinfo

Fabiano Fidêncio fidencio at redhat.com
Tue Feb 26 16:06:07 UTC 2019


Let's make it match *only* with 8.0, avoiding it to match with 8.0.0
(for instance).

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 data/os/redhat.com/rhel-8.0.xml.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/os/redhat.com/rhel-8.0.xml.in b/data/os/redhat.com/rhel-8.0.xml.in
index 119c146..16a4dd8 100644
--- a/data/os/redhat.com/rhel-8.0.xml.in
+++ b/data/os/redhat.com/rhel-8.0.xml.in
@@ -71,7 +71,7 @@
     <tree arch="x86_64">
       <treeinfo>
         <family>Red Hat Enterprise Linux</family>
-        <version>8.0</version>
+        <version>8.0$</version>
         <arch>x86_64</arch>
       </treeinfo>
     </tree>
-- 
2.20.1




More information about the Libosinfo mailing list