Browse Source

Packaging maintenance

* Declare compliance with policy 4.4.1
* Bump debhelper compat level to 12
* Set "Rules-Requires-Root: no"
* Add comments to series file
Christoph Biedl 11 months ago
parent
commit
952d78649c
3 changed files with 8 additions and 3 deletions
  1. 0 1
      debian/compat
  2. 3 2
      debian/control
  3. 5 0
      debian/patches/series

+ 0 - 1
debian/compat

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

+ 3 - 2
debian/control

@@ -1,17 +1,18 @@
 Source: python-magic
 Maintainer: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
 Homepage: https://github.com/ahupp/python-magic/
-Standards-Version: 4.1.5
+Standards-Version: 4.4.1
 Vcs-Browser: https://git.in-ulm.de/cbiedl/python-magic
 Vcs-Git: https://git.in-ulm.de/cbiedl/python-magic.git
 Testsuite: autopkgtest-pkg-python
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper-compat (= 12),
     dh-python,
     python-all,
     python-setuptools,
     python3-all,
     python3-setuptools,
 Priority: extra
+Rules-Requires-Root: no
 Section: libs
 
 Package: python-magic

+ 5 - 0
debian/patches/series

@@ -1,3 +1,8 @@
+# cherry-picked from upstream. Keep in chronological order
 cherry-pick.0.4.11-32-g9d127ce.update-filetype-reported-by-libmagic-5-23-for-keep-going-true.patch
 libmagic-compat.patch
+
+# patches that should go upstream
+
+# modifications for Debian
 disable-gzip-test.patch