[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#854345: unblock: slepc/3.7.3+dfsg1-5



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package slepc

Thanks to #852514 (slepc is packaged similarly to petsc) we know that
libslepc3.7-dev 3.7.3+dfsg1-4 will leave stray alternatives for
slepc3.7 behind when upgrading to the next patch release (i.e. in the
future when upgrading from stretch to later versions) . Release
3.7.3+dfsg1-5 fixes the problem. This release should go into stretch,
or upgrades from stretch later on will be messier than they should be.

slepc/3.7.3+dfsg1-5 is built on all relevant architectures.

This unblock bug is a partner to Bug#854338, delivering the equivalent
fix to petsc.

debdiff attached


unblock slepc/3.7.3+dfsg1-5

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru slepc-3.7.3+dfsg1/debian/changelog slepc-3.7.3+dfsg1/debian/changelog
--- slepc-3.7.3+dfsg1/debian/changelog	2017-01-18 00:47:49.000000000 +0800
+++ slepc-3.7.3+dfsg1/debian/changelog	2017-02-06 16:04:17.000000000 +0800
@@ -1,3 +1,12 @@
+slepc (3.7.3+dfsg1-5) unstable; urgency=medium
+
+  * Move slepc3.7 and slepc3.7-real alternatives handling from
+    libslepc3.7-dev to libslepc3.7.3-dev. Similarly slepc3.7-complex.
+    Otherwise alternatives for older patch versions will be left
+    unowned after upgrading. cf. bug#852514.
+
+ -- Drew Parsons <dparsons@debian.org>  Mon, 06 Feb 2017 16:04:17 +0800
+
 slepc (3.7.3+dfsg1-4) unstable; urgency=medium
 
   * patch-specific SLEPc dev packages depend on specific patch versions
diff -Nru slepc-3.7.3+dfsg1/debian/control slepc-3.7.3+dfsg1/debian/control
--- slepc-3.7.3+dfsg1/debian/control	2017-01-18 00:47:49.000000000 +0800
+++ slepc-3.7.3+dfsg1/debian/control	2017-02-06 16:04:17.000000000 +0800
@@ -38,7 +38,7 @@
  .
  This is a dummy package that depends on the latest version of SLEPc 3.7 
  which provides the static libraries, shared links, and header files
- for SLEPC with real numbers.
+ for SLEPc with real numbers.
 
 Package: libslepc3.7.3-dev
 Section: libdevel
@@ -56,7 +56,7 @@
  sparse, rectangular matrix.
  .
  This package contains the static libraries, shared links, and header files
- for SLEPC with real numbers.
+ for SLEPc with real numbers.
 
 Package: libslepc3.7.3
 Section: libs
@@ -101,7 +101,7 @@
  .
  This is a dummy package that depends on the latest version of SLEPc 3.7 
  which provides the static libraries, shared links, and header files
- for SLEPC with complex numbers.
+ for SLEPc with complex numbers.
 
 Package: libslepc-complex-3.7.3-dev
 Section: libdevel
@@ -119,7 +119,7 @@
  sparse, rectangular matrix.
  .
  This package contains the static libraries, shared links, and header files
- for SLEPC with complex numbers.
+ for SLEPc with complex numbers.
 
 Package: libslepc-complex-3.7.3
 Section: libs
diff -Nru slepc-3.7.3+dfsg1/debian/libslepc3.7.3-dev.postinst slepc-3.7.3+dfsg1/debian/libslepc3.7.3-dev.postinst
--- slepc-3.7.3+dfsg1/debian/libslepc3.7.3-dev.postinst	2017-01-18 00:47:49.000000000 +0800
+++ slepc-3.7.3+dfsg1/debian/libslepc3.7.3-dev.postinst	2017-02-06 16:04:17.000000000 +0800
@@ -2,11 +2,15 @@
 
 DEB_HOST_MULTIARCH=__DEB_HOST_MULTIARCH__
 
+SONAME=__SLEPC_SONAME_VERSION__
+
 SLEPC_VERSION=__SLEPC_VERSION__
 SLEPC_ARCH=${DEB_HOST_MULTIARCH}
 SLEPC_REAL_ARCH=${SLEPC_ARCH}-real
 SLEPC_VERSION_NUMBER=$( echo ${SLEPC_VERSION} | sed "s/\.//g" )
 
+SLEPC_DIR_REAL=/usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_REAL_ARCH}
+
 # Make alternatives links
 if [ "$1" = "configure" ]; then
 
