From cf24c2d5b4895d45035250098dbb7694c84c20fec87181bac1413f433955e4c7 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Tue, 24 Oct 2023 07:32:01 +0000 Subject: [PATCH] - Use ExcludeArch instead of ExclusiveArch: do_not_build construct. OBS-URL: https://build.opensuse.org/package/show/science/mumps?expand=0&rev=68 --- mumps.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mumps.spec b/mumps.spec index d26b305..99783a1 100644 --- a/mumps.spec +++ b/mumps.spec @@ -313,9 +313,7 @@ ExclusiveArch: do_not_build %define package_name %{pname}%{?scotch:-%{scotch}}%{?my_suffix} %define libname lib%{pname}%{?scotch:-%{scotch}}%{?so_ver}%{?my_suffix} %else -%ifarch %ix86 -ExclusiveArch: do_not_build -%endif +ExcludeArch: %ix86 %{!?compiler_family:%global compiler_family gnu} %{?with_mpi:%{!?mpi_family:error "No MPI family specified!"}}