From 5caca1ad238505115313184404261e215357f672 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Tue, 18 Aug 2020 15:12:05 +0000 Subject: [PATCH] Remove all un-needed %if Remove all %if's that deal with old fedora releases. --- ghc.spec | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ghc.spec b/ghc.spec index 77b95e2..5ac2057 100644 --- a/ghc.spec +++ b/ghc.spec @@ -185,11 +185,7 @@ Requires: ghc-base-devel%{?_isa} = %{base_ver}-%{release} Obsoletes: ghc-doc-index < %{version}-%{release} %endif %ifarch %{ghc_llvm_archs} -%if 0%{?fedora} >= 29 Requires: llvm%{llvm_major} -%else -Requires: llvm >= %{llvm_major} -%endif %endif %description compiler @@ -387,12 +383,7 @@ EOF autoreconf %endif -%if 0%{?fedora} > 28 %ghc_set_gcc_flags -%else -export CFLAGS="${CFLAGS:-%optflags}" -export LDFLAGS="${LDFLAGS:-%{?__global_ldflags}}" -%endif # for ghc >= 8.2 export CC=%{_bindir}/gcc