!13 对valgrind的依赖进行定制化修改

From: @shirely16 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2022-03-01 08:01:57 +00:00 committed by Gitee
commit 76956592c7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -47,7 +47,7 @@ end}
Name: libdrm
Version: 2.4.109
Release: 1
Release: 2
License: MIT
Summary: library for direct rendering manager
@ -69,9 +69,11 @@ BuildRequires: %{_bindir}/xsltproc
BuildRequires: %{_bindir}/sed
BuildRequires: python3-docutils chrpath
%endif
%if %{?openEuler:1}0
%if %{with valgrind}
BuildRequires: valgrind-devel
%endif
%endif
%if %{with udev}
BuildRequires: pkgconfig(udev)
%endif
@ -113,7 +115,10 @@ Utility programs for the kernel DRM interface.
%{bcond_meson libkms} %{bcond_meson intel} %{bcond_meson radeon} %{bcond_meson amdgpu} \
%{bcond_meson nouveau} %{bcond_meson vmwgfx} %{bcond_meson omap} %{bcond_meson exynos} \
%{bcond_meson freedreno} %{bcond_meson tegra} %{bcond_meson vc4} %{bcond_meson etnaviv} \
%{bcond_meson cairo_tests} %{bcond_meson man_pages} %{bcond_meson valgrind} \
%{bcond_meson cairo_tests} %{bcond_meson man_pages} \
%if %{?openEuler:1}0
%{bcond_meson valgrind} \
%endif
%{bcond_meson freedreno_kgsl} %{bcond_meson install_test_programs} %{bcond_meson udev} \
%{nil}
%meson_build
@ -259,6 +264,9 @@ install -Dpm0644 -t %{buildroot}%{_udevrulesdir} %{S:2}
%endif
%changelog
* Tue Mar 1 2022 hanhui <hanhui15@h-partners.com> - 2.4.109-2
* customized valgrind
* Fri Dec 3 2021 xingxing <xingxing9@huawei.com> - 2.4.109-1
- update to 2.4.109