[slepc] 16/16: update doc and petsc dependencies

Drew Parsons dparsons at moszumanska.debian.org
Mon Nov 6 06:33:21 UTC 2017


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

dparsons pushed a commit to branch experimental
in repository slepc.

commit 361f1cacd2f9736bc18f1213c76217c026407246
Author: Drew Parsons <dparsons at debian.org>
Date:   Mon Nov 6 14:30:54 2017 +0800

    update doc and petsc dependencies
    
    Only need petsc minor version, patch version is no longer
    significant.
---
 debian/control | 2 +-
 debian/rules   | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 879ef76..a205166 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Vcs-Browser: http://anonscm.debian.org/cgit/debian-science/packages/slepc.git/
 Package: slepc-dev
 Section: libdevel
 Architecture: any
-Depends: libslepc3.7-dev, ${misc:Depends}
+Depends: libslepc-real3.8-dev, ${misc: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
diff --git a/debian/rules b/debian/rules
index b7d2954..377d3f0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -78,7 +78,6 @@ PETSC_SONAME_VERSION=$(SLEPC_SONAME_VERSION)
 PETSC_DIR=/usr/lib/petscdir/petsc$(PETSC_SONAME_VERSION)
 PETSC_DIR_REAL=$(PETSC_DIR)/$(DEB_HOST_MULTIARCH)-real
 PETSC_DIR_COMPLEX=$(PETSC_DIR)/$(DEB_HOST_MULTIARCH)-complex
-PETSC_VERSION=$(shell pkg-config --modversion PETSc)
 
 export SLEPC_DIR=$(CURDIR)
 
@@ -199,7 +198,7 @@ override_dh_strip:
 
 override_dh_gencontrol:
 	# SLEPc.pc depends on specific patch version of PETSc (as defined in PETSc.pc)
-	dh_gencontrol -- -Vpetsc:dev="libpetsc$(PETSC_VERSION)-dev" -Vpetsc:complex-dev="libpetsc-complex-$(PETSC_VERSION)-dev"
+	dh_gencontrol -- -Vpetsc:dev="libpetsc-real$(PETSC_SONAME_VERSION)-dev" -Vpetsc:complex-dev="libpetsc-complex$(PETSC_SONAME_VERSION)-dev"
 
 DEB_SOURCE_PACKAGE = slepc
 DEB_UPSTREAM_VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')

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