Prepare spec file to be compatible with RHEL

We are creating minimal build which would be compatible with
RHEL without new dependencies that would need adding to RHEL repos.

Changes applicable to non-fedora distros:
Disable mingw - mingw shouldn't be in RHEL
This commit is contained in:
Ales Nezbeda 2025-03-06 14:26:36 +01:00
commit 21830b06bf

View file

@ -1,13 +1,10 @@
# mingw is x86_64 only on EL9
%if 0%{?rhel} >= 9
%ifarch x86_64
# When distributed in RHEL, EPEL shouldn't be used. Mingw shouldn't be in RHEL,
# so it shouldn't be used anywhere, but in fedora.
%if 0%{?fedora}
%bcond_without mingw
%else
%bcond_with mingw
%endif
%else
%bcond_without mingw
%endif
Name: geos
Version: 3.13.1