Browse Source

Packaging cleanup

* Declare compliance with policy 4.5.0, no changes
* Bump debhelper compat level to 12
* Update and rename patches
* Set Rules-Requires-Root: no
Christoph Biedl 3 years ago
parent
commit
8e8c1503a7

+ 0 - 1
debian/compat

@@ -1 +0,0 @@
-11

+ 3 - 2
debian/control

@@ -1,10 +1,10 @@
 Source: tang
 Maintainer: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
 Homepage: https://github.com/latchset/tang
-Standards-Version: 4.2.0
+Standards-Version: 4.5.0
 Vcs-Browser: https://git.in-ulm.de/cbiedl/tang
 Vcs-Git: https://git.in-ulm.de/cbiedl/tang.git
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper-compat (= 12),
     asciidoctor,
     curl,
     jose,
@@ -14,6 +14,7 @@ Build-Depends: debhelper (>= 11~),
     pkg-config,
     systemd,
 Priority: optional
+Rules-Requires-Root: no
 Section: net
 
 Package: tang

+ 4 - 2
debian/patches/series

@@ -1,2 +1,4 @@
-local.use-asciidoctor-to-build-manpages.patch
-local.add-systemd-documentation-key.patch
+
+# patches for upstream
+upstream.use-asciidoctor-to-build-manpages.patch
+upstream.add-systemd-documentation-key.patch

+ 1 - 1
debian/patches/local.add-systemd-documentation-key.patch

@@ -1,7 +1,7 @@
 Subject: Add documentation key to system unit file
 Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
 Date: 2018-08-12
-Forwarded: not-yet
+Bug: https://github.com/latchset/tang/issues/49
 
 --- a/units/tangd@.service.in
 +++ b/units/tangd@.service.in

debian/patches/local.use-asciidoctor-to-build-manpages.patch → debian/patches/upstream.use-asciidoctor-to-build-manpages.patch