Package: wfrench
Version: 1.2.6-1
Severity: normal

Hi,

the wfrench package has been switched to "Rules-Requires-Root:
dpkg/target-subcommand" in the last upload, but that is entirely
unnecessary. You should just use plain "dh_install".

Patch attached.

Christoph
diff --git a/debian/changelog b/debian/changelog
index 9960280..a1975c5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+wfrench (1.2.6-1.1) UNRELEASED; urgency=medium
+
+  * Use Rules-Requires-Root: no; install file using dh_install.
+  * Don't call dh_installman from override_dh_auto_install, it's called later
+    anyway.
+
+ -- Christoph Berg <[email protected]>  Tue, 24 Nov 2020 13:03:06 +0100
+
 wfrench (1.2.6-1) unstable; urgency=medium
 
   * new upstream release :
diff --git a/debian/control b/debian/control
index 5297e41..1df2b3a 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: guillaume pernot <[email protected]>
 Standards-Version: 4.5.0
 Build-Depends: debhelper-compat (= 12)
 Build-Depends-Indep: dictionaries-common-dev (>= 1.2)
-Rules-Requires-Root: dpkg/target-subcommand
+Rules-Requires-Root: no
 Vcs-Git: https://salsa.debian.org/gpernot-guest/wfrench.git
 Vcs-Browser: https://salsa.debian.org/gpernot-guest/wfrench
 Homepage: https://salsa.debian.org/gpernot-guest/wfrench
diff --git a/debian/rules b/debian/rules
index c7215e6..5a82959 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,6 @@ export DH_VERBOSE=1
 %:
 	dh $@
 
-override_dh_auto_install:
-	dh_installman
-	${DEB_GAIN_ROOT_CMD} install -o root -g root -m 644 french debian/wfrench/usr/share/dict
+override_dh_install:
+	dh_install
 	installdeb-wordlist

Reply via email to