[blas] 01/01: 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 14:40:45 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastien pushed a commit to branch master
in repository blas.
commit 450d73b59eab32ef213c525ee79d2750bd87bb96
Author: Sébastien Villemot <sebastien at debian.org>
Date: Wed Feb 19 15:39:59 2014 +0100
Drop obsolete code in maintainer scripts to deal with the transition libblas.so.3gf => libblas.so.3.
---
debian/changelog | 7 +++++++
debian/libblas-dev.postinst | 5 -----
debian/libblas3.preinst | 15 ---------------
debian/libblas3.prerm | 6 ------
debian/libblas3gf.postinst | 13 -------------
debian/libblas3gf.prerm | 22 ----------------------
6 files changed, 7 insertions(+), 61 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 082ecc5..a33aaa2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+blas (1.2.20110419-8) UNRELEASED; urgency=medium
+
+ * 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, 19 Feb 2014 15:39:07 +0100
+
blas (1.2.20110419-7) unstable; urgency=low
* Make sure that -mieee is used when compiling on alpha
diff --git a/debian/libblas-dev.postinst b/debian/libblas-dev.postinst
index 067d69f..ea1fffb 100644
--- a/debian/libblas-dev.postinst
+++ b/debian/libblas-dev.postinst
@@ -5,11 +5,6 @@ set -e
update-alternatives --install /usr/lib/libblas.so libblas.so /usr/lib/libblas/libblas.so 10 \
--slave /usr/lib/libblas.a libblas.a /usr/lib/libblas/libblas.a
-# Remove previous (deprecated) alternatives
-# See bug #576801
-update-alternatives --remove libblas-3gf.so /usr/lib/libblas.so
-update-alternatives --remove libblas-3gf.a /usr/lib/libblas.a
-
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
diff --git a/debian/libblas3.preinst b/debian/libblas3.preinst
deleted file mode 100644
index 1d24451..0000000
--- a/debian/libblas3.preinst
+++ /dev/null
@@ -1,15 +0,0 @@
-#! /bin/sh
-
-set -e
-
-# For the transition libblas3gf => libblas3
-update-alternatives --remove libblas.so.3gf /usr/lib/libblas/libblas.so.3
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/libblas3.prerm b/debian/libblas3.prerm
index e551ceb..ea30455 100644
--- a/debian/libblas3.prerm
+++ b/debian/libblas3.prerm
@@ -2,12 +2,6 @@
set -e
-if [ "$1" = "upgrade" ]
-then
- 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 /usr/lib/libblas/libblas.so.3
diff --git a/debian/libblas3gf.postinst b/debian/libblas3gf.postinst
deleted file mode 100644
index 91d0103..0000000
--- a/debian/libblas3gf.postinst
+++ /dev/null
@@ -1,13 +0,0 @@
-#! /bin/sh
-
-set -e
-
-# For the transition libblas3gf => libblas3
-update-alternatives --remove libblas.so.3gf /usr/lib/libblas/libblas.so.3
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/libblas3gf.prerm b/debian/libblas3gf.prerm
deleted file mode 100644
index 33fc496..0000000
--- a/debian/libblas3gf.prerm
+++ /dev/null
@@ -1,22 +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
-fi
-
-if [ "$1" != "upgrade" ]
-then
-# For the transition libblas3gf => libblas3
- update-alternatives --remove libblas.so.3gf /usr/lib/libblas/libblas.so.3
-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/blas.git
More information about the debian-science-commits
mailing list