diff --git a/libdrm.spec b/libdrm.spec index 43ce70a..bc25d4b 100644 --- a/libdrm.spec +++ b/libdrm.spec @@ -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