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

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



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


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