osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-hslogger revision:8, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslogger?expand=0&rev=8
This commit is contained in:
2020-12-19 17:48:12 +00:00
committed by Git OBS Bridge
parent c67b855e50
commit 8da3d4ad14
2 changed files with 2 additions and 7 deletions

View File

@@ -36,12 +36,7 @@ BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-time-devel
BuildRequires: ghc-unix-devel
# GHC dont support i586
%ifarch %{ix86}
ExclusiveArch: i586 i686
ExclusiveArch: i686
%{expand:%%global optflags %(echo "%{optflags}"|sed -e s/i586/i686/) -march=i686 -mtune=generic}
%endif
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-HUnit-devel
%endif