[petsc] 02/02: use soname only for library package: libpetsc3.6

Drew Parsons dparsons at moszumanska.debian.org
Fri Oct 2 11:40:46 UTC 2015


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

dparsons pushed a commit to branch master
in repository petsc.

commit ff22d1120a40fea6807f81c251873eed75e3fe71
Author: Drew Parsons <dparsons at debian.org>
Date:   Fri Oct 2 19:35:18 2015 +0800

    use soname only for library package: libpetsc3.6
    
    The patch version in 3.6.1 does not change the soname (which is
    embedded insode libpetsc.so.3.6.1).  The package carrying the shared
    library should be labelled by the soname, not the whole version.
    
    Flagged by lintian: package-name-doesnt-match-sonames
---
 debian/control                                            | 6 +++---
 debian/{libpetsc3.6.1.overrides => libpetsc3.6.overrides} | 2 +-
 debian/rules                                              | 3 ++-
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index c6f798f..1d8d092 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,7 @@ Homepage: http://www.mcs.anl.gov/petsc
 Package: libpetsc3.6.1-dev
 Architecture: linux-any hurd-any
 Section: libdevel
-Depends: libpetsc3.6.1 (= ${binary:Version}), mpi-default-dev (>= 1.0.2), libsuitesparse-dev, libsuperlu-dev, libspooles-dev,
+Depends: libpetsc3.6 (= ${binary:Version}), mpi-default-dev (>= 1.0.2), libsuitesparse-dev, libsuperlu-dev, libspooles-dev,
  libhypre-dev (>= 2.0.0.dfsg-7), libptscotch-dev, ${misc:Depends}, libblacs-mpi-dev, libscalapack-mpi-dev,
  libmumps-dev, libfftw3-dev, libfftw3-mpi-dev,
  python, tcsh | csh | c-shell, ksh | mksh | pdksh | zsh
@@ -44,13 +44,13 @@ Description: Virtual package depending on latest PETSc development package
  This metapackage will always depend on the most recent version of petscX-dev
  (X=version), so if you install it then you will get upgrades automatically.
 
-Package: libpetsc3.6.1
+Package: libpetsc3.6
 Architecture: linux-any hurd-any
 Multi-Arch: same
 Section: libs
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Shared libraries for version 3.6.1 of PETSc
+Description: Shared libraries for version 3.6 of PETSc
  PETSc is the "Portable Extensible Toolkit for Scientific Computation", a suite
  of data structures and routines for the scalable (parallel) solution of
  scientific applications modeled by partial differential equations.  It employs
diff --git a/debian/libpetsc3.6.1.overrides b/debian/libpetsc3.6.overrides
similarity index 61%
rename from debian/libpetsc3.6.1.overrides
rename to debian/libpetsc3.6.overrides
index e35e4f8..61fd4b8 100644
--- a/debian/libpetsc3.6.1.overrides
+++ b/debian/libpetsc3.6.overrides
@@ -1,2 +1,2 @@
 # False positive: the copyright notice is somewhat buried in the upstream text
-libpetsc3.6.1: copyright-without-copyright-notice
+libpetsc3.6: copyright-without-copyright-notice
diff --git a/debian/rules b/debian/rules
index ccdc1f8..3933f13 100755
--- a/debian/rules
+++ b/debian/rules
@@ -49,12 +49,13 @@ PETSC_VERSION=3.6.1$(PETSC_EXT)
 PETSC_SONAME_VERSION=$(shell echo $(PETSC_VERSION) | awk 'BEGIN { FS="."}; {print $$1"."$$2 }')
 
 # PETSC_NAME is the install dir under /usr/lib and the base for package names
+PETSC_SONAME=petsc$(PETSC_SONAME_VERSION)
 PETSC_NAME=petsc$(PETSC_VERSION)
 
 # debian binary package names
 PETSC_DEV_PACKAGE=$(PETSC_NAME)-dev
 PETSC_VERSIONED_DEV_PACKAGE=lib$(PETSC_NAME)-dev
-PETSC_VERSIONED_PACKAGE=lib$(PETSC_NAME)
+PETSC_VERSIONED_PACKAGE=lib$(PETSC_SONAME)
 PETSC_DEBUG_PACKAGE=lib$(PETSC_NAME)-dbg
 PETSC_DOC_PACKAGE=$(PETSC_NAME)-doc
 

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