[atlas] 01/01: Drop obsolete code in maintainer scripts to deal with the transitions libblas.so.3gf => libblas.so.3 and liblapack.so.3gf => liblapack.so.3.

Sébastien Villemot sebastien at debian.org
Wed Feb 19 14:46:49 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository atlas.

commit c2fafeb78238083ef7889cfd48dfc310c52dcf9f
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Wed Feb 19 15:46:16 2014 +0100

    Drop obsolete code in maintainer scripts to deal with the transitions libblas.so.3gf => libblas.so.3 and liblapack.so.3gf => liblapack.so.3.
---
 debian/changelog                 |  7 +++++++
 debian/libatlas3-base.preinst    |  6 ------
 debian/libatlas3-base.prerm      |  7 -------
 debian/libatlas3gf-base.postinst | 18 ------------------
 debian/libatlas3gf-base.prerm    | 28 ----------------------------
 5 files changed, 7 insertions(+), 59 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d240b7d..8b29e71 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+atlas (3.10.1-5) UNRELEASED; urgency=medium
+
+  * Drop obsolete code in maintainer scripts to deal with the transitions
+    libblas.so.3gf => libblas.so.3 and liblapack.so.3gf => liblapack.so.3.
+
+ -- Sébastien Villemot <sebastien at debian.org>  Wed, 19 Feb 2014 15:45:46 +0100
+
 atlas (3.10.1-4) unstable; urgency=medium
 
   * libatlas3gf-base: update long description to suppress lintian warning.
diff --git a/debian/libatlas3-base.preinst b/debian/libatlas3-base.preinst
index 3954d29..bc05a2d 100644
--- a/debian/libatlas3-base.preinst
+++ b/debian/libatlas3-base.preinst
@@ -2,12 +2,6 @@
 
 set -e
 
-
-# For the transition libblas3gf => libblas3
-update-alternatives --remove libblas.so.3gf /usr/lib/atlas-base/atlas/libblas.so.3
-# For the transition liblapack3gf => liblapack3
-update-alternatives --remove liblapack.so.3gf /usr/lib/atlas-base/liblapack_atlas.so.3
-
 # In 3.10.1-1, some symlinks were moved out of the alternatives system
 # The following ensures that they are freed by the alternatives system before unpacking
 if [ $1 = "upgrade" -a `dpkg --compare-versions "$2" ge 3.8.4-4~exp1` -a `dpkg --compare-versions "$2" lt 3.10.1-1` ]
diff --git a/debian/libatlas3-base.prerm b/debian/libatlas3-base.prerm
index 0b84a73..eb8f305 100644
--- a/debian/libatlas3-base.prerm
+++ b/debian/libatlas3-base.prerm
@@ -2,13 +2,6 @@
 
 set -e
 
-if [ "$1" = "upgrade" ]
-then
-# Clean up the old declarations
-    update-alternatives --display libblas.so.3gf >/dev/null 2>&1 && update-alternatives --remove-all libblas.so.3gf
-    update-alternatives --display liblapack.so.3gf >/dev/null 2>&1 && update-alternatives --remove-all liblapack.so.3gf
-fi
-
 if [ "$1" != "upgrade" ]
 then
     update-alternatives --remove libblas.so.3 \
diff --git a/debian/libatlas3gf-base.postinst b/debian/libatlas3gf-base.postinst
deleted file mode 100644
index 54be8a6..0000000
--- a/debian/libatlas3gf-base.postinst
+++ /dev/null
@@ -1,18 +0,0 @@
-#! /bin/sh
-
-set -e
-
-# For the transition libblas3gf => libblas3
-update-alternatives --remove  libblas.so.3gf     \
-    /usr/lib/atlas-base/atlas/libblas.so.3gf
-
-# For the transition liblapack3gf => liblapack3
-update-alternatives --remove  liblapack.so.3gf     \
-    /usr/lib/atlas-base/atlas/liblapack.so.3gf
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/libatlas3gf-base.prerm b/debian/libatlas3gf-base.prerm
deleted file mode 100644
index 3abfc76..0000000
--- a/debian/libatlas3gf-base.prerm
+++ /dev/null
@@ -1,28 +0,0 @@
-#! /bin/sh
-
-set -e
-
-if [ "$1" = "upgrade" ]
-then
-# Remove the old declaration
-    update-alternatives --display libblas.so.3gf >/dev/null 2>&1 && update-alternatives --remove-all libblas.so.3gf
-    update-alternatives --display liblapack.so.3gf >/dev/null 2>&1 && update-alternatives --remove-all liblapack.so.3gf
-fi
-
-if [ "$1" != "upgrade" ]
-then
-# For the transition libblas3gf => libblas3
-    update-alternatives --remove  libblas.so.3gf     \
-    /usr/lib/atlas-base/atlas/libblas.so.3gf
-
-# For the transition liblapack3gf => liblapack3
-    update-alternatives --remove  liblapack.so.3gf     \
-    /usr/lib/atlas-base/atlas/liblapack.so.3gf
-fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/atlas.git



More information about the debian-science-commits mailing list