@@ -29,6 +33,12 @@
 # alternative base version of slepc real
 update-alternatives --install /usr/lib/${DEB_HOST_MULTIARCH}/libslepc_real.so libslepc_real.so /usr/lib/${DEB_HOST_MULTIARCH}/libslepc_real.so.${SLEPC_VERSION} ${SLEPC_VERSION_NUMBER}77
 
+# alternative slepc for this X.Y soname (e.g. real or complex)
+update-alternatives --install /usr/lib/slepcdir/${SONAME} slepc${SONAME} ${SLEPC_DIR_REAL} ${SLEPC_VERSION_NUMBER}77
+
+# alternative real slepc for this X.Y soname
+update-alternatives --install /usr/lib/slepcdir/${SONAME}-real slepc${SONAME}-real ${SLEPC_DIR_REAL} ${SLEPC_VERSION_NUMBER}77
+
 fi
 
 
diff -Nru slepc-3.7.3+dfsg1/debian/libslepc3.7.3-dev.prerm slepc-3.7.3+dfsg1/debian/libslepc3.7.3-dev.prerm
--- slepc-3.7.3+dfsg1/debian/libslepc3.7.3-dev.prerm	2017-01-18 00:47:49.000000000 +0800
+++ slepc-3.7.3+dfsg1/debian/libslepc3.7.3-dev.prerm	2017-02-06 16:04:17.000000000 +0800
@@ -2,14 +2,21 @@
 
 DEB_HOST_MULTIARCH=__DEB_HOST_MULTIARCH__
 
+SONAME=__SLEPC_SONAME_VERSION__
+
 SLEPC_VERSION=__SLEPC_VERSION__
 SLEPC_ARCH=${DEB_HOST_MULTIARCH}
 SLEPC_REAL_ARCH=${SLEPC_ARCH}-real
 
+SLEPC_DIR_REAL=/usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_REAL_ARCH}
+
 # Remove alternatives links
 if [ "$1" = "remove" ]; then
   update-alternatives --remove slepc /usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_REAL_ARCH}
   update-alternatives --remove libslepc_real.so /usr/lib/${DEB_HOST_MULTIARCH}/libslepc_real.so.${SLEPC_VERSION}
+
+  update-alternatives --remove slepc${SONAME} ${SLEPC_DIR_REAL}
+  update-alternatives --remove slepc${SONAME}-real ${SLEPC_DIR_REAL}
 fi
 
 #DEBHELPER#
