Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-tasty for openSUSE:Factory 
checked in at 2023-08-12 15:06:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-tasty (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-tasty.new.11712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-tasty"

Sat Aug 12 15:06:43 2023 rev:6 rq:1103534 version:1.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-tasty/ghc-tasty.changes      2023-04-04 
21:24:00.654416916 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-tasty.new.11712/ghc-tasty.changes   
2023-08-12 15:07:00.374819165 +0200
@@ -1,0 +2,6 @@
+Wed Aug  2 17:23:04 UTC 2023 - Andreas Schwab <sch...@suse.de>
+
+- riscv64-unbounded-delays.patch: Don't depend on unbounded-delays for
+  riscv64
+
+-------------------------------------------------------------------

New:
----
  riscv64-unbounded-delays.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-tasty.spec ++++++
--- /var/tmp/diff_new_pack.COE8t3/_old  2023-08-12 15:07:01.062823610 +0200
+++ /var/tmp/diff_new_pack.COE8t3/_new  2023-08-12 15:07:01.066823635 +0200
@@ -25,6 +25,8 @@
 License:        MIT
 URL:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+# https://github.com/UnkindPartition/tasty/pull/371
+Patch0:         riscv64-unbounded-delays.patch
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-ansi-terminal-devel
 BuildRequires:  ghc-ansi-terminal-prof
@@ -77,7 +79,7 @@
 This package provides the Haskell %{pkg_name} profiling library.
 
 %prep
-%autosetup -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version} -p1
 
 %build
 %ghc_lib_build

++++++ riscv64-unbounded-delays.patch ++++++
>From 65da3d6512ee2f8c53d2bbde840456749c5038c8 Mon Sep 17 00:00:00 2001
From: Felix Yan <felixonm...@archlinux.org>
Date: Thu, 22 Jun 2023 08:21:17 +0300
Subject: [PATCH] Don't depend on unbounded-delays for riscv64

64-bit RISC-V should fall into the same case in
https://github.com/UnkindPartition/tasty/pull/344 and should be added
here. Tested locally.
---
 core/tasty.cabal | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: tasty-1.4.3/tasty.cabal
===================================================================
--- tasty-1.4.3.orig/tasty.cabal
+++ tasty-1.4.3/tasty.cabal
@@ -68,7 +68,7 @@ library
     ansi-terminal        >= 0.9
 
   -- No reason to depend on unbounded-delays on 64-bit architecture
-  if(!arch(x86_64) && !arch(aarch64))
+  if(!arch(x86_64) && !arch(aarch64) && !arch(riscv64))
     build-depends:
       unbounded-delays >= 0.1
 

Reply via email to