use the right macro ...

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=327
This commit is contained in:
Stefan Dirsch 2022-11-22 12:01:18 +00:00 committed by Git OBS Bridge
parent a16ad45415
commit b22edb56d1

View File

@ -262,7 +262,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
# patch the generated pkgconfig files to not have a dependency on valgrind
# intentionally using a patch file to catch if we need to adjust
pushd %{buildroot}%{_libdir}/pkgconfig
echo "arch: %arch"
echo "arch: %_arch"
%ifnarch armv7l
patch -p1 --no-backup-if-mismatch < %{SOURCE3}
%ifnarch s390x