From 11ff393806dfe8952257f5b435c5a56d13e5054a Mon Sep 17 00:00:00 2001 From: shirely16 Date: Tue, 1 Mar 2022 15:50:51 +0800 Subject: [PATCH] customized valgrind Signed-off-by: shirely16 (cherry picked from commit 166ac1cfcb24b7da0b598ba8ce23f4b261271430) --- libdrm.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libdrm.spec b/libdrm.spec index 15e7c69..6eb3ef8 100644 --- a/libdrm.spec +++ b/libdrm.spec @@ -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 - 2.4.109-2 +* customized valgrind + * Fri Dec 3 2021 xingxing - 2.4.109-1 - update to 2.4.109 -- Gitee