Package: libproc-syncexec-perl
Version: 1.01-1.1
Followup-For: Bug #800304
User: [email protected]
Usertags: origin-ubuntu xenial ubuntu-patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* debian/rules:
- Remove legacy DH_COMPAT export.
- Use dh_prep instead of dh_clean -k.
- Add recommended build-arch and build-indep targets.
* debian/compat: Indicate compatibility level of 9.
* debian/control:
- Build-depend on debhelper (>= 9).
- Depend on ${misc:Depends}.
Thanks for considering the patch.
Logan Rosen
-- System Information:
Debian Release: stretch/sid
APT prefers xenial-updates
APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500,
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Kernel: Linux 4.4.0-16-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -u libproc-syncexec-perl-1.01/debian/control libproc-syncexec-perl-1.01/debian/control
--- libproc-syncexec-perl-1.01/debian/control
+++ libproc-syncexec-perl-1.01/debian/control
@@ -3,11 +3,11 @@
Priority: optional
Maintainer: Roderick Schertler <[email protected]>
Standards-Version: 3.5.2
-Build-Depends: debhelper (>= 3.0.5), perl (>= 5.6.0-16)
+Build-Depends: debhelper (>= 9), perl (>= 5.6.0-16)
Package: libproc-syncexec-perl
Architecture: all
-Depends: ${perl:Depends}
+Depends: ${misc:Depends}, ${perl:Depends}
Description: spawn processes but report exec() errors properly
This Perl module contains functions for synchronized process spawning
with full error return. If the child's exec() call fails the reason
diff -u libproc-syncexec-perl-1.01/debian/rules libproc-syncexec-perl-1.01/debian/rules
--- libproc-syncexec-perl-1.01/debian/rules
+++ libproc-syncexec-perl-1.01/debian/rules
@@ -11,10 +11,11 @@
ifneq "" "$(findstring debug,$(DEB_BUILD_OPTIONS))"
CFLAGS += -g
endif
-export DH_COMPAT := 3
PERL ?= perl
-build: $(stamp_build)
+build: build-arch build-indep
+build-arch: $(stamp_build)
+build-indep: $(stamp_build)
$(stamp_build):
dh_testdir
$(PERL) Makefile.PL INSTALLDIRS=vendor
@@ -26,7 +27,7 @@
$(stamp_install): $(stamp_build)
dh_testdir
dh_testroot
- dh_clean -k
+ dh_prep
dh_installdirs
$(MAKE) install DESTDIR=$(prefix)
find $(prefix) -depth -type d -print0 | \
only in patch2:
unchanged:
--- libproc-syncexec-perl-1.01.orig/debian/compat
+++ libproc-syncexec-perl-1.01/debian/compat
@@ -0,0 +1 @@
+9