[slepc] 01/03: use general 3.6 Build-Depends and build automated debug package

Drew Parsons dparsons at moszumanska.debian.org
Mon May 23 22:46:31 UTC 2016


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

dparsons pushed a commit to branch master
in repository slepc.

commit 154337faa0171ebbcf9b6bfb80370776118287a9
Author: Drew Parsons <dparsons at debian.org>
Date:   Tue May 24 05:08:18 2016 +0800

    use general 3.6 Build-Depends and build automated debug package
    
    * Build-Depends: libpetsc3.6-dev (and -complex-) not libpetsc3.6.3-dev.
    Otherwise we miss automatic rebuilding against new petsc3.6 versions.
    
    * Don't build separate -dbg package (SLEPc has no specific debug
      configure flag, unlike PETSc). Instead, use automated dbgsym
      package with dh_strip.
---
 debian/changelog                           |  9 +++++
 debian/control                             | 38 +++---------------
 debian/libslepc-complex-3.6.3-dbg.postinst | 31 ---------------
 debian/libslepc-complex-3.6.3-dbg.prerm    | 14 -------
 debian/libslepc3.6.3-dbg.postinst          | 30 --------------
 debian/libslepc3.6.3-dbg.prerm             | 14 -------
 debian/rules                               | 64 ++++--------------------------
 7 files changed, 21 insertions(+), 179 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 25c78b3..3038edd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+slepc (3.6.3.dfsg1-4) UNRELEASED; urgency=medium
+
+  * Build-Depends: libpetsc3.6-dev (and -complex-) not libpetsc3.6.3-dev.
+  * Don't build separate -dbg package (SLEPc has no specific debug
+    configure flag, unlike PETSc). Instead, use automated dbgsym
+    package with dh_strip.
+
+ -- Drew Parsons <dparsons at debian.org>  Tue, 24 May 2016 05:03:58 +0800
+
 slepc (3.6.3.dfsg1-3) unstable; urgency=medium
 
   * Drop /usr/lib/libslepc.so alternative from debug packages.
diff --git a/debian/control b/debian/control
index 26f51da..c20ca8a 100644
--- a/debian/control
+++ b/debian/control
@@ -5,8 +5,7 @@ Uploaders: Christophe Prud'homme <prudhomm at debian.org>, "Adam C. Powell, IV" <ha
  Drew Parsons <dparsons at debian.org>
 Build-Depends: debhelper (>= 9), quilt, python (>= 2.4.4-6),
  pkg-config, dh-python, gfortran,
- libpetsc3.6.3-dev, libpetsc3.6.3-dbg,
- libpetsc-complex-3.6.3-dev, libpetsc-complex-3.6.3-dbg,
+ libpetsc3.6-dev, libpetsc-complex-3.6-dev,
  libarpack2-dev, libparpack2-dev
 Standards-Version: 3.9.7
 Section: libs
@@ -45,9 +44,9 @@ Description: Scalable Library for Eigenvalue Problem Computations
 Package: libslepc3.6.3-dev
 Section: libdevel
 Architecture: any
-Depends: libslepc3.6.3 (= ${binary:Version}), libpetsc3.6.3-dev, libarpack2-dev, libhdf5-mpi-dev, 
+Depends: libslepc3.6.3 (= ${binary:Version}), libpetsc3.6-dev, libarpack2-dev, libhdf5-mpi-dev, 
  ${misc:Depends}, ${python:Depends}
-Suggests: libslepc3.6.3-dbg (= ${binary:Version}), slepc3.6.3-doc (= ${binary:Version})
+Suggests: slepc3.6.3-doc (= ${binary:Version})
 Conflicts: libslepc2.3.2-dev
 Description: Scalable Library for Eigenvalue Problem Computations
  SLEPc is a software library for the solution of large scale sparse eigenvalue
@@ -74,20 +73,6 @@ Description: Scalable Library for Eigenvalue Problem Computations
  .
  This package contains the shared libraries for SLEPc with real numbers.
 
