From 4301e014ffc0a31bbdf0d7da19eb6f3b9b3179ab Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sun, 23 Apr 2023 21:53:58 +0000 Subject: [PATCH] Disable mingw by default in RHEL builds This package is part of RHEL but the mingw builds are unwanted there. --- openjpeg2.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpeg2.spec b/openjpeg2.spec index 4a0a6e5..dbb3326 100644 --- a/openjpeg2.spec +++ b/openjpeg2.spec @@ -6,7 +6,7 @@ # https://bugzilla.redhat.com/show_bug.cgi?id=1751749 %global _target_platform %{_vendor}-%{_target_os} -%if 0%{?flatpak} +%if 0%{?flatpak} || 0%{?rhel} %bcond_with mingw %else %bcond_without mingw