From b22edb56d1f3454312fc366e2b17f4dd4977fbfc7000e5b2b7a3482f76c5db83 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Tue, 22 Nov 2022 12:01:18 +0000 Subject: [PATCH] use the right macro ... OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=327 --- libdrm.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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