[slepc] 01/03: Remove dangling alternatives links

Drew Parsons dparsons at moszumanska.debian.org
Thu Apr 7 14:25:04 UTC 2016


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

dparsons pushed a commit to tag debian/3.6.3.dfsg1-2
in repository slepc.

commit 8bac747b99ed7bb48258b9d274cc0a69fc5c7c37
Author: Drew Parsons <dparsons at debian.org>
Date:   Thu Apr 7 20:19:29 2016 +0800

    Remove dangling alternatives links
    
    Remove alternatives link for libslepc_real.so.3.6 when package
    libslepc3.6.3 is removed.
    
    Likewise libslepc_complex.so.3.6 (package libslepc-complex-3.6.3).
    
    Closes: #820283.
---
 debian/changelog                    | 8 ++++++++
 debian/libslepc-complex-3.6.3.prerm | 1 +
 debian/libslepc3.6.3.prerm          | 1 +
 3 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d4f1d92..3d8dce4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+slepc (3.6.3.dfsg1-2) UNRELEASED; urgency=medium
+
+  * Remove alternatives link for libslepc_real.so.3.6 when
+    package libslepc3.6.3 is removed. Likewise libslepc_complex.so.3.6
+    (package libslepc-complex-3.6.3). Closes: #820283.
+
+ -- Drew Parsons <dparsons at debian.org>  Thu, 07 Apr 2016 20:12:23 +0800
+
 slepc (3.6.3.dfsg1-1) unstable; urgency=medium
 
   * New upstream version.
diff --git a/debian/libslepc-complex-3.6.3.prerm b/debian/libslepc-complex-3.6.3.prerm
index a12f050..09da466 100644
--- a/debian/libslepc-complex-3.6.3.prerm
+++ b/debian/libslepc-complex-3.6.3.prerm
@@ -8,6 +8,7 @@ SONAME=$( echo ${SLEPC_VERSION} | awk 'BEGIN { FS="."}; {print $1"."$2 }' )
 # Remove alternatives links
 if [ "$1" = "remove" ]; then
   update-alternatives --remove libslepc.so.${SONAME} /usr/lib/${DEB_HOST_MULTIARCH}/libslepc_complex.so.${SLEPC_VERSION}
+  update-alternatives --remove libslepc_complex.so.${SONAME} /usr/lib/${DEB_HOST_MULTIARCH}/libslepc_complex.so.${SLEPC_VERSION}
 fi
 
 #DEBHELPER#
diff --git a/debian/libslepc3.6.3.prerm b/debian/libslepc3.6.3.prerm
index 86201af..969ee50 100644
--- a/debian/libslepc3.6.3.prerm
+++ b/debian/libslepc3.6.3.prerm
@@ -8,6 +8,7 @@ SONAME=$( echo ${SLEPC_VERSION} | awk 'BEGIN { FS="."}; {print $1"."$2 }' )
 # Remove alternatives links
 if [ "$1" = "remove" ]; then
   update-alternatives --remove libslepc.so.${SONAME} /usr/lib/${DEB_HOST_MULTIARCH}/libslepc_real.so.${SLEPC_VERSION}
+  update-alternatives --remove libslepc_real.so.${SONAME} /usr/lib/${DEB_HOST_MULTIARCH}/libslepc_real.so.${SLEPC_VERSION}
 fi
 
 #DEBHELPER#

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



More information about the debian-science-commits mailing list