r12585 - in /trunk/mime-tools/debian: changelog control rules

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


Author: tincho-guest
Date: Sat Jan 12 17:19:35 2008
New Revision: 12585

URL: http://svn.debian.org/wsvn/?sc=1&rev=12585
Log:
* 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).

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

Modified: trunk/mime-tools/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/mime-tools/debian/changelog?rev=12585&op=diff
==============================================================================
--- trunk/mime-tools/debian/changelog (original)
+++ trunk/mime-tools/debian/changelog Sat Jan 12 17:19:35 2008
@@ -2,12 +2,12 @@
 
   [ Martín Ferrari ]
   TODO: copyright needs a lot of love.
-  TODO: transition doesn't work.
 
   * New binary package: libmime-tools-perl (Closes: #297765).
-  * Make old binary package a dummy. Copied most stuff also done to
-    libfile-spec-perl: both packages having a symlink in usr/share/doc, dummy
-    empty otherwise, unversioned replaces and minimal description.
+  * 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).
   * Pimp up debian/rules.
   * debian/control:
   - Bumped Standards-Version (no changes).

Modified: trunk/mime-tools/debian/control
URL: http://svn.debian.org/wsvn/trunk/mime-tools/debian/control?rev=12585&op=diff
==============================================================================
--- trunk/mime-tools/debian/control (original)
+++ trunk/mime-tools/debian/control Sat Jan 12 17:19:35 2008
@@ -15,7 +15,7 @@
 
 Package: libmime-tools-perl
 Conflicts: libmime-perl (<< 5.425-2)
-Replaces: libmime-perl
+Replaces: libmime-perl (<< 5.425-2)
 Provides: libmime-perl
 Architecture: all
 Depends: perl (>= 5.8.4-2.3), libmailtools-perl, libio-stringy-perl (>= 2.110),

Modified: trunk/mime-tools/debian/rules
URL: http://svn.debian.org/wsvn/trunk/mime-tools/debian/rules?rev=12585&op=diff
==============================================================================
--- trunk/mime-tools/debian/rules (original)
+++ trunk/mime-tools/debian/rules Sat Jan 12 17:19:35 2008
@@ -11,8 +11,9 @@
 
 PERL	?= /usr/bin/perl
 
-package	:= $(firstword $(shell dh_listpackages))
-TMP	:= $(CURDIR)/debian/$(package)
+newpkg	:= $(firstword $(shell dh_listpackages))
+oldpkg	:= $(lastword $(shell dh_listpackages))
+TMP	:= $(CURDIR)/debian/$(newpkg)
 
 build:	build-stamp
 build-stamp:
@@ -45,10 +46,11 @@
 	dh_testdir
 	dh_testroot
 	dh_installdirs
-	dh_installdocs -p $(package)
-	dh_installexamples -p $(package) examples/*
-	dh_installchangelogs -p $(package) ChangeLog
-	dh_link -A usr/share/doc/libmime-tools-perl usr/share/doc/libmime-perl
+	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_perl
 	dh_compress
 	dh_fixperms




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