[MLton-commit] r7523

Wesley Terpstra wesley at mlton.org
Fri Apr 1 12:25:35 PST 2011


Tried an upgrade with apt-get instead of dpkg. It complained. This fixes it.


----------------------------------------------------------------------

U   mlton/trunk/package/debian/changelog
U   mlton/trunk/package/debian/control

----------------------------------------------------------------------

Modified: mlton/trunk/package/debian/changelog
===================================================================
--- mlton/trunk/package/debian/changelog	2011-04-01 18:52:35 UTC (rev 7522)
+++ mlton/trunk/package/debian/changelog	2011-04-01 20:25:34 UTC (rev 7523)
@@ -2,6 +2,7 @@
 
   * Add missing install file for sparc runtime
   * Make the self target symlink relative
+  * Added Replaces and Breaks the old version for smooth upgrades
   * Previous build needed manual uploads, so buildd rebuild needed
 
  -- Wesley W. Terpstra (Debian) <terpstra at debian.org>  Fri, 01 Apr 2011 20:49:10 +0200

Modified: mlton/trunk/package/debian/control
===================================================================
--- mlton/trunk/package/debian/control	2011-04-01 18:52:35 UTC (rev 7522)
+++ mlton/trunk/package/debian/control	2011-04-01 20:25:34 UTC (rev 7523)
@@ -26,6 +26,8 @@
 Architecture: all
 Multi-Arch: foreign
 Depends: ${misc:Depends}
+Breaks: mlton (<< 20100608-3)
+Replaces: mlton (<< 20100608-3)
 Homepage: http://mlton.org/
 Description: Optimizing compiler for Standard ML - basis library
  MLton is a whole-program optimizing compiler
@@ -44,6 +46,8 @@
 Architecture: all
 Multi-Arch: foreign
 Depends: ${misc:Depends}
+Breaks: mlton (<< 20100608-3)
+Replaces: mlton (<< 20100608-3)
 Homepage: http://mlton.org/
 Description: Optimizing compiler for Standard ML - documentation
  MLton is a whole-program optimizing compiler
@@ -61,6 +65,8 @@
 Architecture: alpha amd64 armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 mips mipsel powerpc s390 sparc
 Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends}, gcc, libc6-dev, libgmp-dev, mlton-basis (= ${source:Version}), mlton-runtime-native (= ${binary:Version}) | mlton-runtime
+Breaks: mlton (<< 20100608-3)
+Replaces: mlton (<< 20100608-3)
 Homepage: http://mlton.org/
 Description: Optimizing compiler for Standard ML - compiler
  MLton is a whole-program optimizing compiler
@@ -78,6 +84,8 @@
 Architecture: alpha amd64 armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 mips mipsel powerpc s390 sparc
 Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Breaks: mlton (<< 20100608-3)
+Replaces: mlton (<< 20100608-3)
 Homepage: http://mlton.org/
 Description: Optimizing compiler for Standard ML - tools
  MLton is a whole-program optimizing compiler




More information about the MLton-commit mailing list