r12590 - in /trunk/mime-tools/debian: changelog rules

tincho-guest at users.alioth.debian.org tincho-guest at users.alioth.debian.org
Sat Jan 12 17:46:07 UTC 2008


Author: tincho-guest
Date: Sat Jan 12 17:46:07 2008
New Revision: 12590

URL: http://svn.debian.org/wsvn/?sc=1&rev=12590
Log:
* Make old binary package a dummy, only containing documentation dir, and
  minimal description. cannot use the symlinks method because of a bug in
  dpkg (couldn't find the number, see Method B in
  http://wiki.debian.org/Renaming_a_Package).

Modified:
    trunk/mime-tools/debian/changelog
    trunk/mime-tools/debian/rules

Modified: trunk/mime-tools/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/mime-tools/debian/changelog?rev=12590&op=diff
==============================================================================
--- trunk/mime-tools/debian/changelog (original)
+++ trunk/mime-tools/debian/changelog Sat Jan 12 17:46:07 2008
@@ -4,10 +4,10 @@
   TODO: copyright needs a lot of love.
 
   * New binary package: libmime-tools-perl (Closes: #297765).
-  * Make old binary package a dummy, only containing a symlink to the new
-    documentation dir, and minimal description. New package should NOT contain
-    that same symlink because of a bug in dpkg (couldn't find the number, see
-    Method B in http://wiki.debian.org/Renaming_a_Package).
+  * Make old binary package a dummy, only containing documentation dir, and
+    minimal description. cannot use the symlinks method because of a bug in
+    dpkg (couldn't find the number, see Method B in
+    http://wiki.debian.org/Renaming_a_Package).
   * Pimp up debian/rules.
   * debian/control:
   - Bumped Standards-Version (no changes).

Modified: trunk/mime-tools/debian/rules
URL: http://svn.debian.org/wsvn/trunk/mime-tools/debian/rules?rev=12590&op=diff
==============================================================================
--- trunk/mime-tools/debian/rules (original)
+++ trunk/mime-tools/debian/rules Sat Jan 12 17:46:07 2008
@@ -11,9 +11,8 @@
 
 PERL	?= /usr/bin/perl
 
-newpkg	:= $(firstword $(shell dh_listpackages))
-oldpkg	:= $(lastword $(shell dh_listpackages))
-TMP	:= $(CURDIR)/debian/$(newpkg)
+PACKAGE	:= $(firstword $(shell dh_listpackages))
+TMP	:= $(CURDIR)/debian/$(PACKAGE)
 
 build:	build-stamp
 build-stamp:
@@ -46,11 +45,9 @@
 	dh_testdir
 	dh_testroot
 	dh_installdirs
-	dh_installdocs -p $(newpkg)
-	dh_installexamples -p $(newpkg) examples/*
-	dh_installchangelogs -p $(newpkg) ChangeLog
-	dh_link -p $(oldpkg) usr/share/doc/libmime-tools-perl \
-		usr/share/doc/libmime-perl
+	dh_installdocs
+	dh_installexamples examples/*
+	dh_installchangelogs ChangeLog
 	dh_perl
 	dh_compress
 	dh_fixperms




More information about the Pkg-perl-cvs-commits mailing list