[openblas] 01/03: Drop obsolete code in maintainer scripts to deal with the transition libblas.so.3gf => libblas.so.3.

Sébastien Villemot sebastien at debian.org
Wed Feb 19 16:37:31 UTC 2014


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

sebastien pushed a commit to branch master
in repository openblas.

commit 3cee1e7a0c841ef143352ae84e5eb1e0858fb38d
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Wed Feb 19 15:47:42 2014 +0100

    Drop obsolete code in maintainer scripts to deal with the transition libblas.so.3gf => libblas.so.3.
---
 debian/changelog                |  2 ++
 debian/libopenblas-base.preinst | 12 ------------
 debian/libopenblas-base.prerm   |  6 ------
 3 files changed, 2 insertions(+), 18 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d535ca5..8642ea9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ openblas (0.2.8-4) UNRELEASED; urgency=low
     OpenBLAS is called from an OpenMP application.
   * fork-handler.patch: fixes hangs of OpenBLAS when called from a program
     using OpenMP (Closes: #739331)
+  * Drop obsolete code in maintainer scripts to deal with the transition
+    libblas.so.3gf => libblas.so.3.
 
  -- Sébastien Villemot <sebastien at debian.org>  Mon, 17 Feb 2014 18:48:35 +0100
 
diff --git a/debian/libopenblas-base.preinst b/debian/libopenblas-base.preinst
deleted file mode 100644
index 1498e41..0000000
--- a/debian/libopenblas-base.preinst
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /bin/sh
-
-set -e
-# For the transition libblas3gf => libblas3
-update-alternatives --remove libblas.so.3gf /usr/lib/openblas-base/libopenblas.so.0
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/libopenblas-base.prerm b/debian/libopenblas-base.prerm
index ccc1ef0..59dcdce 100644
--- a/debian/libopenblas-base.prerm
+++ b/debian/libopenblas-base.prerm
@@ -2,12 +2,6 @@
 
 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
-fi
-
 if [ "$1" != "upgrade" ]
 then
     update-alternatives --remove libblas.so.3 \

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



More information about the debian-science-commits mailing list