[slepc] 01/03: use virtual libslepc3.7 package for shlib dependencies
Drew Parsons
dparsons at moszumanska.debian.org
Sun Oct 23 03:10:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
dparsons pushed a commit to tag debian/3.7.3+dfsg1-2
in repository slepc.
commit f8199f715f9c62f82f2662889f6eeac397a4d5a0
Author: Drew Parsons <dparsons at debian.org>
Date: Fri Oct 14 19:36:33 2016 +0800
use virtual libslepc3.7 package for shlib dependencies
Handle shlibs dependencies via virtual libslepc3.7 and
libslepc-complex-3.7 packages.
The .Z in 3.7.Z is not used in sonames, but we need .Z in binary
package names because of the upstream directory structure (which
specifies 3.7.Z).
That is, we want libslepc3.7.Z-dev to be coinstallable for different
.Z (since coinstallibility is facilitated by upstream). But it is not
convenient for client packages to have to depend on libslepc3.7.Z when
libslepc3.7 would do.
Without this shlib patch, either client programs such as slepc4py have
to be recompiled with every .Z patch release, or the older
libslepc3.7.(Z-1) package needs to be retained until the client
package gets rebuilt. Neither of these are desirable situations.
The version of .Z which is actually used by the client program is
controlled by alternatives for libslepc.so.3.7 (or
libslepc_complex.so.3.7)
---
debian/changelog | 12 ++++++++++++
debian/control | 2 ++
debian/libslepc-complex-3.7.3.shlibs | 1 +
debian/libslepc3.7.3.shlibs | 1 +
4 files changed, 16 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index b5b4b01..5cb6e67 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+slepc (3.7.3+dfsg1-2) UNRELEASED; urgency=medium
+
+ * Handle shlibs dependencies via virtual libslepc3.7 and
+ libslepc-complex-3.7 packages. The .Z in 3.7.Z is not used in
+ sonames, but we need .Z in binary packages because of the upstream
+ directory structure.
+ When different libslepc3.7.Z are installed, the preferred version
+ is controlled by alternatives for libslepc3.7 (likewise for
+ libslepc_complex.so.3.7).
+
+ -- Drew Parsons <dparsons at debian.org> Fri, 14 Oct 2016 19:33:59 +0800
+
slepc (3.7.3+dfsg1-1) unstable; urgency=medium
* New upstream version.
diff --git a/debian/control b/debian/control
index e17d841..6f8f72e 100644
--- a/debian/control
+++ b/debian/control
@@ -61,6 +61,7 @@ Description: Scalable Library for Eigenvalue Problem Computations
Package: libslepc3.7.3
Section: libs
Architecture: any
+Provides: libslepc3.7
Depends: ${shlibs:Depends}, ${misc:Depends}
Conflicts: libslepc2.3.2, libslepc3.6 (<= 3.6.1.dfsg1-2)
Description: Scalable Library for Eigenvalue Problem Computations
@@ -122,6 +123,7 @@ Description: Scalable Library for Eigenvalue Problem Computations
Package: libslepc-complex-3.7.3
Section: libs
Architecture: any
+Provides: libslepc-complex-3.7
Depends: ${shlibs:Depends}, ${misc:Depends}
Conflicts: libslepc2.3.2, libslepc-complex-3.6 (<= 3.6.1.dfsg1-2)
Description: Scalable Library for Eigenvalue Problem Computations
diff --git a/debian/libslepc-complex-3.7.3.shlibs b/debian/libslepc-complex-3.7.3.shlibs
new file mode 100644
index 0000000..e1eea2e
--- /dev/null
+++ b/debian/libslepc-complex-3.7.3.shlibs
@@ -0,0 +1 @@
+libslepc_complex 3.7 libslepc-complex-3.7
diff --git a/debian/libslepc3.7.3.shlibs b/debian/libslepc3.7.3.shlibs
new file mode 100644
index 0000000..f3f9cd9
--- /dev/null
+++ b/debian/libslepc3.7.3.shlibs
@@ -0,0 +1 @@
+libslepc_real 3.7 libslepc3.7
--
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