check for armv7l; not %{arm} !

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=325
This commit is contained in:
2022-11-22 11:16:39 +00:00
committed by Git OBS Bridge
parent 1544a5fde8
commit 7ba0a4aaa6

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
%ifnarch %{arm}
%ifnarch armv7l
patch -p1 --no-backup-if-mismatch < %{SOURCE3}
%ifnarch s390x
patch -p1 --no-backup-if-mismatch < %{SOURCE4}