Control: tags -1 patch

Dear Maintainer,

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

  * debian/compat: Bump to 9.
  * debian/control:
    - Build-depend on debhelper (>= 9).
    - Remove article from beginning of synposis.
  * debian/rules:
    - Convert to dh sequencer.
    - Disable dh_auto_test since test.sh in test target doesn't exist.

Thanks for considering the patch.

Logan Rosen
diff -u poc-streamer-0.4.2/debian/rules poc-streamer-0.4.2/debian/rules
--- poc-streamer-0.4.2/debian/rules
+++ poc-streamer-0.4.2/debian/rules
@@ -2,91 +2,7 @@
-# Sample debian/rules that uses debhelper.
-# This file is public domain software, originally written by Joey Hess.
-#
-# This version is for a multibinary package. It also allows you to build any
-# of the binary packages independantly, via binary-<package> targets.
+%:
+	dh $@
 
-# Uncomment this to turn on verbose mode. 
-#export DH_VERBOSE=1
+override_dh_auto_install:
+	dh_auto_install -- PREFIX=/usr
 
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-
-	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
-
-	dh_clean
-
-install: DH_OPTIONS=
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# Add here commands to install the package into debian/poc-streamer.
-	$(MAKE) DESTDIR=$(CURDIR)/debian/poc-streamer PREFIX=/usr install
-
-# This single target is used to build all the packages, all at once, or
-# one at a time. So keep in mind: any options passed to commands here will
-# affect _all_ packages. Anything you want to only affect one package
-# should be put in another target, such as the install target.
-binary-common:
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
-	dh_installexamples
-	dh_installmenu
-#	dh_installdebconf
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installcatalogs
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installman
-#	dh_installcron
-#	dh_installinfo
-#	dh_undocumented
-	dh_strip
-	dh_link
-	dh_compress
-	dh_fixperms
-#	dh_perl
-#	dh_python
-#	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture independant packages using the common target.
-binary-indep: build install
-# (Uncomment this next line if you have such packages.)
-#	 $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
-
-# Build architecture dependant packages using the common target.
-binary-arch: build install
-	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
-
-# Any other binary targets build just one binary package at a time.
-binary-%: build install
-	make -f debian/rules binary-common DH_OPTIONS=-p$*
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary-common binary install
+override_dh_auto_test:
diff -u poc-streamer-0.4.2/debian/control poc-streamer-0.4.2/debian/control
--- poc-streamer-0.4.2/debian/control
+++ poc-streamer-0.4.2/debian/control
@@ -2,13 +2,13 @@
 Section: sound
 Priority: optional
 Maintainer: Mike Gerber <m...@sprachgewalt.de>
-Build-Depends: debhelper (>= 4.0.0), libid3tag0-dev, flex, bison
+Build-Depends: debhelper (>= 9), libid3tag0-dev, flex, bison
 Standards-Version: 3.6.1
 
 Package: poc-streamer
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: An MP3/Ogg multicast/HTTP streamer and MP3 cutting tool
+Description: MP3/Ogg multicast/HTTP streamer and MP3 cutting tool
  poc is a suite of MP3 tools and MP3 streaming programs. It can stream
  MP3s over HTTP, RTP multicast (RFC 2250 and RFC 3119) and a special 
  multicast protocol to enable the use of Forward Error Correction to 
diff -u poc-streamer-0.4.2/debian/compat poc-streamer-0.4.2/debian/compat
--- poc-streamer-0.4.2/debian/compat
+++ poc-streamer-0.4.2/debian/compat
@@ -1 +1 @@
-4
+9

Reply via email to