[petsc] 01/01: Drop legacy alternative link to /usr/lib/libpetsc.so.

Drew Parsons dparsons at moszumanska.debian.org
Mon Apr 4 13:42:12 UTC 2016


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

dparsons pushed a commit to branch master
in repository petsc.

commit f935e1cdf709b45c7c5fa1615f066964747772e7
Author: Drew Parsons <dparsons at debian.org>
Date:   Mon Apr 4 21:40:46 2016 +0800

    Drop legacy alternative link to /usr/lib/libpetsc.so.
    
    In a multiarch world, it just makes trouble with ldconfig.
---
 debian/changelog                           | 2 ++
 debian/libpetsc-complex-3.6.3-dev.postinst | 3 +--
 debian/libpetsc3.6.3-dev.postinst          | 3 +--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1edb9d9..76714c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 petsc (3.6.3.dfsg2-2) UNRELEASED; urgency=medium
 
   * complex dev package should Suggest: complex (not real) debug package
+  * Drop legacy alternative link to /usr/lib/libpetsc.so. It just
+    makes trouble with ldconfig.
 
  -- Drew Parsons <dparsons at debian.org>  Mon, 04 Apr 2016 14:09:15 +0800
 
diff --git a/debian/libpetsc-complex-3.6.3-dev.postinst b/debian/libpetsc-complex-3.6.3-dev.postinst
index 80285bf..8b80443 100644
--- a/debian/libpetsc-complex-3.6.3-dev.postinst
+++ b/debian/libpetsc-complex-3.6.3-dev.postinst
@@ -14,8 +14,7 @@ if [ "$1" = "configure" ]; then
 
 # alternative default petsc (e.g. real or complex)
 update-alternatives --install /usr/lib/petsc petsc ${PETSC_DIR_COMPLEX} ${PETSC_VERSION_NUMBER}73 \
-  --slave /usr/lib/libpetsc.so libpetsc.so /usr/lib/${DEB_HOST_MULTIARCH}/libpetsc_complex.so.${PETSC_VERSION} \
-  --slave /usr/lib/${DEB_HOST_MULTIARCH}/libpetsc.so libpetsc.so.multiarch /usr/lib/${DEB_HOST_MULTIARCH}/libpetsc_complex.so.${PETSC_VERSION} \
+  --slave /usr/lib/${DEB_HOST_MULTIARCH}/libpetsc.so libpetsc.so /usr/lib/${DEB_HOST_MULTIARCH}/libpetsc_complex.so.${PETSC_VERSION} \
   --slave /usr/include/petsc petscinclude ${PETSC_DIR_COMPLEX}/include \
   --slave /usr/lib/pkgconfig/PETSc.pc PETSc.pc ${PETSC_DIR_COMPLEX}/lib/pkgconfig/PETSc.pc \
   --slave /usr/share/octave/site/m/petsc petsc-octave ${PETSC_DIR_COMPLEX}/share/petsc/matlab
diff --git a/debian/libpetsc3.6.3-dev.postinst b/debian/libpetsc3.6.3-dev.postinst
index 0a0372a..374e6db 100644
--- a/debian/libpetsc3.6.3-dev.postinst
+++ b/debian/libpetsc3.6.3-dev.postinst
@@ -14,8 +14,7 @@ if [ "$1" = "configure" ]; then
 
 # alternative default petsc (e.g. real or complex)
 update-alternatives --install /usr/lib/petsc petsc ${PETSC_DIR_REAL} ${PETSC_VERSION_NUMBER}77 \
-  --slave /usr/lib/libpetsc.so libpetsc.so /usr/lib/${DEB_HOST_MULTIARCH}/libpetsc_real.so.${PETSC_VERSION} \
-  --slave /usr/lib/${DEB_HOST_MULTIARCH}/libpetsc.so libpetsc.so.multiarch /usr/lib/${DEB_HOST_MULTIARCH}/libpetsc_real.so.${PETSC_VERSION} \
+  --slave /usr/lib/${DEB_HOST_MULTIARCH}/libpetsc.so libpetsc.so /usr/lib/${DEB_HOST_MULTIARCH}/libpetsc_real.so.${PETSC_VERSION} \
   --slave /usr/include/petsc petscinclude ${PETSC_DIR_REAL}/include \
   --slave /usr/lib/pkgconfig/PETSc.pc PETSc.pc ${PETSC_DIR_REAL}/lib/pkgconfig/PETSc.pc \
   --slave /usr/share/octave/site/m/petsc petsc-octave ${PETSC_DIR_REAL}/share/petsc/matlab

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



More information about the debian-science-commits mailing list