diff -Nru slepc-3.7.3+dfsg1/debian/libslepc3.7-dev.postinst slepc-3.7.3+dfsg1/debian/libslepc3.7-dev.postinst
--- slepc-3.7.3+dfsg1/debian/libslepc3.7-dev.postinst	2017-01-18 00:47:49.000000000 +0800
+++ slepc-3.7.3+dfsg1/debian/libslepc3.7-dev.postinst	1970-01-01 08:00:00.000000000 +0800
@@ -1,25 +0,0 @@
-#!/bin/sh -e
-
-DEB_HOST_MULTIARCH=__DEB_HOST_MULTIARCH__
-
-SLEPC_VERSION=__SLEPC_VERSION__
-SLEPC_ARCH=${DEB_HOST_MULTIARCH}
-SLEPC_REAL_ARCH=${SLEPC_ARCH}-real
-SLEPC_VERSION_NUMBER=$( echo ${SLEPC_VERSION} | sed "s/\.//g" )
-SONAME=__SLEPC_SONAME_VERSION__
-
-SLEPC_DIR_REAL=/usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_REAL_ARCH}
-
-# Make alternatives links
-if [ "$1" = "configure" ]; then
-
-# alternative slepc for this soname (e.g. real or complex)
-update-alternatives --install /usr/lib/slepcdir/${SONAME} slepc${SONAME} ${SLEPC_DIR_REAL} ${SLEPC_VERSION_NUMBER}77
-
-# alternative real slepc for this soname
-update-alternatives --install /usr/lib/slepcdir/${SONAME}-real slepc${SONAME}-real ${SLEPC_DIR_REAL} ${SLEPC_VERSION_NUMBER}77
-
-fi
-
-
-#DEBHELPER#
diff -Nru slepc-3.7.3+dfsg1/debian/libslepc3.7-dev.prerm slepc-3.7.3+dfsg1/debian/libslepc3.7-dev.prerm
--- slepc-3.7.3+dfsg1/debian/libslepc3.7-dev.prerm	2017-01-18 00:47:49.000000000 +0800
+++ slepc-3.7.3+dfsg1/debian/libslepc3.7-dev.prerm	1970-01-01 08:00:00.000000000 +0800
@@ -1,18 +0,0 @@
-#!/bin/sh -e
-
-DEB_HOST_MULTIARCH=__DEB_HOST_MULTIARCH__
-
-SLEPC_VERSION=__SLEPC_VERSION__
-SLEPC_ARCH=${DEB_HOST_MULTIARCH}
-SLEPC_REAL_ARCH=${SLEPC_ARCH}-real
-SONAME=__SLEPC_SONAME_VERSION__
-
-SLEPC_DIR_REAL=/usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_REAL_ARCH}
-
-# Remove alternatives links
-if [ "$1" = "remove" ]; then
-  update-alternatives --remove slepc${SONAME} ${SLEPC_DIR_REAL}
-  update-alternatives --remove slepc${SONAME}-real ${SLEPC_DIR_REAL}
-fi
-
-#DEBHELPER#
diff -Nru slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7.3-dev.postinst slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7.3-dev.postinst
--- slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7.3-dev.postinst	2017-01-18 00:47:49.000000000 +0800
+++ slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7.3-dev.postinst	2017-02-06 16:04:17.000000000 +0800
@@ -2,11 +2,15 @@
 
 DEB_HOST_MULTIARCH=__DEB_HOST_MULTIARCH__
 
+SONAME=__SLEPC_SONAME_VERSION__
+
 SLEPC_VERSION=__SLEPC_VERSION__
 SLEPC_ARCH=${DEB_HOST_MULTIARCH}
 SLEPC_COMPLEX_ARCH=${SLEPC_ARCH}-complex
 SLEPC_VERSION_NUMBER=$( echo ${SLEPC_VERSION} | sed "s/\.//g" )
 
+SLEPC_DIR_COMPLEX=/usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_COMPLEX_ARCH}
+
 # Make alternatives links
 if [ "$1" = "configure" ]; then
 
@@ -29,6 +33,13 @@
 # alternative base version of slepc complex
 update-alternatives --install /usr/lib/${DEB_HOST_MULTIARCH}/libslepc_complex.so libslepc_complex.so /usr/lib/${DEB_HOST_MULTIARCH}/libslepc_complex.so.${SLEPC_VERSION} ${SLEPC_VERSION_NUMBER}77
 
+# alternative slepc for this X.Y soname (e.g. real or complex)
+update-alternatives --install /usr/lib/slepcdir/${SONAME} slepc${SONAME} ${SLEPC_DIR_COMPLEX} ${SLEPC_VERSION_NUMBER}73
+
+# alternative complex slepc for this X.Y soname
+update-alternatives --install /usr/lib/slepcdir/${SONAME}-complex slepc${SONAME}-complex ${SLEPC_DIR_COMPLEX} ${SLEPC_VERSION_NUMBER}73
+
+
 fi
 
 
