Miro Hrončok 2022-07-18 14:34:16 +02:00
parent b3e9b90ee3
commit 2ef528d399

View File

@ -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