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

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


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

sebastien pushed a commit to branch master
in repository lapack.

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

    Drop obsolete code in maintainer scripts to deal with the transition liblapack.so.3gf => liblapack.so.3.
---
 debian/changelog              |  7 +++++++
 debian/liblapack-dev.postinst |  5 -----
 debian/liblapack3.preinst     | 15 ---------------
 debian/liblapack3.prerm       |  5 -----
 debian/liblapack3gf.postinst  | 13 -------------
 debian/liblapack3gf.prerm     | 21 ---------------------
 6 files changed, 7 insertions(+), 59 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7e73a42..d136e40 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+lapack (3.5.0-3) UNRELEASED; urgency=medium
+
+  * Drop obsolete code in maintainer scripts to deal with the transition
+    liblapack.so.3gf => liblapack.so.3.
+
+ -- Sébastien Villemot <sebastien at debian.org>  Wed, 19 Feb 2014 15:41:55 +0100
+
 lapack (3.5.0-2) unstable; urgency=low
 
   * Do not compile the testsuite with -frecursive. Otherwise some test
diff --git a/debian/liblapack-dev.postinst b/debian/liblapack-dev.postinst
index f881c0f..7e0ed1a 100644
--- a/debian/liblapack-dev.postinst
+++ b/debian/liblapack-dev.postinst
@@ -5,11 +5,6 @@ set -e
 update-alternatives --install /usr/lib/liblapack.so liblapack.so /usr/lib/lapack/liblapack.so 20 \
      --slave /usr/lib/liblapack.a liblapack.a /usr/lib/lapack/liblapack.a
 
-# Remove previous (deprecated) alternatives
-# See bug #576801
-update-alternatives --remove liblapackgf-3.a /usr/lib/liblapack.a
-update-alternatives --remove liblapackgf-3.so /usr/lib/liblapack.so
-
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.
 
diff --git a/debian/liblapack3.preinst b/debian/liblapack3.preinst
deleted file mode 100644
index 79652d8..0000000
--- a/debian/liblapack3.preinst
+++ /dev/null
@@ -1,15 +0,0 @@
-#! /bin/sh
-
-set -e
-
-# For the transition liblapack3gf => liblapack3
-update-alternatives --remove liblapack.so.3gf /usr/lib/liblapack/liblapack.so.3
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/liblapack3.prerm b/debian/liblapack3.prerm
index 2a411fb..3d3605d 100644
--- a/debian/liblapack3.prerm
+++ b/debian/liblapack3.prerm
@@ -1,11 +1,6 @@
 #!/bin/sh
 
 set -e
-if [ "$1" = "upgrade" ]
-then
-    update-alternatives --display liblapack.so.3gf >/dev/null 2>&1 && update-alternatives --remove-all liblapack.so.3gf
-fi
-
 
 if [ "$1" != "upgrade" ]
 then
diff --git a/debian/liblapack3gf.postinst b/debian/liblapack3gf.postinst
deleted file mode 100644
index adc9307..0000000
--- a/debian/liblapack3gf.postinst
+++ /dev/null
@@ -1,13 +0,0 @@
-#! /bin/sh
-
-set -e
-
-# For the transition liblapack3gf => liblapack3
-update-alternatives --remove liblapack.so.3gf /usr/lib/liblapack/liblapack.so.3
-
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/liblapack3gf.prerm b/debian/liblapack3gf.prerm
deleted file mode 100644
index 6bc399c..0000000
--- a/debian/liblapack3gf.prerm
+++ /dev/null
@@ -1,21 +0,0 @@
-#! /bin/sh
-
-set -e
-
-if [ "$1" = "upgrade" ]
-then
-# Remove the old declaration
-    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 liblapack3gf => liblapack3
-    update-alternatives --remove liblapack.so.3gf /usr/lib/liblapack/liblapack.so.3
-fi
-
-#DEBHELPER#
-
-exit 0
-
-

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



More information about the debian-science-commits mailing list