Control: tags -1 patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/compat: Bump to 10.
  * debian/control:
    - Build-depend on debhelper (>= 10).
    - Depend on ${misc:Depends}.
  * debian/rules: Convert to minimal dh sequencer.
  * debian/source/format: Indicate 3.0 (native) format.

Thanks for considering the patch.

Logan Rosen

-- System Information:
Debian Release: stretch/sid
  APT prefers zesty
  APT policy: (500, 'zesty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-21-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru mail-expire-0.7/debian/compat mail-expire-0.7ubuntu1/debian/compat
--- mail-expire-0.7/debian/compat       2006-06-15 05:34:11.000000000 -0400
+++ mail-expire-0.7ubuntu1/debian/compat        2017-01-11 00:18:05.000000000 
-0500
@@ -1 +1 @@
-4
+10
diff -Nru mail-expire-0.7/debian/control mail-expire-0.7ubuntu1/debian/control
--- mail-expire-0.7/debian/control      2007-02-25 18:01:33.000000000 -0500
+++ mail-expire-0.7ubuntu1/debian/control       2017-01-11 00:18:19.000000000 
-0500
@@ -2,12 +2,12 @@
 Section: utils
 Priority: optional
 Maintainer: Eduard Bloch <bl...@debian.org>
-Build-Depends: debhelper (>> 3.0.0)
+Build-Depends: debhelper (>= 10)
 Standards-Version: 3.7.2
 
 Package: mail-expire
 Architecture: all
-Depends: ${perl:Depends}, libcompress-zlib-perl, libdate-calc-perl, 
libmail-mbox-messageparser-perl
+Depends: ${misc:Depends}, ${perl:Depends}, libcompress-zlib-perl, 
libdate-calc-perl, libmail-mbox-messageparser-perl
 Description: Utility to extract outdated messages from mbox files
  mail-expire is a small and fast script that scans mbox files for messages
  that are older than given maximum age and moves them to another (compressed)
diff -Nru mail-expire-0.7/debian/install mail-expire-0.7ubuntu1/debian/install
--- mail-expire-0.7/debian/install      1969-12-31 19:00:00.000000000 -0500
+++ mail-expire-0.7ubuntu1/debian/install       2017-01-11 00:18:19.000000000 
-0500
@@ -0,0 +1 @@
+mail-expire usr/bin
diff -Nru mail-expire-0.7/debian/manpages mail-expire-0.7ubuntu1/debian/manpages
--- mail-expire-0.7/debian/manpages     1969-12-31 19:00:00.000000000 -0500
+++ mail-expire-0.7ubuntu1/debian/manpages      2017-01-11 00:18:19.000000000 
-0500
@@ -0,0 +1 @@
+debian/mail-expire.1
diff -Nru mail-expire-0.7/debian/rules mail-expire-0.7ubuntu1/debian/rules
--- mail-expire-0.7/debian/rules        2006-06-15 05:34:12.000000000 -0400
+++ mail-expire-0.7ubuntu1/debian/rules 2017-01-11 00:18:19.000000000 -0500
@@ -1,90 +1,3 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-       CFLAGS += -g
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-       INSTALL_PROGRAM += -s
-endif
-
-configure: configure-stamp
-configure-stamp:
-       dh_testdir
-       # Add here commands to configure the package.
-
-       touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-       dh_testdir
-
-       # Add here commands to compile the package.
-       #/usr/bin/docbook-to-man debian/mail-expire.sgml > mail-expire.1
-
-       touch build-stamp
-
-clean:
-       dh_testdir
-       dh_testroot
-       rm -f build-stamp configure-stamp
-
-       # Add here commands to clean up after the build process.
-       -$(MAKE) clean
-
-       dh_clean
-
-install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k
-       dh_installdirs
-
-       # Add here commands to install the package into debian/mail-expire.
-       #$(MAKE) install DESTDIR=$(CURDIR)/debian/mail-expire
-       cp mail-expire debian/mail-expire/usr/bin
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-       dh_testdir
-       dh_testroot
-#      dh_installdebconf       
-       dh_installdocs
-       dh_installexamples
-       dh_installmenu
-#      dh_installlogrotate
-#      dh_installemacsen
-#      dh_installpam
-#      dh_installmime
-#      dh_installinit
-       dh_installcron
-       dh_installman debian/mail-expire.1
-       dh_installinfo
-#      dh_undocumented
-       dh_installchangelogs 
-       dh_link
-       dh_strip
-       dh_compress
-       dh_fixperms
-#      dh_makeshlibs
-       dh_installdeb
-       dh_perl
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+%:
+       dh $@
diff -Nru mail-expire-0.7/debian/source/format 
mail-expire-0.7ubuntu1/debian/source/format
--- mail-expire-0.7/debian/source/format        1969-12-31 19:00:00.000000000 
-0500
+++ mail-expire-0.7ubuntu1/debian/source/format 2017-01-11 00:18:19.000000000 
-0500
@@ -0,0 +1 @@
+3.0 (native)

Reply via email to