Tags: + patch Dear maintainer,
as one of my packages (monotone) depends on libproc-waitstat-perl, I decided to take a look at this issue. Attached a proposal that updates and simplifies the packaging to use debhelper 9. Not strictly a minimalistic change, but a minimalistic approach. Please let me know what you think. Kind Regards Markus Wanner
diff -Nru libproc-waitstat-perl-1.00/debian/changelog libproc-waitstat-perl-1.00/debian/changelog --- libproc-waitstat-perl-1.00/debian/changelog 2016-02-06 15:15:57.000000000 +0100 +++ libproc-waitstat-perl-1.00/debian/changelog 2016-02-06 15:15:48.000000000 +0100 @@ -1,3 +1,14 @@ +libproc-waitstat-perl (1.00-4.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Bump S-V from 3.5.2 to 3.9.7.0: drop the versioned B-D on perl. + * Set compatibility level v9. Closes: #800243. + * Set source format to 3.0 (quilt). + * Simplify debian/rules by using debhelper. Adjust build dependency + for debhelper. This adds the README to the binary package. + + -- Markus Wanner <mar...@bluegap.ch> Sat, 06 Feb 2016 14:29:04 +0100 + libproc-waitstat-perl (1.00-4.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru libproc-waitstat-perl-1.00/debian/compat libproc-waitstat-perl-1.00/debian/compat --- libproc-waitstat-perl-1.00/debian/compat 1970-01-01 01:00:00.000000000 +0100 +++ libproc-waitstat-perl-1.00/debian/compat 2016-02-06 14:08:00.000000000 +0100 @@ -0,0 +1 @@ +9 diff -Nru libproc-waitstat-perl-1.00/debian/control libproc-waitstat-perl-1.00/debian/control --- libproc-waitstat-perl-1.00/debian/control 2016-02-06 15:15:57.000000000 +0100 +++ libproc-waitstat-perl-1.00/debian/control 2016-02-06 15:10:24.000000000 +0100 @@ -2,12 +2,12 @@ Section: perl Priority: optional Maintainer: Roderick Schertler <roder...@argon.org> -Standards-Version: 3.5.2 -Build-Depends: debhelper (>= 3.0.5), perl (>= 5.6.0-16), libipc-signal-perl +Standards-Version: 3.9.7 +Build-Depends: debhelper (>= 9), libipc-signal-perl Package: libproc-waitstat-perl Architecture: all -Depends: ${perl:Depends}, libipc-signal-perl +Depends: ${perl:Depends}, ${misc:Depends}, libipc-signal-perl Description: interpret and act on wait() status values This Perl module contains functions which are useful for interpreting and acting on wait() status values. diff -Nru libproc-waitstat-perl-1.00/debian/rules libproc-waitstat-perl-1.00/debian/rules --- libproc-waitstat-perl-1.00/debian/rules 2016-02-06 15:15:57.000000000 +0100 +++ libproc-waitstat-perl-1.00/debian/rules 2016-02-06 14:15:27.000000000 +0100 @@ -1,73 +1,4 @@ #!/usr/bin/make -f -# $Id: rules,v 1.4 2001-07-31 14:34:41 roderick Exp $ - -dt := debian/libproc-waitstat-perl -prefix = `pwd`/$(dt) -stamp_build := debian/stamp.build -stamp_install := debian/stamp.install -clean := $(stamp_build) $(stamp_install) - -ifneq "" "$(findstring debug,$(DEB_BUILD_OPTIONS))" - CFLAGS += -g -endif -export DH_COMPAT := 3 -PERL ?= perl - -build: $(stamp_build) -$(stamp_build): - dh_testdir - $(PERL) Makefile.PL INSTALLDIRS=vendor - $(MAKE) OPTIMIZE="-O2 -Wall $(CFLAGS)" - $(MAKE) test - touch $@ - -install: $(stamp_install) -$(stamp_install): $(stamp_build) - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - $(MAKE) install DESTDIR=$(prefix) - find $(prefix) -depth -type d -print0 | \ - xargs -0r rmdir --ignore-fail-on-non-empty - touch $@ - -clean: - dh_testdir - dh_testroot - [ ! -f Makefile ] || $(MAKE) realclean - dh_clean $(clean) - -binary: binary-indep binary-arch -binary-arch: -binary-indep: $(stamp_install) - dh_testdir - dh_testroot -# dh_installdebconf - dh_installdocs README - dh_installexamples - dh_installmenu -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit - dh_installcron - dh_installman - dh_installinfo -# dh_undocumented - dh_installchangelogs Changes - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_makeshlibs - dh_installdeb - dh_perl - dh_shlibdeps - dh_gencontrol -u -isp - dh_md5sums - dh_builddeb - -.PHONY: build install clean binary-indep binary-arch binary +%: + dh $@ --with-perl diff -Nru libproc-waitstat-perl-1.00/debian/source/format libproc-waitstat-perl-1.00/debian/source/format --- libproc-waitstat-perl-1.00/debian/source/format 1970-01-01 01:00:00.000000000 +0100 +++ libproc-waitstat-perl-1.00/debian/source/format 2016-02-06 14:19:10.000000000 +0100 @@ -0,0 +1 @@ +3.0 (quilt)
signature.asc
Description: OpenPGP digital signature