diff --git a/debian/changelog b/debian/changelog
index 694dd2b..f9a0b95 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,17 @@
python-reno (2.11.2-3) UNRELEASED; urgency=medium
+ [ Ondřej Nový ]
* Use debhelper-compat instead of debian/compat.
* Bump Standards-Version to 4.4.1.
+ [ Debian Janitor ]
+ * Bump debhelper from old 10 to 13.
+ + Replace python_distutils buildsystem with pybuild.
+ * Set upstream metadata fields: Repository-Browse.
+ * Update standards version to 4.6.1, no changes needed.
+ * Set upstream metadata fields: Repository.
+ * Update standards version to 4.6.2, no changes needed.
+
-- Ondřej Nový <onovy@debian.org> Thu, 18 Jul 2019 16:38:40 +0200
python-reno (2.11.2-2) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index bae6e9c..ae22c3b 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
Ivan Udovichenko <iudovichenko@mirantis.com>,
Thomas Goirand <zigo@debian.org>,
Build-Depends:
- debhelper-compat (= 10),
+ debhelper-compat (= 13),
dh-python,
gnupg,
openstack-pkg-tools,
@@ -28,7 +28,7 @@ Build-Depends-Indep:
python3-yaml,
subunit,
testrepository,
-Standards-Version: 4.4.1
+Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/openstack-team/libs/python-reno
Vcs-Git: https://salsa.debian.org/openstack-team/libs/python-reno.git
Homepage: http://www.openstack.org/
diff --git a/debian/rules b/debian/rules
index 8f80441..c8e5166 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/openstack/reno.git
include /usr/share/openstack-pkg-tools/pkgos.make
%:
- dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
+ dh $@ --buildsystem=pybuild --with python3,sphinxdoc
override_dh_auto_clean:
rm -rf build
@@ -25,7 +25,7 @@ override_dh_sphinxdoc:
mkdir -p debian/python-reno-doc/usr/share/doc/python-reno-doc/html
cp -auxf doc/source/*.rst debian/python-reno-doc/usr/share/doc/python-reno-doc/html
#sphinx-build -b html doc/source debian/python-reno-doc/usr/share/doc/python-reno-doc/html
- #dh_sphinxdoc -O--buildsystem=python_distutils
+ #dh_sphinxdoc -O--buildsystem=pybuild
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..3b646c7
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack/reno.git
+Repository-Browse: https://github.com/openstack/reno