Bug#776168: (pre-approve) unblock: atlas/3.10.2-7
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package atlas
Cleanup of obsolete alternatives dating back to lenny and leaving
dangling symlinks in /usr/lib
unblock atlas/3.10.2-7
Andreas
diff -Nru atlas-3.10.2/debian/changelog atlas-3.10.2/debian/changelog
--- atlas-3.10.2/debian/changelog 2014-11-22 13:37:44.000000000 +0100
+++ atlas-3.10.2/debian/changelog 2015-01-24 23:14:29.000000000 +0100
@@ -1,3 +1,11 @@
+atlas (3.10.2-7) unstable; urgency=medium
+
+ [ Andreas Beckmann ]
+ * libatlas-base-dev.preinst: Cleanup obsolete alternatives dating back to
+ lenny. (Closes: #776089)
+
+ -- Sébastien Villemot <sebastien@debian.org> Sat, 24 Jan 2015 23:06:27 +0100
+
atlas (3.10.2-6) unstable; urgency=medium
* Add missing files in archdef for mips.
diff -Nru atlas-3.10.2/debian/libatlas-base-dev.preinst atlas-3.10.2/debian/libatlas-base-dev.preinst
--- atlas-3.10.2/debian/libatlas-base-dev.preinst 2014-07-12 12:23:26.000000000 +0200
+++ atlas-3.10.2/debian/libatlas-base-dev.preinst 2015-01-24 23:11:24.000000000 +0100
@@ -9,6 +9,13 @@
update-alternatives --remove libblas.so /usr/lib/atlas-base/atlas/libblas.so
fi
+# Cleanup obsolete alternatives dating back to lenny
+if [ "$1" = "install" ] || [ "$1" = "upgrade" ]
+then
+ update-alternatives --remove libblas-3.so /usr/lib/atlas/libblas.so
+ update-alternatives --remove liblapack-3.so /usr/lib/atlas/liblapack.so
+fi
+
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
Reply to: