[Libosinfo] [osinfo-db PATCH v2 22/25] rhel-8: Adjust version regex for x86_64 treeinfo

Fabiano Fidêncio fidencio at redhat.com
Tue Mar 12 10:20:44 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..28bdde0 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