Package: gmt-tutorial
Version: 3.4-1
Severity: normal
Tags: patch

Hi,

Attached is the diff for my gmt-tutorial 3.4-1.1 NMU.

-- 
 .''`.             Fuck your fascist beauty standards
: :' :   
`. `'           Proudly running unstable Debian GNU/Linux
  `-     www.amayita.com  www.malapecora.com  www.chicasduras.com
diff -u gmt-tutorial-3.4/debian/control gmt-tutorial-3.4/debian/control
--- gmt-tutorial-3.4/debian/control
+++ gmt-tutorial-3.4/debian/control
@@ -2,8 +2,8 @@
 Section: science
 Priority: extra
 Maintainer: Torsten Landschoff <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 3.0.0)
-Standards-Version: 3.5.2
+Build-Depends: debhelper (>= 4)
+Standards-Version: 3.7.2
 
 Package: gmt-tutorial
 Architecture: all
diff -u gmt-tutorial-3.4/debian/rules gmt-tutorial-3.4/debian/rules
--- gmt-tutorial-3.4/debian/rules
+++ gmt-tutorial-3.4/debian/rules
@@ -6,7 +6,7 @@
 #export DH_VERBOSE=1
 
 # This is the debhelper compatability version to use.
-export DH_COMPAT=2
+export DH_COMPAT=4
 
 build:
 clean:
@@ -24,6 +24,7 @@
        dh_testroot
        dh_installdocs
        dh_installchangelogs 
+       dh_compress
        dh_fixperms
        dh_installdeb
        dh_shlibdeps
diff -u gmt-tutorial-3.4/debian/changelog gmt-tutorial-3.4/debian/changelog
--- gmt-tutorial-3.4/debian/changelog
+++ gmt-tutorial-3.4/debian/changelog
@@ -1,3 +1,13 @@
+gmt-tutorial (3.4-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Get rid of the /usr/doc link in postinst (Closes: #359414).
+  * Revamped packaging a bit: updated the standars-version (no changes
+    needed), updated to DH_COMPAT=4, and added dh_compress (for the
+    changelog) in debian/rules
+
+ -- Amaya Rodrigo Sastre <[EMAIL PROTECTED]>  Sat, 15 Jul 2006 19:09:39 +0200
+
 gmt-tutorial (3.4-1) unstable; urgency=low
 
   * Initial release.
only in patch2:
unchanged:
--- gmt-tutorial-3.4.orig/debian/postinst
+++ gmt-tutorial-3.4/debian/postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ "$1" = "configure" ]; then
+        if [ -d /usr/doc -a -h /usr/doc/gmt-tutorial -a -d 
/usr/share/doc/gmt-tutorial ]; then
+                rm -f /usr/doc/gmt-tutorial
+        fi
+fi
+
+#DEBHELPER#

Reply via email to