Remove all un-needed %if
Remove all %if's that deal with old fedora releases.
This commit is contained in:
parent
7ab1af8634
commit
5caca1ad23
9
ghc.spec
9
ghc.spec
@ -185,11 +185,7 @@ Requires: ghc-base-devel%{?_isa} = %{base_ver}-%{release}
|
|||||||
Obsoletes: ghc-doc-index < %{version}-%{release}
|
Obsoletes: ghc-doc-index < %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
%ifarch %{ghc_llvm_archs}
|
%ifarch %{ghc_llvm_archs}
|
||||||
%if 0%{?fedora} >= 29
|
|
||||||
Requires: llvm%{llvm_major}
|
Requires: llvm%{llvm_major}
|
||||||
%else
|
|
||||||
Requires: llvm >= %{llvm_major}
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description compiler
|
%description compiler
|
||||||
@ -387,12 +383,7 @@ EOF
|
|||||||
autoreconf
|
autoreconf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} > 28
|
|
||||||
%ghc_set_gcc_flags
|
%ghc_set_gcc_flags
|
||||||
%else
|
|
||||||
export CFLAGS="${CFLAGS:-%optflags}"
|
|
||||||
export LDFLAGS="${LDFLAGS:-%{?__global_ldflags}}"
|
|
||||||
%endif
|
|
||||||
# for ghc >= 8.2
|
# for ghc >= 8.2
|
||||||
export CC=%{_bindir}/gcc
|
export CC=%{_bindir}/gcc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user