[med-svn] [bamtools] 09/10: soversion stays at 2.4.0 (FIXME: in future versions this should be rather 2.5 without micro number)

Andreas Tille tille at debian.org
Fri Jan 13 14:45:39 UTC 2017


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

tille pushed a commit to branch master
in repository bamtools.

commit 4b9e7b4fc69fe4834f762730cf52759cdf618340
Author: Andreas Tille <tille at debian.org>
Date:   Fri Jan 13 10:46:49 2017 +0100

    soversion stays at 2.4.0 (FIXME: in future versions this should be rather 2.5 without micro number)
---
 debian/changelog                   |  2 ++
 debian/patches/fix_soversion.patch | 22 ++++++++++++++++++++++
 debian/patches/series              |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 0849b85..7b42c07 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ bamtools (2.4.1+dfsg-1) UNRELEASED; urgency=medium
   * cme fix dpkg-control
   * d/watch: version=4
   * Priority: optional
+  * soversion stays at 2.4.0 (FIXME: in future versions this should
+    be rather 2.5 without micro number)
 
  -- Andreas Tille <tille at debian.org>  Fri, 13 Jan 2017 10:09:04 +0100
 
diff --git a/debian/patches/fix_soversion.patch b/debian/patches/fix_soversion.patch
new file mode 100644
index 0000000..f040252
--- /dev/null
+++ b/debian/patches/fix_soversion.patch
@@ -0,0 +1,22 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Fri, 13 Jan 2017 10:09:04 +0100
+Description:  Upstream has not fully understood the concept of
+ soversion and simply sets it same as upstream version.  This
+ patch is fixing this.
+ .
+ FIXME: After the next version bump this should rather be set
+ to major.minor number - or just an integer number.  However,
+ for the moment the binary lib package is has added 2.4.0 and
+ we can not revert this to 2.4 since its a lower number.
+
+--- a/src/api/CMakeLists.txt
++++ b/src/api/CMakeLists.txt
+@@ -34,7 +34,7 @@ set( BamToolsAPISources
+ # create main BamTools API shared library
+ add_library( BamTools SHARED ${BamToolsAPISources} )
+ set_target_properties( BamTools PROPERTIES
+-                       SOVERSION "2.4.1"
++                       SOVERSION "2.4.0"
+                        OUTPUT_NAME "bamtools" )
+ 
+ # create main BamTools API static library
diff --git a/debian/patches/series b/debian/patches/series
index ea86059..74e2912 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ non-deprecated-jsoncpp-function-names
 0007-Big_Endian.patch
 0008_Cmake_Test.patch
 spelling
+fix_soversion.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bamtools.git



More information about the debian-med-commit mailing list