-Package: libslepc3.6.3-dbg
-Architecture: any
-Section: debug
-Depends: libslepc3.6.3-dev (= ${binary:Version}), libpetsc3.6.3-dbg, libarpack2-dbg, 
- ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-Description: Scalable Library for Eigenvalue Problem Computations
- SLEPc is a software library for the solution of large scale sparse eigenvalue
- problems on parallel computers. It is an extension of PETSc and can be used
- for either standard or generalized eigenproblems, with real or complex
- arithmetic. It can also be used for computing a partial SVD of a large,
- sparse, rectangular matrix.
- .
- This package contains the debugging libraries for SLEPc with real numbers.
-
 Package: slepc3.6.3-doc
 Architecture: all
 Section: doc
@@ -120,9 +105,9 @@ Description: Scalable Library for Eigenvalue Problem Computations
 Package: libslepc-complex-3.6.3-dev
 Section: libdevel
 Architecture: any
-Depends: libslepc-complex-3.6.3 (= ${binary:Version}), libpetsc-complex-3.6.3-dev, libarpack2-dev, libhdf5-mpi-dev, 
+Depends: libslepc-complex-3.6.3 (= ${binary:Version}), libpetsc-complex-3.6-dev, libarpack2-dev, libhdf5-mpi-dev, 
  ${misc:Depends}, ${python:Depends}
-Suggests: libslepc-complex-3.6.3-dbg (= ${binary:Version}), slepc3.6.3-doc (= ${binary:Version})
+Suggests: slepc3.6.3-doc (= ${binary:Version})
 Conflicts: libslepc2.3.2-dev
 Description: Scalable Library for Eigenvalue Problem Computations
  SLEPc is a software library for the solution of large scale sparse eigenvalue
@@ -149,17 +134,4 @@ Description: Scalable Library for Eigenvalue Problem Computations
  .
  This package contains the shared libraries for SLEPc with complex numbers.
 
-Package: libslepc-complex-3.6.3-dbg
-Architecture: any
-Section: debug
-Depends: libslepc-complex-3.6.3-dev (= ${binary:Version}), libpetsc-complex-3.6.3-dbg, libarpack2-dbg, 
- ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-Description: Scalable Library for Eigenvalue Problem Computations
- SLEPc is a software library for the solution of large scale sparse eigenvalue
- problems on parallel computers. It is an extension of PETSc and can be used
- for either standard or generalized eigenproblems, with real or complex
- arithmetic. It can also be used for computing a partial SVD of a large,
- sparse, rectangular matrix.
- .
- This package contains the debugging libraries for SLEPc with complex numbers.
 
