[Git][haskell-team/DHG_packages][master] haskell-hspec-hedgehog Tweak patch to be more generic

Gianfranco Costamagna (@locutusofborg) gitlab at salsa.debian.org
Tue Aug 13 13:43:45 BST 2024



Gianfranco Costamagna pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
5fce3d9f by Gianfranco Costamagna at 2024-08-13T14:43:17+02:00
haskell-hspec-hedgehog Tweak patch to be more generic

- - - - -


3 changed files:

- p/haskell-hspec-hedgehog/debian/changelog
- p/haskell-hspec-hedgehog/debian/patches/no-rts-n → p/haskell-hspec-hedgehog/debian/patches/no--N
- p/haskell-hspec-hedgehog/debian/patches/series


Changes:

=====================================
p/haskell-hspec-hedgehog/debian/changelog
=====================================
@@ -1,7 +1,10 @@
 haskell-hspec-hedgehog (0.0.1.2-6) UNRELEASED; urgency=medium
 
   [ wuruilong <wuruilong at loongson.cn> ]
-  * Add support for loong64 (Closes: #1069701) 
+  * Add support for loong64 (Closes: #1069701)
+
+  [ Gianfranco Costamagna ]
+  * Tweak patch to be more generic
 
  -- Gianfranco Costamagna <locutusofborg at debian.org>  Tue, 13 Aug 2024 14:28:47 +0200
 


=====================================
p/haskell-hspec-hedgehog/debian/patches/no-rts-n → p/haskell-hspec-hedgehog/debian/patches/no--N
=====================================
@@ -1,14 +1,24 @@
---- a/hspec-hedgehog.cabal
-+++ b/hspec-hedgehog.cabal
-@@ -41,7 +41,10 @@ test-suite hspec-hedgehog-test
+--- haskell-hspec-hedgehog-0.0.1.2.orig/hspec-hedgehog.cabal
++++ haskell-hspec-hedgehog-0.0.1.2/hspec-hedgehog.cabal
+@@ -35,13 +35,20 @@ library
+     , splitmix      >= 0.0.1 && < 1
+   default-language: Haskell2010
+ 
++flag smp
++  description:          build test with -N
++  default:              True
++
+ test-suite hspec-hedgehog-test
+   type: exitcode-stdio-1.0
+   main-is: 
        Spec.hs
    hs-source-dirs:
        test
 -  ghc-options: -threaded -rtsopts -with-rtsopts=-N
-+  if arch(arm) || arch(mips) || arch(s390x) || arch(i386) || arch(riscv64) || arch(loongarch64)
-+    ghc-options: -threaded -rtsopts
-+  else
++  if flag(smp)
 +    ghc-options: -threaded -rtsopts -with-rtsopts=-N
++  else
++    ghc-options: -threaded
    build-depends:
        base          >= 4.7   && < 5
      , hspec-hedgehog


=====================================
p/haskell-hspec-hedgehog/debian/patches/series
=====================================
@@ -1 +1 @@
-no-rts-n
+no--N



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/5fce3d9fdb7d7be3e7751956ebdb7a71892496ff

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/5fce3d9fdb7d7be3e7751956ebdb7a71892496ff
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20240813/206b94d6/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list