[Git][haskell-team/DHG_packages][master] tldr: Fix FTBFS - avoid dh-exec as it doesn't work with haskell-devscripts

Scott Talbert (@swt2c) gitlab at salsa.debian.org
Tue Aug 2 20:37:26 BST 2022



Scott Talbert pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
dcb2759d by Scott Talbert at 2022-08-02T15:37:11-04:00
tldr: Fix FTBFS - avoid dh-exec as it doesn't work with haskell-devscripts

- - - - -


6 changed files:

- p/haskell-tldr/debian/changelog
- p/haskell-tldr/debian/control
- + p/haskell-tldr/debian/patches/rename-exe
- p/haskell-tldr/debian/patches/series
- p/haskell-tldr/debian/rules
- p/haskell-tldr/debian/tldr.install


Changes:

=====================================
p/haskell-tldr/debian/changelog
=====================================
@@ -1,8 +1,12 @@
-haskell-tldr (0.9.2-2) UNRELEASED; urgency=medium
+haskell-tldr (0.9.2-2) unstable; urgency=medium
 
+  [ Ilias Tsitsimpis ]
   * Declare compliance with Debian policy 4.6.1
 
- -- Ilias Tsitsimpis <iliastsi at debian.org>  Tue, 28 Jun 2022 15:33:16 +0300
+  [ Scott Talbert ]
+  * Fix FTBFS - avoid dh-exec as it doesn't work with haskell-devscripts
+
+ -- Scott Talbert <swt at techie.net>  Tue, 02 Aug 2022 15:10:21 -0400
 
 haskell-tldr (0.9.2-1) unstable; urgency=medium
 


=====================================
p/haskell-tldr/debian/control
=====================================
@@ -7,7 +7,6 @@ Rules-Requires-Root: no
 Build-Depends: debhelper (>= 10),
  haskell-devscripts-minimal | haskell-devscripts (>= 0.8),
  cdbs,
- dh-exec,
  help2man,
  ghc (>= 8.4.3),
  ghc-prof,


=====================================
p/haskell-tldr/debian/patches/rename-exe
=====================================
@@ -0,0 +1,11 @@
+--- a/tldr.cabal
++++ b/tldr.cabal
+@@ -67,7 +67,7 @@ library
+     , zip-archive
+   default-language: Haskell2010
+ 
+-executable tldr
++executable tldr-hs
+   main-is: Main.hs
+   other-modules:
+       Paths_tldr


=====================================
p/haskell-tldr/debian/patches/series
=====================================
@@ -1 +1,2 @@
 no--N.diff
+rename-exe


=====================================
p/haskell-tldr/debian/rules
=====================================
@@ -13,5 +13,5 @@ build/tldr:: build-ghc-stamp
 install/tldr:: tldr-hs.1
 
 tldr-hs.1:
-	./dist-ghc/build/tldr/tldr --help
-	help2man -N -o $@ ./dist-ghc/build/tldr/tldr
+	./dist-ghc/build/tldr-hs/tldr-hs --help
+	help2man -N -o $@ ./dist-ghc/build/tldr-hs/tldr-hs


=====================================
p/haskell-tldr/debian/tldr.install
=====================================
@@ -1,2 +1 @@
-#!/usr/bin/dh-exec
-dist-ghc/build/tldr/tldr => /usr/bin/tldr-hs
+dist-ghc/build/tldr-hs/tldr-hs usr/bin



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

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/dcb2759d30eb329b84b5834b0333a2a7bfb418ca
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/20220802/e25f8924/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list