diff --git a/debian/libslepc-complex-3.6.3-dbg.postinst b/debian/libslepc-complex-3.6.3-dbg.postinst
deleted file mode 100644
index 950bf24..0000000
--- a/debian/libslepc-complex-3.6.3-dbg.postinst
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh -e
-
-DEB_HOST_MULTIARCH=__DEB_HOST_MULTIARCH__
-
-SLEPC_VERSION=__SLEPC_VERSION__
-SLEPC_ARCH=${DEB_HOST_MULTIARCH}
-SLEPC_DEBUG_ARCH=${SLEPC_ARCH}-complex-debug
-SLEPC_VERSION_NUMBER=$( echo ${SLEPC_VERSION} | sed "s/\.//g" )
-
-# Make alternatives links
-if [ "$1" = "configure" ]; then
-
-# alternative libslepc.so.multiarch is deprecated
-# test if libslepc.so.multiarch is still in use, so remove old slepc alternatives
-# This should be safe since Conflicts are set up with the dev package versions using deprecated libslepc.so.multiarch.
-if update-alternatives --query slepc | grep libslepc.so.multiarch > /dev/null ; then
-  echo Removing deprecated slepc alternatives using libslepc.so.multiarch.
-  for alt in `update-alternatives --list slepc`; do
-    update-alternatives --remove slepc ${alt}
-  done
-fi
-
-update-alternatives --install /usr/lib/slepc slepc /usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_DEBUG_ARCH} ${SLEPC_VERSION_NUMBER}33 \
-  --slave /usr/lib/${DEB_HOST_MULTIARCH}/libslepc.so libslepc.so /usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_DEBUG_ARCH}/lib/libslepc_complex.so.${SLEPC_VERSION} \
-  --slave /usr/include/slepc slepcinclude /usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_DEBUG_ARCH}/include \
-  --slave /usr/lib/pkgconfig/SLEPc.pc SLEPc.pc /usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_DEBUG_ARCH}/lib/pkgconfig/SLEPc.pc
-
-fi
-
-
-#DEBHELPER#
diff --git a/debian/libslepc-complex-3.6.3-dbg.prerm b/debian/libslepc-complex-3.6.3-dbg.prerm
deleted file mode 100644
index 14d9826..0000000
--- a/debian/libslepc-complex-3.6.3-dbg.prerm
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh -e
-
-DEB_HOST_MULTIARCH=__DEB_HOST_MULTIARCH__
-
-SLEPC_VERSION=__SLEPC_VERSION__
-SLEPC_ARCH=${DEB_HOST_MULTIARCH}
-SLEPC_DEBUG_ARCH=${SLEPC_ARCH}-complex-debug
-
-# Remove alternatives links
-if [ "$1" = "remove" ]; then
-  update-alternatives --remove slepc /usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_DEBUG_ARCH}
-fi
-
-#DEBHELPER#
diff --git a/debian/libslepc3.6.3-dbg.postinst b/debian/libslepc3.6.3-dbg.postinst
deleted file mode 100644
index f7b52a0..0000000
--- a/debian/libslepc3.6.3-dbg.postinst
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh -e
-
-DEB_HOST_MULTIARCH=__DEB_HOST_MULTIARCH__
-
-SLEPC_VERSION=__SLEPC_VERSION__
-SLEPC_ARCH=${DEB_HOST_MULTIARCH}
-SLEPC_DEBUG_ARCH=${SLEPC_ARCH}-real-debug
-SLEPC_VERSION_NUMBER=$( echo ${SLEPC_VERSION} | sed "s/\.//g" )
-
-# Make alternatives links
-if [ "$1" = "configure" ]; then
-
-# alternative libslepc.so.multiarch is deprecated
-# test if libslepc.so.multiarch is still in use, so remove old slepc alternatives
-# This should be safe since Conflicts are set up with the dev package versions using deprecated libslepc.so.multiarch.
-if update-alternatives --query slepc | grep libslepc.so.multiarch > /dev/null ; then
-  echo Removing deprecated slepc alternatives using libslepc.so.multiarch.
-  for alt in `update-alternatives --list slepc`; do
-    update-alternatives --remove slepc ${alt}
-  done
-fi
-
-update-alternatives --install /usr/lib/slepc slepc /usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_DEBUG_ARCH} ${SLEPC_VERSION_NUMBER}37 \
-  --slave /usr/lib/${DEB_HOST_MULTIARCH}/libslepc.so libslepc.so /usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_DEBUG_ARCH}/lib/libslepc_real.so.${SLEPC_VERSION} \
-  --slave /usr/include/slepc slepcinclude /usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_DEBUG_ARCH}/include \
-  --slave /usr/lib/pkgconfig/SLEPc.pc SLEPc.pc /usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_DEBUG_ARCH}/lib/pkgconfig/SLEPc.pc
-fi
-
-
-#DEBHELPER#
diff --git a/debian/libslepc3.6.3-dbg.prerm b/debian/libslepc3.6.3-dbg.prerm
deleted file mode 100644
index 4a0b9a3..0000000
--- a/debian/libslepc3.6.3-dbg.prerm
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh -e
-
-DEB_HOST_MULTIARCH=__DEB_HOST_MULTIARCH__
-
-SLEPC_VERSION=__SLEPC_VERSION__
-SLEPC_ARCH=${DEB_HOST_MULTIARCH}
-SLEPC_DEBUG_ARCH=${SLEPC_ARCH}-real-debug
-
-# Remove alternatives links
-if [ "$1" = "remove" ]; then
-  update-alternatives --remove slepc /usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_DEBUG_ARCH}
-fi
-
-#DEBHELPER#
diff --git a/debian/rules b/debian/rules
index 4b15fa0..fd110f5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,9 +44,7 @@ export OMPI_MCA_orte_rsh_agent=/bin/false
 SLEPC_HDF5_FLAGS=$(shell if [ -e /usr/lib/libhdf5.so ]; then echo "--with-hdf5=1 --with-hdf5-dir=/usr"; fi)
 
 SLEPC_BUILD_DIR=$(SLEPC_ARCH)-real
