summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog11
-rw-r--r--debian/control4
-rw-r--r--debian/debian-dune1
-rwxr-xr-xdebian/rules13
-rw-r--r--debian/upstream/metadata4
-rw-r--r--debian/watch2
6 files changed, 20 insertions, 15 deletions
diff --git a/debian/changelog b/debian/changelog
index ac37dba..e163ca4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+ocaml-sexplib0 (0.16.0-3) unstable; urgency=medium
+
+ [ Stéphane Glondu ]
+ * Use ocaml_dune DH buildsystem
+
+ [ Debian Janitor ]
+ * Update watch file format version to 4.
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+
+ -- Stéphane Glondu <glondu@debian.org> Thu, 17 Aug 2023 07:15:46 +0200
+
ocaml-sexplib0 (0.16.0-2) unstable; urgency=medium
* Team upload.
diff --git a/debian/control b/debian/control
index 83d130b..0850117 100644
--- a/debian/control
+++ b/debian/control
@@ -5,9 +5,9 @@ Uploaders:
Stéphane Glondu <glondu@debian.org>
Build-Depends:
debhelper-compat (= 13),
- ocaml-nox,
+ ocaml,
ocaml-dune,
- dh-ocaml
+ dh-ocaml (>= 1.2)
Standards-Version: 4.6.1
Rules-Requires-Root: no
Section: ocaml
diff --git a/debian/debian-dune b/debian/debian-dune
new file mode 100644
index 0000000..7a15155
--- /dev/null
+++ b/debian/debian-dune
@@ -0,0 +1 @@
+sexplib0
diff --git a/debian/rules b/debian/rules
index 1823e88..91ce70b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,16 +3,5 @@
include /usr/share/ocaml/ocamlvars.mk
-DESTDIR=$(CURDIR)/debian/tmp
-
%:
- dh $@ --with ocaml
-
-override_dh_auto_build:
- dune build -p sexplib0
-
-override_dh_auto_install:
- dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=$(OCAML_STDLIB_DIR)
- rm -f $(DESTDIR)/usr/doc/sexplib0/LICENSE.md
-
-override_dh_dwz:
+ dh $@ --with ocaml --buildsystem ocaml_dune
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..aba5c9d
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/janestreet/sexplib0/issues
+Bug-Submit: https://github.com/janestreet/sexplib0/issues/new
+Repository-Browse: https://github.com/janestreet/sexplib0
diff --git a/debian/watch b/debian/watch
index 5b7a022..bfff79f 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
https://github.com/janestreet/sexplib0/tags .*/v(.*)\.tar\.gz