deb-pkg: remove obsolete -isp option to dpkg-gencontrol
authorAsbjoern Sloth Toennesen <asbjorn@asbjorn.biz>
Sun, 5 Oct 2014 17:43:18 +0000 (17:43 +0000)
committerMichal Marek <mmarek@suse.cz>
Mon, 6 Oct 2014 16:02:39 +0000 (18:02 +0200)
The -isp option has been deprecated, after it became the default
behaviour back in 2006.

Since dpkg 1.17.11, dpkg-gencontrol emits a warning on -isp usage.

References: https://bugs.debian.org/215233
Signed-off-by: Asbjoern Sloth Toennesen <asbjorn@asbjorn.biz>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/package/builddeb

index cfe5e27dd09ec61efcb476a7b8f985ec42f86ee5..59726243c2ebab1a9263019a5ff8eb759b2fdda7 100644 (file)
@@ -64,7 +64,7 @@ create_package() {
        fi
 
        # Create the package
-       dpkg-gencontrol -isp $forcearch -Vkernel:debarch="${debarch:-$(dpkg --print-architecture)}" -p$pname -P"$pdir"
+       dpkg-gencontrol $forcearch -Vkernel:debarch="${debarch:-$(dpkg --print-architecture)}" -p$pname -P"$pdir"
        dpkg --build "$pdir" ..
 }