-SLEPC_DEBUG_BUILD_DIR=$(SLEPC_ARCH)-real-debug
 SLEPC_COMPLEX_BUILD_DIR=$(SLEPC_ARCH)-complex
-SLEPC_COMPLEX_DEBUG_BUILD_DIR=$(SLEPC_ARCH)-complex-debug
 
 # SLEPC_VERSION is used for the package names, library sonames, and
 # /usr/lib/slepcdir subdirectory names.
@@ -64,35 +62,26 @@ SLEPC_COMPLEX_NAME=slepc-complex-$(SLEPC_VERSION)
 SLEPC_DEV_PACKAGE=$(SLEPC_NAME)-dev
 SLEPC_VERSIONED_DEV_PACKAGE=lib$(SLEPC_NAME)-dev
 SLEPC_VERSIONED_PACKAGE=lib$(SLEPC_NAME)
-SLEPC_DEBUG_PACKAGE=lib$(SLEPC_NAME)-dbg
 SLEPC_DOC_PACKAGE=$(SLEPC_NAME)-doc
 SLEPC_COMPLEX_VERSIONED_DEV_PACKAGE=lib$(SLEPC_COMPLEX_NAME)-dev
 SLEPC_COMPLEX_VERSIONED_PACKAGE=lib$(SLEPC_COMPLEX_NAME)
-SLEPC_COMPLEX_DEBUG_PACKAGE=lib$(SLEPC_COMPLEX_NAME)-dbg
 
 # install into /usr/lib/slepcdir rather than /usr/lib/slepc 
 # to allow /usr/lib/slepc to be configured by alternatives
 SLEPC_DIR_PREFIX=/usr/lib/slepcdir/$(SLEPC_VERSION)/$(SLEPC_ARCH)-real
-SLEPC_DIR_DEBUG_PREFIX=/usr/lib/slepcdir/$(SLEPC_VERSION)/$(SLEPC_ARCH)-real-debug
 SLEPC_COMPLEX_DIR_PREFIX=/usr/lib/slepcdir/$(SLEPC_VERSION)/$(SLEPC_ARCH)-complex
-SLEPC_COMPLEX_DEBUG_DIR_PREFIX=/usr/lib/slepcdir/$(SLEPC_VERSION)/$(SLEPC_ARCH)-complex-debug
 
 PACKAGE_INSTALL_BASEDIR=debian/tmp/$(SLEPC_NAME)-real
 PACKAGE_INSTALL_DIR=$(PACKAGE_INSTALL_BASEDIR)/$(SLEPC_DIR_PREFIX)
-PACKAGE_DEBUG_INSTALL_BASEDIR=debian/tmp/$(SLEPC_NAME)-real-debug
-PACKAGE_DEBUG_INSTALL_DIR=$(PACKAGE_DEBUG_INSTALL_BASEDIR)/$(SLEPC_DIR_DEBUG_PREFIX)
 PACKAGE_COMPLEX_INSTALL_BASEDIR=debian/tmp/$(SLEPC_NAME)-complex
 PACKAGE_COMPLEX_INSTALL_DIR=$(PACKAGE_COMPLEX_INSTALL_BASEDIR)/$(SLEPC_COMPLEX_DIR_PREFIX)
