[Git][haskell-team/DHG_packages][master] githash: work around testsuite build weirdness
Clint Adams
gitlab at salsa.debian.org
Sat Aug 31 21:33:47 BST 2019
Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
755d2ecd by Clint Adams at 2019-08-31T20:32:34Z
githash: work around testsuite build weirdness
- - - - -
3 changed files:
- p/haskell-githash/debian/changelog
- p/haskell-githash/debian/control
- p/haskell-githash/debian/rules
Changes:
=====================================
p/haskell-githash/debian/changelog
=====================================
@@ -1,3 +1,10 @@
+haskell-githash (0.1.3.1-3) unstable; urgency=medium
+
+ * Work around the weirdness of a testsuite that needs to be built
+ in a git repository with at least one commit in it.
+
+ -- Clint Adams <clint at debian.org> Sat, 31 Aug 2019 15:13:42 -0400
+
haskell-githash (0.1.3.1-2) unstable; urgency=medium
* Gratuitous sourceful post-NEW upload.
=====================================
p/haskell-githash/debian/control
=====================================
@@ -14,6 +14,7 @@ Build-Depends: debhelper (>= 10),
libghc-temporary-prof,
libghc-unliftio-dev,
libghc-unliftio-prof,
+ git <!nocheck>,
Build-Depends-Indep: ghc-doc,
Standards-Version: 4.4.0
Homepage: https://github.com/snoyberg/githash#readme
=====================================
p/haskell-githash/debian/rules
=====================================
@@ -7,3 +7,10 @@ DEB_DEFAULT_COMPILER = ghc
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
+
+clean::
+ if ! test -d .git; then \
+ git init; \
+ git add README.md; \
+ git commit -m "this is terrible"; \
+ fi
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/755d2ecd7d1ed20f39a473ba691f90713a5fb9c7
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/755d2ecd7d1ed20f39a473ba691f90713a5fb9c7
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/20190831/33d788ce/attachment-0001.html>
More information about the Pkg-haskell-commits
mailing list