robert pushed to mksh (el5). "RHBZ #922974 affects Fedora >= 19 and RHEL >= 7"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun Apr 19 22:53:49 UTC 2015


>From e69cd6406b7748185a854e01a35fa3f17013165a Mon Sep 17 00:00:00 2001
From: Robert Scheck <robert at fedoraproject.org>
Date: Thu, 19 Mar 2015 23:59:38 +0100
Subject: RHBZ #922974 affects Fedora >= 19 and RHEL >= 7


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
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/mksh.git/commit/?h=el5&id=e69cd6406b7748185a854e01a35fa3f17013165a


More information about the scm-commits mailing list