-PACKAGE_COMPLEX_DEBUG_INSTALL_BASEDIR=debian/tmp/$(SLEPC_NAME)-complex-debug
-PACKAGE_COMPLEX_DEBUG_INSTALL_DIR=$(PACKAGE_COMPLEX_DEBUG_INSTALL_BASEDIR)/$(SLEPC_COMPLEX_DEBUG_DIR_PREFIX)
 
-PETSC_VERSION=3.6.3
+PETSC_SONAME_VERSION=3.6
+PETSC_DEV_PACKAGE=libpetsc$(PETSC_SONAME_VERSION)-dev
+PETSC_VERSION=$(shell dpkg -l $(PETSC_DEV_PACKAGE) | awk '/$(PETSC_DEV_PACKAGE)/ {print $$3}' | sed "s/.dfsg.*//" )
 PETSC_DIR=/usr/lib/petscdir/$(PETSC_VERSION)
 PETSC_DIR_REAL=$(PETSC_DIR)/$(DEB_HOST_MULTIARCH)-real
-PETSC_DIR_REAL_DEBUG=$(PETSC_DIR)/$(DEB_HOST_MULTIARCH)-real-debug
 PETSC_DIR_COMPLEX=$(PETSC_DIR)/$(DEB_HOST_MULTIARCH)-complex
-PETSC_DIR_COMPLEX_DEBUG=$(PETSC_DIR)/$(DEB_HOST_MULTIARCH)-complex-debug
-
 
 export SLEPC_DIR=$(CURDIR)
 
@@ -102,10 +91,6 @@ export SLEPC_DIR=$(CURDIR)
 
 
 override_dh_auto_clean:
-	if [ -d $(SLEPC_DEBUG_BUILD_DIR) ]; then \
-	  dh_auto_clean -p$(SLEPC_DEBUG_PACKAGE) -p$(SLEPC_DOC_PACKAGE) -- \
-	    SLEPC_DIR=$(CURDIR) SLEPC_ARCH=$(SLEPC_DEBUG_BUILD_DIR); \
-	fi
 	if [ -d $(SLEPC_BUILD_DIR) ]; then \
 	dh_auto_clean -p$(SLEPC_VERSIONED_DEV_PACKAGE) -- \
 	  SLEPC_DIR=$(CURDIR) SLEPC_ARCH=$(SLEPC_BUILD_DIR); \
@@ -114,10 +99,6 @@ override_dh_auto_clean:
 	dh_auto_clean -p$(SLEPC_COMPLEX_VERSIONED_DEV_PACKAGE) -- \
 	  SLEPC_DIR=$(CURDIR) SLEPC_ARCH=$(SLEPC_COMPLEX_BUILD_DIR); \
 	fi
-	if [ -d $(SLEPC_COMPLEX_DEBUG_BUILD_DIR) ]; then \
-	dh_auto_clean -p$(SLEPC_COMPLEX_DEBUG_PACKAGE) -- \
-	  SLEPC_DIR=$(CURDIR) SLEPC_ARCH=$(SLEPC_COMPLEX_DEBUG_BUILD_DIR); \
-	fi
 
 
 #SLEPc cannot differentiate different configrations at build time 
@@ -160,19 +141,6 @@ override_dh_auto_install:
 	echo SLEPC_DIR_PREFIX=$(SLEPC_DIR_PREFIX)
 #	make SLEPC_DIR=$(CURDIR)/$(PACKAGE_INSTALL_DIR) PETSC_DIR=$(PETSC_DIR_REAL) PETSC_ARCH="" LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):$(CURDIR)/$(PACKAGE_INSTALL_DIR)/lib test
 	
