forked from pool/ghc-tasty
osc copypac from project:devel:languages:haskell:ghc-9.8.x package:ghc-tasty revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tasty?expand=0&rev=26
This commit is contained in:
parent
53a85318b8
commit
2faa30cce4
@ -26,6 +26,8 @@ License: MIT
|
|||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
|
||||||
|
# https://github.com/UnkindPartition/tasty/pull/371
|
||||||
|
Patch0: riscv64-unbounded-delays.patch
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-ansi-terminal-devel
|
BuildRequires: ghc-ansi-terminal-devel
|
||||||
BuildRequires: ghc-ansi-terminal-prof
|
BuildRequires: ghc-ansi-terminal-prof
|
||||||
@ -78,8 +80,9 @@ Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
|
|||||||
This package provides the Haskell %{pkg_name} profiling library.
|
This package provides the Haskell %{pkg_name} profiling library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
tr -d '\r' <%{SOURCE1} >%{pkg_name}.cabal
|
||||||
|
%autopatch -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
Index: tasty.cabal
|
--- tasty.cabal.orig 2024-03-01 20:46:02.849342429 +0000
|
||||||
===================================================================
|
+++ tasty.cabal 2024-03-01 20:46:12.567277033 +0000
|
||||||
--- tasty.cabal.orig 2023-11-07 17:48:13.765306814 +0000
|
@@ -69,7 +69,7 @@
|
||||||
+++ tasty.cabal 2023-11-07 17:48:44.757109342 +0000
|
ansi-terminal >= 0.9 && < 1.2
|
||||||
@@ -69,7 +69,7 @@ library
|
|
||||||
ansi-terminal >= 0.9 && < 1.1
|
|
||||||
|
|
||||||
-- No reason to depend on unbounded-delays on 64-bit architecture
|
-- No reason to depend on unbounded-delays on 64-bit architecture
|
||||||
- if(!arch(x86_64) && !arch(aarch64))
|
- if(!arch(x86_64) && !arch(aarch64))
|
||||||
|
Loading…
Reference in New Issue
Block a user