4
0

osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-vector-algorithms revision:10, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-vector-algorithms?expand=0&rev=49
This commit is contained in:
2020-12-18 12:53:15 +00:00
committed by Git OBS Bridge
parent f9a4ef7669
commit 0348d5d346
4 changed files with 24 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
%global pkg_name vector-algorithms
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.8.0.3
Version: 0.8.0.4
Release: 0
Summary: Efficient algorithms for vector arrays
License: BSD-3-Clause
@@ -30,6 +30,12 @@ BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-primitive-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-vector-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
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-containers-devel