[geographiclib] 08/10: Rename library package for SONAME bump, drop SOVERSION from -dbg package name.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Fri Feb 19 12:32:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository geographiclib.
commit 61198f45b082b59b5875f2d3d9ee37830251400d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Feb 19 13:20:55 2016 +0100
Rename library package for SONAME bump, drop SOVERSION from -dbg package name.
---
debian/changelog | 2 ++
debian/control | 10 ++++++----
debian/libgeographic14.install | 2 --
debian/libgeographic17.install | 1 +
debian/{libgeographic14.symbols => libgeographic17.symbols} | 2 +-
debian/rules | 4 +---
6 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6b581fe..eff65d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ geographiclib (1.46-1) UNRELEASED; urgency=medium
* Bump Standards-Version to 3.9.7, no changes.
* Drop manpage_lintian.patch, applied upstream.
Refresh remaining patches.
+ * Rename library package for SONAME bump,
+ drop SOVERSION from -dbg package name.
-- Bas Couwenberg <sebastic at debian.org> Fri, 19 Feb 2016 11:49:33 +0100
diff --git a/debian/control b/debian/control
index 7673021..97741e9 100644
--- a/debian/control
+++ b/debian/control
@@ -53,7 +53,7 @@ Description: C++ library to solve some geodesic problems -- documentation
.
This package contains the documentation for the GeographicLib tools.
-Package: libgeographic14
+Package: libgeographic17
Architecture: any
Section: libs
Pre-Depends: ${misc:Pre-Depends}
@@ -73,12 +73,14 @@ Description: C++ library to solve some geodesic problems -- library
This package contains the GeographicLib shared library used at run-time
by applications.
-Package: libgeographic14-dbg
+Package: libgeographic-dbg
Architecture: any
Section: debug
Priority: extra
-Depends: libgeographic14 (= ${binary:Version}),
+Depends: libgeographic17 (= ${binary:Version}),
${misc:Depends}
+Breaks: libgeographic14-dbg (<< 1.46)
+Replaces: libgeographic14-dbg (<< 1.46)
Description: C++ library to solve some geodesic problems -- debugging symbols
GeographicLib is a small set of C++ classes for converting between
geographic, UTM, UPS, MGRS, geocentric, and local cartesian coordinates,
@@ -92,7 +94,7 @@ Architecture: any
Section: libdevel
Conflicts: libgeographiclib-dev
Replaces: libgeographiclib-dev
-Depends: libgeographic14 (= ${binary:Version}),
+Depends: libgeographic17 (= ${binary:Version}),
${misc:Depends}
Suggests: geographiclib-doc
Description: C++ library to solve some geodesic problems -- development files
diff --git a/debian/libgeographic14.install b/debian/libgeographic14.install
deleted file mode 100644
index b62b554..0000000
--- a/debian/libgeographic14.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/*/libGeographic.so.14
-usr/lib/*/libGeographic.so.14.*
diff --git a/debian/libgeographic17.install b/debian/libgeographic17.install
new file mode 100644
index 0000000..c6e4f56
--- /dev/null
+++ b/debian/libgeographic17.install
@@ -0,0 +1 @@
+usr/lib/*/libGeographic.so.*
diff --git a/debian/libgeographic14.symbols b/debian/libgeographic17.symbols
similarity index 99%
rename from debian/libgeographic14.symbols
rename to debian/libgeographic17.symbols
index ced7363..cb64fa8 100644
--- a/debian/libgeographic14.symbols
+++ b/debian/libgeographic17.symbols
@@ -1,5 +1,5 @@
# SymbolsHelper-Confirmed: 1.44 amd64 arm64 armel hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc ppc64el s390x
-libGeographic.so.14 #PACKAGE# #MINVER#
+libGeographic.so.17 #PACKAGE# #MINVER#
_ZGVZN13GeographicLib4Math4tandIdEET_S2_E8overflow at Base 1.42
_ZGVZN13GeographicLib4Math6degreeIdEET_vE6degree at Base 1.40
_ZN13GeographicLib10Geocentric5WGS84Ev at Base 1.40
diff --git a/debian/rules b/debian/rules
index 3ddc0ea..55a6f5a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,6 @@ export PYBUILD_NAME=geographiclib
UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
-DBG_PACKAGE=$(shell grep "^Package: libgeographic[0-9]*-dbg$$" debian/control | awk '{print $$2}')
-
%:
dh $@ --with autoreconf,python2,python3,pkgkde_symbolshelper --parallel
@@ -64,5 +62,5 @@ override_dh_makeshlibs:
dh_makeshlibs -- -v$(UPSTREAM_VERSION) -c0
override_dh_strip:
- dh_strip --dbg-package=$(DBG_PACKAGE)
+ dh_strip --dbg-package=libgeographic-dbg
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/geographiclib.git
More information about the Pkg-grass-devel
mailing list