-	PETSC_DIR=$(PETSC_DIR_REAL_DEBUG) \
-          ./configure --prefix=$(SLEPC_DIR_DEBUG_PREFIX)  \
-          --with-arpack=1 --with-arpack-dir=/usr/lib/debug/usr/lib --with-arpack-flags=-lparpack,-larpack \
-          --shared-library-extension=_real
-	dh_auto_build -p$(SLEPC_DEBUG_PACKAGE) -p$(SLEPC_DOC_PACKAGE) -- \
-          PETSC_DIR=$(PETSC_DIR_REAL_DEBUG)
-	dh_auto_install -p$(SLEPC_DEBUG_PACKAGE) -p$(SLEPC_DOC_PACKAGE) \
-          --destdir=$(PACKAGE_DEBUG_INSTALL_DIR) --  \
-          SLEPC_INSTALLDIR=$(SLEPC_DIR_DEBUG_PREFIX) \
-          SLEPC_DESTDIR=$(PACKAGE_DEBUG_INSTALL_DIR)  \
-          PETSC_DIR=$(PETSC_DIR_REAL_DEBUG)
-#	make SLEPC_DIR=$(CURDIR)/$(PACKAGE_DEBUG_INSTALL_DIR) PETSC_DIR=$(PETSC_DIR_REAL_DEBUG) PETSC_ARCH="" LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):$(CURDIR)/$(PACKAGE_INSTALL_DIR)/lib test
-	
 	PETSC_DIR=$(PETSC_DIR_COMPLEX) \
           ./configure --prefix=$(SLEPC_COMPLEX_DIR_PREFIX)  \
           --with-arpack=1 \
@@ -184,17 +152,6 @@ override_dh_auto_install:
           SLEPC_DESTDIR=$(PACKAGE_COMPLEX_INSTALL_DIR) \
           PETSC_DIR=$(PETSC_DIR_COMPLEX)
 	echo Note: standard SLEPc built-time tests only cover real number configurations, not complex numbers.
-	
-	PETSC_DIR=$(PETSC_DIR_COMPLEX_DEBUG) \
-          ./configure --prefix=$(SLEPC_COMPLEX_DEBUG_DIR_PREFIX)  \
-          --with-arpack=1 --with-arpack-dir=/usr/lib/debug/usr/lib --with-arpack-flags=-lparpack,-larpack \
-          --shared-library-extension=_complex
-	dh_auto_build -p$(SLEPC_COMPLEX_DEBUG_PACKAGE)  --  \
-          PETSC_DIR=$(PETSC_DIR_COMPLEX_DEBUG)
-	dh_auto_install -p$(SLEPC_COMPLEX_DEBUG_PACKAGE) --destdir=$(PACKAGE_COMPLEX_DEBUG_INSTALL_DIR) --  \
-          SLEPC_INSTALLDIR=$(SLEPC_COMPLEX_DEBUG_DIR_PREFIX) \
-          SLEPC_DESTDIR=$(PACKAGE_COMPLEX_DEBUG_INSTALL_DIR) \
-          PETSC_DIR=$(PETSC_DIR_COMPLEX_DEBUG)
 
 
 override_dh_install:
@@ -202,19 +159,14 @@ override_dh_install:
 	dh_install -p$(SLEPC_VERSIONED_DEV_PACKAGE) --sourcedir $(PACKAGE_INSTALL_BASEDIR) --autodest --exclude=*html --exclude=libslepc_real.so.$(SLEPC_VERSION)  usr
 	dh_link -p$(SLEPC_VERSIONED_DEV_PACKAGE)  usr/lib/$(DEB_HOST_MULTIARCH)/libslepc_real.so.$(SLEPC_VERSION)  $(SLEPC_DIR_PREFIX)/lib/libslepc_real.so.$(SLEPC_VERSION)
 	
