[Libosinfo] [PATCH osinfo-db 4/4] centos7: Fix treeinfo version
Cole Robinson
crobinso at redhat.com
Fri Mar 1 23:43:11 UTC 2019
On 3/1/19 3:54 PM, Cole Robinson wrote:
> The version field in all centos7 treeinfos I could find is 7, not 7.0
>
> Signed-off-by: Cole Robinson <crobinso at redhat.com>
> ---
> data/os/centos.org/centos-7.0.xml.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/data/os/centos.org/centos-7.0.xml.in b/data/os/centos.org/centos-7.0.xml.in
> index 7532fca..8b874ee 100644
> --- a/data/os/centos.org/centos-7.0.xml.in
> +++ b/data/os/centos.org/centos-7.0.xml.in
> @@ -56,7 +56,7 @@
> <url>http://mirror.centos.org/centos-7/7/os/x86_64/</url>
> <treeinfo>
> <family>CentOS</family>
> - <version>7.0</version>
> + <version>7</version>
> <arch>x86_64</arch>
> </treeinfo>
> </tree>
>
This should be ^7 so it doesn't match 6.7 or 5.7 (which the patches I
just sent will add coverage for)
- Cole
More information about the Libosinfo
mailing list