diff --git a/slic3r.spec b/slic3r.spec index 1593235..7616468 100644 --- a/slic3r.spec +++ b/slic3r.spec @@ -78,12 +78,23 @@ BuildRequires: perl(Wx) %if %{use_system_admesh} BuildRequires: admesh-devel >= 0.98.1 Requires: admesh-libs >= 0.98.1 + +%if 0%{?fedora} >= 37 || 0%{?rhel} >= 10 +# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval +ExcludeArch: %{ix86} +%endif %else Provides: bundled(admesh) = 0.98 + # Bundled admesh FTBFS with: # error "admesh works correctly on little endian machines only!" +%if 0%{?fedora} >= 37 || 0%{?rhel} >= 10 +# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval +ExcludeArch: ppc ppc64 s390 s390x %{ix86} +%else ExcludeArch: ppc ppc64 s390 s390x %endif +%endif %if %{use_system_expat} BuildRequires: expat-devel >= 2.2.0