aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--debian/changelog12
-rw-r--r--debian/control4
-rwxr-xr-xdebian/rules5
-rw-r--r--debian/source/format2
4 files changed, 21 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 6aabe16..124cba9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,18 @@ pandoc-citeproc-preamble (1.2.4) unstable; urgency=medium
-- Sean Whitton <spwhitton@spwhitton.name> Fri, 22 Feb 2019 18:30:12 -0700
+pandoc-citeproc-preamble (1.2.3-1) experimental; urgency=medium
+
+ * Add override_dh_gencontrol stanza to generate a versioned dependency
+ on libghc-pandoc-types-dev using haskell-devscripts (Closes: #920743).
+ This should enable automatically binNMUing pandoc-citeproc-preamble
+ when new versions of pandoc-types hit Debian unstable.
+ - Build-depend on haskell-devscripts-minimal | haskell-devscripts.
+ * Switch to source format 3.0 (quilt).
+ * Priority extra->optional.
+
+ -- Sean Whitton <spwhitton@spwhitton.name> Fri, 15 Feb 2019 20:26:37 -0700
+
pandoc-citeproc-preamble (1.2.3) unstable; urgency=medium
* Convert changelog to Debian's format.
diff --git a/debian/control b/debian/control
index 3b63ad0..aeb3f97 100644
--- a/debian/control
+++ b/debian/control
@@ -1,9 +1,10 @@
Source: pandoc-citeproc-preamble
Maintainer: Sean Whitton <spwhitton@spwhitton.name>
-Priority: extra
+Priority: optional
Section: haskell
Build-Depends: debhelper (>= 10),
ghc,
+ haskell-devscripts-minimal | haskell-devscripts (>= 0.8),
libghc-pandoc-types-dev,
Standards-Version: 3.9.8
Homepage: https://spwhitton.name/tech/code/pandoc-citeproc-preamble/
@@ -14,6 +15,7 @@ Package: pandoc-citeproc-preamble
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
+ ${haskell:Depends},
Recommends: pandoc-citeproc
Description: insert a preamble before pandoc-citeproc's bibliography
pandoc-citeproc-preamble is a JSON filter for Pandoc which inserts a
diff --git a/debian/rules b/debian/rules
index 2a8d309..b52fa27 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,11 @@ override_dh_auto_build:
pod2man --center="User Commands" --section=1 \
pandoc-citeproc-preamble.1.pod > pandoc-citeproc-preamble.1
+override_dh_gencontrol:
+ echo "haskell:Depends=$(shell . /usr/share/haskell-devscripts/Dh_Haskell.sh; hashed_dependency ghc dev pandoc-types)" \
+ >>debian/pandoc-citeproc-preamble.substvars
+ dh_gencontrol
+
override_dh_auto_clean:
if [ -x Setup ]; then ./Setup clean; fi
rm -f Setup Setup.o Setup.hi pandoc-citeproc-preamble.1
diff --git a/debian/source/format b/debian/source/format
index 89ae9db..163aaf8 100644
--- a/debian/source/format
+++ b/debian/source/format
@@ -1 +1 @@
-3.0 (native)
+3.0 (quilt)