[petsc] 01/02: place libpetsc.so link in dev package
Drew Parsons
dparsons at moszumanska.debian.org
Fri Oct 2 16:57:15 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 77d9e9914393f8b2b2df7e76401c102c6b3ec9b9
Author: Drew Parsons <dparsons at debian.org>
Date: Sat Oct 3 00:38:48 2015 +0800
place libpetsc.so link in dev package
Debian Policy 8.4 says that the libpetsc.so link in /usr/lib to the
shared library should be kept in the -dev package, not the shared
library package.
It should also point directly to the shared library, not to the soname
link, i.e. link to libpetsc.so.X.Y.Z not libpetsc.so.X.Y.
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 3933f13..707b411 100755
--- a/debian/rules
+++ b/debian/rules
@@ -157,7 +157,7 @@ override_dh_install:
dh_install -p$(PETSC_VERSIONED_DEV_PACKAGE) --sourcedir $(PACKAGE_INSTALL_BASEDIR) --autodest --exclude=*html --exclude=libpetsc.so.$(PETSC_VERSION) usr
dh_link -p$(PETSC_VERSIONED_DEV_PACKAGE) usr/lib/$(DEB_HOST_MULTIARCH)/libpetsc.so.$(PETSC_VERSION) $(PETSC_DIR_PREFIX)/lib/libpetsc.so.$(PETSC_VERSION)
dh_link -p$(PETSC_VERSIONED_PACKAGE) usr/lib/$(DEB_HOST_MULTIARCH)/libpetsc.so.$(PETSC_VERSION) usr/lib/$(DEB_HOST_MULTIARCH)/libpetsc.so.$(PETSC_SONAME_VERSION)
- dh_link -p$(PETSC_VERSIONED_PACKAGE) usr/lib/$(DEB_HOST_MULTIARCH)/libpetsc.so.$(PETSC_SONAME_VERSION) usr/lib/$(DEB_HOST_MULTIARCH)/libpetsc.so
+ dh_link -p$(PETSC_VERSIONED_DEV_PACKAGE) usr/lib/$(DEB_HOST_MULTIARCH)/libpetsc.so.$(PETSC_VERSION) usr/lib/$(DEB_HOST_MULTIARCH)/libpetsc.so
dh_install -p$(PETSC_DEBUG_PACKAGE) --sourcedir $(PACKAGE_DEBUG_INSTALL_BASEDIR) --autodest --exclude=*html usr
--
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