From 9b6370c6cd45d7b8fc935cd51d31f7a20bd98836 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Apr 21 2023 22:12:00 +0000 Subject: Disable mingw in RHEL builds The mingw build is unwanted in RHEL and requires other unwanted dependencies. --- diff --git a/fltk.spec b/fltk.spec index a580f16..f4b9d2a 100644 --- a/fltk.spec +++ b/fltk.spec @@ -1,8 +1,12 @@ # trim changelog included in binary rpms %global _changelog_trimtime %(date +%s -d "1 year ago") -# MinGW is enabled by default, to disable use '--without mingw' +# MinGW is enabled by default (except for RHEL), to disable use '--without mingw' +%if 0%{?rhel} +%bcond_with mingw +%else %bcond_without mingw +%endif Name: fltk Version: 1.3.8