diff -Nru slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7.3-dev.prerm slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7.3-dev.prerm
--- slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7.3-dev.prerm	2017-01-18 00:47:49.000000000 +0800
+++ slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7.3-dev.prerm	2017-02-06 16:04:17.000000000 +0800
@@ -2,14 +2,21 @@
 
 DEB_HOST_MULTIARCH=__DEB_HOST_MULTIARCH__
 
+SONAME=__SLEPC_SONAME_VERSION__
+
 SLEPC_VERSION=__SLEPC_VERSION__
 SLEPC_ARCH=${DEB_HOST_MULTIARCH}
 SLEPC_COMPLEX_ARCH=${SLEPC_ARCH}-complex
 
+SLEPC_DIR_COMPLEX=/usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_COMPLEX_ARCH}
+
 # Remove alternatives links
 if [ "$1" = "remove" ]; then
   update-alternatives --remove slepc /usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_COMPLEX_ARCH}
   update-alternatives --remove libslepc_complex.so /usr/lib/${DEB_HOST_MULTIARCH}/libslepc_complex.so.${SLEPC_VERSION}
+
+  update-alternatives --remove slepc${SONAME} ${SLEPC_DIR_COMPLEX}
+  update-alternatives --remove slepc${SONAME}-complex ${SLEPC_DIR_COMPLEX}
 fi
 
 #DEBHELPER#
diff -Nru slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7-dev.postinst slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7-dev.postinst
--- slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7-dev.postinst	2017-01-18 00:47:49.000000000 +0800
+++ slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7-dev.postinst	1970-01-01 08:00:00.000000000 +0800
@@ -1,25 +0,0 @@
-#!/bin/sh -e
-
-DEB_HOST_MULTIARCH=__DEB_HOST_MULTIARCH__
-
-SLEPC_VERSION=__SLEPC_VERSION__
-SLEPC_ARCH=${DEB_HOST_MULTIARCH}
-SLEPC_COMPLEX_ARCH=${SLEPC_ARCH}-complex
-SLEPC_VERSION_NUMBER=$( echo ${SLEPC_VERSION} | sed "s/\.//g" )
-SONAME=__SLEPC_SONAME_VERSION__
-
-SLEPC_DIR_COMPLEX=/usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_COMPLEX_ARCH}
-
-# Make alternatives links
-if [ "$1" = "configure" ]; then
-
-# alternative slepc for this soname (e.g. real or complex)
-update-alternatives --install /usr/lib/slepcdir/${SONAME} slepc${SONAME} ${SLEPC_DIR_COMPLEX} ${SLEPC_VERSION_NUMBER}73
-
-# alternative complex slepc for this soname
-update-alternatives --install /usr/lib/slepcdir/${SONAME}-complex slepc${SONAME}-complex ${SLEPC_DIR_COMPLEX} ${SLEPC_VERSION_NUMBER}73
-
-fi
-
-
-#DEBHELPER#
diff -Nru slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7-dev.prerm slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7-dev.prerm
--- slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7-dev.prerm	2017-01-18 00:47:49.000000000 +0800
+++ slepc-3.7.3+dfsg1/debian/libslepc-complex-3.7-dev.prerm	1970-01-01 08:00:00.000000000 +0800
@@ -1,18 +0,0 @@
-#!/bin/sh -e
-
-DEB_HOST_MULTIARCH=__DEB_HOST_MULTIARCH__
-
-SLEPC_VERSION=__SLEPC_VERSION__
-SLEPC_ARCH=${DEB_HOST_MULTIARCH}
-SLEPC_COMPLEX_ARCH=${SLEPC_ARCH}-complex
-SONAME=__SLEPC_SONAME_VERSION__
-
-SLEPC_DIR_COMPLEX=/usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_COMPLEX_ARCH}
-
-# Remove alternatives links
-if [ "$1" = "remove" ]; then
-  update-alternatives --remove slepc${SONAME} ${SLEPC_DIR_COMPLEX}
-  update-alternatives --remove slepc${SONAME}-complex ${SLEPC_DIR_COMPLEX}
-fi
-
-#DEBHELPER#

Reply to: