[mksh] RHBZ #922974 affects Fedora >= 19 and RHEL >= 7

Robert Scheck robert at fedoraproject.org
Thu Mar 19 23:00:08 UTC 2015


commit e69cd6406b7748185a854e01a35fa3f17013165a
Author: Robert Scheck <robert at fedoraproject.org>
Date:   Thu Mar 19 23:59:38 2015 +0100

    RHBZ #922974 affects Fedora >= 19 and RHEL >= 7

 mksh.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mksh.spec b/mksh.spec
index 4fa3943..d5dd0ac 100644
--- a/mksh.spec
+++ b/mksh.spec
@@ -64,14 +64,14 @@ EOF
 
 %build
 # Work around RHBZ #922974 on Fedora 19 and later
-%if 0%{?fedora} >= 19
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
 CFLAGS="$RPM_OPT_FLAGS -DMKSH_DISABLE_EXPERIMENTAL" sh Build.sh -r
 %else
 CFLAGS="$RPM_OPT_FLAGS -DMKSH_DISABLE_EXPERIMENTAL" sh Build.sh -r -c lto
 %endif
 cp test.sh test_mksh.sh
 # Work around RHBZ #922974 on Fedora 19 and later
-%if 0%{?fedora} >= 19
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
 CFLAGS="$RPM_OPT_FLAGS -DMKSH_DISABLE_EXPERIMENTAL" sh Build.sh -L -r
 %else
 CFLAGS="$RPM_OPT_FLAGS -DMKSH_DISABLE_EXPERIMENTAL" sh Build.sh -L -r -c lto


More information about the scm-commits mailing list