print %_arch ...

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=329
This commit is contained in:
Stefan Dirsch 2022-11-22 12:08:33 +00:00 committed by Git OBS Bridge
parent 2306511b30
commit b2700d6b3d

View File

@ -262,6 +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"
%ifnarch arm
patch -p1 --no-backup-if-mismatch < %{SOURCE3}
%ifnarch s390x