Dominique Leuenberger 2022-11-24 11:22:31 +00:00 committed by Git OBS Bridge
commit 5484674c3d
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Nov 23 14:20:46 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Apply n_libdrm-drop-valgrind-dep-generic.patch and
n_libdrm-drop-valgrind-dep-intel.patch only when the build uses
meson < 0.64. With meson 0.64, we don't get the dependency on
valgraind added.
-------------------------------------------------------------------
Tue Nov 22 11:03:49 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -258,6 +258,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%install
%meson_install
%if %{pkg_vcmp meson < 0.64}
%if %{with valgrind_support}
# patch the generated pkgconfig files to not have a dependency on valgrind
# intentionally using a patch file to catch if we need to adjust
@ -271,6 +272,7 @@ patch -p1 --no-backup-if-mismatch < %{SOURCE4}
%endif
popd
%endif
%endif
%fdupes %{buildroot}/%{_prefix}
%post -n libdrm2 -p /sbin/ldconfig