[petsc] 03/06: debian/*.links: create symlinks to shared library

Drew Parsons dparsons at moszumanska.debian.org
Fri Nov 3 03:17:12 UTC 2017


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

dparsons pushed a commit to tag experimental/3.8.0+dfsg1-1exp1
in repository petsc.

commit 84e166ffefe8be1abda16bdbe921c61f3dfcf75d
Author: Drew Parsons <dparsons at debian.org>
Date:   Fri Nov 3 01:10:38 2017 +0800

    debian/*.links: create symlinks to shared library
---
 debian/libpetsc-complex3.8-dev.links | 2 ++
 debian/libpetsc-complex3.8.links     | 2 ++
 debian/libpetsc-complex3.8.shlibs    | 1 -
 debian/libpetsc-real3.8-dev.links    | 2 ++
 debian/libpetsc-real3.8.links        | 2 ++
 debian/libpetsc-real3.8.shlibs       | 1 -
 debian/rules                         | 2 --
 7 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/debian/libpetsc-complex3.8-dev.links b/debian/libpetsc-complex3.8-dev.links
new file mode 100755
index 0000000..d09b903
--- /dev/null
+++ b/debian/libpetsc-complex3.8-dev.links
@@ -0,0 +1,2 @@
+#! /bin/sh
+echo usr/lib/${DEB_HOST_MULTIARCH}/libpetsc_complex.so.${PETSC_VERSION}  ${PETSC_REAL_DIR_PREFIX}/lib/libpetsc_complex.so.${PETSC_VERSION}
diff --git a/debian/libpetsc-complex3.8.links b/debian/libpetsc-complex3.8.links
new file mode 100755
index 0000000..3b2d369
--- /dev/null
+++ b/debian/libpetsc-complex3.8.links
@@ -0,0 +1,2 @@
+#! /bin/sh
+echo usr/lib/${DEB_HOST_MULTIARCH}/libpetsc_complex.so.${PETSC_VERSION} usr/lib/${DEB_HOST_MULTIARCH}/libpetsc_complex.so.${PETSC_SONAME_VERSION}
diff --git a/debian/libpetsc-complex3.8.shlibs b/debian/libpetsc-complex3.8.shlibs
deleted file mode 100644
index 0a8a8fe..0000000
--- a/debian/libpetsc-complex3.8.shlibs
+++ /dev/null
@@ -1 +0,0 @@
-libpetsc_complex 3.8 libpetsc-complex3.8
diff --git a/debian/libpetsc-real3.8-dev.links b/debian/libpetsc-real3.8-dev.links
new file mode 100755
index 0000000..85a236e
--- /dev/null
+++ b/debian/libpetsc-real3.8-dev.links
@@ -0,0 +1,2 @@
+#! /bin/sh
+echo usr/lib/${DEB_HOST_MULTIARCH}/libpetsc_real.so.${PETSC_VERSION}  ${PETSC_REAL_DIR_PREFIX}/lib/libpetsc_real.so.${PETSC_VERSION}
diff --git a/debian/libpetsc-real3.8.links b/debian/libpetsc-real3.8.links
new file mode 100755
index 0000000..39fba73
--- /dev/null
+++ b/debian/libpetsc-real3.8.links
@@ -0,0 +1,2 @@
+#! /bin/sh
+echo usr/lib/${DEB_HOST_MULTIARCH}/libpetsc_real.so.${PETSC_VERSION} usr/lib/${DEB_HOST_MULTIARCH}/libpetsc_real.so.${PETSC_SONAME_VERSION}
diff --git a/debian/libpetsc-real3.8.shlibs b/debian/libpetsc-real3.8.shlibs
deleted file mode 100644
index 5216894..0000000
--- a/debian/libpetsc-real3.8.shlibs
+++ /dev/null
@@ -1 +0,0 @@
-libpetsc_real 3.8 libpetsc-real3.8
diff --git a/debian/rules b/debian/rules
index 6b89221..99d7b5d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -247,13 +247,11 @@ override_dh_auto_install:
 override_dh_install:
 	dh_install -p$(PETSC_REAL_PACKAGE) --sourcedir $(PACKAGE_REAL_INSTALL_BASEDIR) --exclude=*html  $(PETSC_REAL_DIR_PREFIX)/lib/libpetsc_real.so.$(PETSC_VERSION)  usr/lib/$(DEB_HOST_MULTIARCH)
 	dh_install -p$(PETSC_REAL_DEV_PACKAGE) --sourcedir $(PACKAGE_REAL_INSTALL_BASEDIR) --autodest --exclude=*html --exclude=libpetsc_real.so.$(PETSC_VERSION)  usr
-	dh_link -p$(PETSC_REAL_DEV_PACKAGE)  usr/lib/$(DEB_HOST_MULTIARCH)/libpetsc_real.so.$(PETSC_VERSION)  $(PETSC_REAL_DIR_PREFIX)/lib/libpetsc_real.so.$(PETSC_VERSION)
 	
 	dh_install -p$(PETSC_REAL_DEBUG_PACKAGE) --sourcedir $(PACKAGE_REAL_DEBUG_INSTALL_BASEDIR) --autodest --exclude=*html  usr
 	
 	dh_install -p$(PETSC_COMPLEX_PACKAGE) --sourcedir $(PACKAGE_COMPLEX_INSTALL_BASEDIR) --exclude=*html  $(PETSC_COMPLEX_DIR_PREFIX)/lib/libpetsc_complex.so.$(PETSC_VERSION)  usr/lib/$(DEB_HOST_MULTIARCH)
 	dh_install -p$(PETSC_COMPLEX_DEV_PACKAGE) --sourcedir $(PACKAGE_COMPLEX_INSTALL_BASEDIR) --autodest --exclude=*html --exclude=libpetsc_complex.so.$(PETSC_VERSION)  usr
-	dh_link -p$(PETSC_COMPLEX_DEV_PACKAGE)  usr/lib/$(DEB_HOST_MULTIARCH)/libpetsc_complex.so.$(PETSC_VERSION)  $(PETSC_COMPLEX_DIR_PREFIX)/lib/libpetsc_complex.so.$(PETSC_VERSION)
 	
 	dh_install -p$(PETSC_COMPLEX_DEBUG_PACKAGE) --sourcedir $(PACKAGE_COMPLEX_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