-	dh_install -p$(SLEPC_DEBUG_PACKAGE) --sourcedir $(PACKAGE_DEBUG_INSTALL_BASEDIR) --autodest --exclude=*html  usr
-	
 	dh_install -p$(SLEPC_COMPLEX_VERSIONED_PACKAGE) --sourcedir $(PACKAGE_COMPLEX_INSTALL_BASEDIR) --exclude=*html  $(SLEPC_COMPLEX_DIR_PREFIX)/lib/libslepc_complex.so.$(SLEPC_VERSION)  usr/lib/$(DEB_HOST_MULTIARCH)
 	dh_install -p$(SLEPC_COMPLEX_VERSIONED_DEV_PACKAGE) --sourcedir $(PACKAGE_COMPLEX_INSTALL_BASEDIR) --autodest --exclude=*html --exclude=libslepc_complex.so.$(SLEPC_VERSION)  usr
 	dh_link -p$(SLEPC_COMPLEX_VERSIONED_DEV_PACKAGE)  usr/lib/$(DEB_HOST_MULTIARCH)/libslepc_complex.so.$(SLEPC_VERSION)  $(SLEPC_COMPLEX_DIR_PREFIX)/lib/libslepc_complex.so.$(SLEPC_VERSION)
-	
-	dh_install -p$(SLEPC_COMPLEX_DEBUG_PACKAGE) --sourcedir $(PACKAGE_COMPLEX_DEBUG_INSTALL_BASEDIR) --autodest --exclude=*html  usr
-
 
 override_dh_installdocs:
 	dh_installdocs
-	dh_install -p$(SLEPC_DOC_PACKAGE) --sourcedir $(PACKAGE_DEBUG_INSTALL_BASEDIR) --autodest $(SLEPC_DIR_DEBUG_PREFIX)/include/*html
-	dh_install -p$(SLEPC_DOC_PACKAGE) --sourcedir $(PACKAGE_DEBUG_INSTALL_BASEDIR) --autodest $(SLEPC_DIR_DEBUG_PREFIX)/include/slepc/*/*html
+	dh_install -p$(SLEPC_DOC_PACKAGE) --sourcedir $(PACKAGE_INSTALL_BASEDIR) --autodest $(SLEPC_DIR_PREFIX)/include/*html
+	dh_install -p$(SLEPC_DOC_PACKAGE) --sourcedir $(PACKAGE_INSTALL_BASEDIR) --autodest $(SLEPC_DIR_PREFIX)/include/slepc/*/*html
 	for examples in $$( find src -name *example* ); do \
 	  dh_install -p$(SLEPC_DOC_PACKAGE) $$examples/* usr/share/doc/$(SLEPC_DOC_PACKAGE)/examples/$$(echo $$examples | sed "s/src\///; s/examples//" ); \
 	done
@@ -226,9 +178,7 @@ override_dh_installchangelogs:
 override_dh_python2:
 	dh_python2
 	dh_python2 -p$(SLEPC_VERSIONED_DEV_PACKAGE) $(SLEPC_DIR_PREFIX)/bin
-	dh_python2 -p$(SLEPC_DEBUG_PACKAGE) $(SLEPC_DIR_DEBUG_PREFIX)/bin
 	dh_python2 -p$(SLEPC_COMPLEX_VERSIONED_DEV_PACKAGE) $(SLEPC_COMPLEX_DIR_PREFIX)/bin
-	dh_python2 -p$(SLEPC_COMPLEX_DEBUG_PACKAGE) $(SLEPC_COMPLEX_DEBUG_DIR_PREFIX)/bin
 
 override_dh_installdeb:
 	dh_installdeb
@@ -238,8 +188,8 @@ override_dh_installdeb:
 
 
 override_dh_strip:
-	dh_strip --dbg-package=$(SLEPC_DEBUG_PACKAGE)
-	dh_strip --dbg-package=$(SLEPC_COMPLEX_DEBUG_PACKAGE)
+	dh_strip -p$(SLEPC_VERSIONED_PACKAGE) --dbgsym-migration='libslepc3.6.3-dbg (<< 3.6.3.dfsg1-4~)'
+	dh_strip -p$(SLEPC_COMPLEX_VERSIONED_PACKAGE) --dbgsym-migration='libslepc-complex-3.6.3-dbg (<< 3.6.3.dfsg1-4~)'
 
 
 DEB_SOURCE_PACKAGE = slepc

-- 
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