diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de394..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index cf58f0d..ecead40 100644
--- a/debian/control
+++ b/debian/control
@@ -3,10 +3,10 @@ Section: science
Priority: optional
Maintainer: Debian Astro Team <debian-astro-maintainers@lists.alioth.debian.org>
Uploaders: Boud Roukema <boud-debian@cosmo.torun.pl>
-Build-Depends: debhelper (>= 11),
+Build-Depends: debhelper-compat (= 13),
libgsl-dev (>= 2.3),
perl
-Standards-Version: 4.3.0
+Standards-Version: 4.6.2
Homepage: https://bitbucket.org/broukema/inhomog
Vcs-Git: https://salsa.debian.org/debian-astro-team/inhomog.git
Vcs-Browser: https://salsa.debian.org/debian-astro-team/inhomog
diff --git a/debian/rules b/debian/rules
index 6969af4..5705fb2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,7 @@ include /usr/share/dpkg/buildflags.mk
%:
- dh $@ --with autoreconf
+ dh $@
#override_dh_auto_configure:
# # generate a binary against the shared (instead of static) library
@@ -30,7 +30,6 @@ include /usr/share/dpkg/buildflags.mk
# Add some extra diagnostics to automatic builds, to help debug any failures.
override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# Log a diagnostic, and then return a fail if
# dh_auto_test failed.
# The "|| true" fallbacks are to avoid generating
@@ -58,4 +57,3 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
(for i in lib/test_*log ; do printf "++++++++--- %s ---++++++++\n" $$i && \
cat $$i ; printf "\n" ; done) || true
printf "++++++-------- END test logs --------+++++++\n"
-endif
diff --git a/debian/tests/control b/debian/tests/control
index 1c8f897..71d96c1 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,5 @@
-Test-command: inhomog --version
Depends: inhomog
+Test-Command: inhomog --version
-Test-command: inhomog --help
Depends: inhomog
+Test-Command: inhomog --help
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
index 94a587b..b1e2f63 100644
--- a/debian/upstream/metadata
+++ b/debian/upstream/metadata
@@ -1,4 +1,3 @@
-Name: inhomog
Contact: boud-debian cosmo.torun.pl
Repository: https://bitbucket.org/broukema/inhomog
Repository-Browse: https://bitbucket.org/broukema/inhomog