[Pkg-sdl-commits] [SCM] Debian packaging of smpeg branch, master, updated. debian/0.4.5+cvs20030824-4-2-g7acced2

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Sun Feb 17 22:49:21 UTC 2013


The following commit has been merged in the master branch:
commit 7acced27630308abed6258b3fe4f7325ec5f4098
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date:   Sun Feb 17 22:30:51 2013 +0000

    Add libsmpeg-dev.preinst to remove /usr/share/doc/libsmpeg-dev symlink
    
    Add libsmpeg-dev.preinst to remove /usr/share/doc/libsmpeg-dev symlink to
    libsmpeg0, if existing from previous versions of the package (it was like that
    in Squeeze).
    
    Otherwise, when -dev is removed, it removes files from the libsmpeg0 package.
    Thanks to Andreas Beckmann for the report (Closes: #700787).

diff --git a/debian/changelog b/debian/changelog
index 140df24..ecb7e68 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+smpeg (0.4.5+cvs20030824-5) unstable; urgency=low
+
+  * Add libsmpeg-dev.preinst to remove /usr/share/doc/libsmpeg-dev symlink to
+    libsmpeg0, if existing from previous versions of the package (it was like
+    that in Squeeze).  Otherwise, when -dev is removed, it removes files from
+    the libsmpeg0 package.  Thanks to Andreas Beckmann for the report (Closes:
+    #700787).
+
+ -- Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>  Sun, 17 Feb 2013 22:24:31 +0000
+
 smpeg (0.4.5+cvs20030824-4) unstable; urgency=low
 
   [ Felix Geyer ]
diff --git a/debian/libsmpeg-dev.preinst b/debian/libsmpeg-dev.preinst
new file mode 100644
index 0000000..18f8ea1
--- /dev/null
+++ b/debian/libsmpeg-dev.preinst
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+# bug #700787, was a symlink to 'libsmpeg0' in the past, so it will remove files
+# from there (e.g. debian/copyright)
+DOCDIR=/usr/share/doc/libsmpeg-dev
+if [ -L "$DOCDIR" ]; then
+    rm "$DOCDIR"
+fi
+
+
+#DEBHELPER#

-- 
Debian packaging of smpeg



More information about the pkg-sdl-commits mailing list