!16 修复libosinfo在meson-0.6上构建失败

From: @guo-zhaorui 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2022-06-21 03:31:44 +00:00 committed by Gitee
commit ac73c4bd68
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: libosinfo
Version: 1.10.0
Release: 1
Release: 2
Summary: A library for managing OS information for virtualization
License: LGPLv2+
URL: https://libosinfo.org/
@ -47,10 +47,10 @@ Language support for libosindo.
%build
%meson \
-Denble-gtk-doc=true \
-Denble-tests=true \
-Denble-introspection=enabled \
-Denble-vala=enabled
-Denable-gtk-doc=true \
-Denable-tests=true \
-Denable-introspection=enabled \
-Denable-vala=enabled
%meson_build
%install
@ -91,6 +91,9 @@ rm -rf %{buildroot}
%files lang -f %{name}.lang
%changelog
* Mon Jun 20 2022 guozhaorui <guozhaorui1@h-partners.com> - 1.10.0-2
- fix build fail on meson-0.6
* Thu May 26 2022 Chenxi Mao <chenxi.mao@suse.com> - 1.10.0-1
- upgrade version to 1.10.0