From ff161870b5f61a2a4ffe7c9e54123dc6480fc34e Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 17 Oct 2017 15:14:04 +0200 Subject: =?UTF-8?q?Bump=20version:=200.0.7=20=E2=86=92=200.0.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ifc8b9ca64edd40f96cea92388d0e2f000ee07a9d --- TODO-RELEASE | 33 +++++++++++++++++++++++++-------- debian/changelog | 8 +++++++- debian/control | 10 +++++----- debian/libosmonetif3.install | 1 - debian/libosmonetif4.install | 1 + src/Makefile.am | 5 +++-- 6 files changed, 41 insertions(+), 17 deletions(-) delete mode 100644 debian/libosmonetif3.install create mode 100644 debian/libosmonetif4.install diff --git a/TODO-RELEASE b/TODO-RELEASE index d0852fc..dcac95a 100644 --- a/TODO-RELEASE +++ b/TODO-RELEASE @@ -1,9 +1,26 @@ -# When cleaning up this file: bump API version in corresponding Makefile.am and rename corresponding debian/lib*.install -# according to https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info -# In short: -# LIBVERSION=c:r:a -# If the library source code has changed at all since the last update, then increment revision: c:r + 1:a. -# If any interfaces have been added, removed, or changed since the last update: c + 1:0:0. -# If any interfaces have been added since the last public release: c:r:a + 1. -# If any interfaces have been removed or changed since the last public release: c:r:0. +# When cleaning up this file upon a release: +# +# - Note that the release version number is entirely unrelated to the API +# versions. A release version 5.2.3 may happily have an API version of 42:7:5. +# +# - Bump API version in src/lib*/Makefile.am files according to chapter +# "Library interface versions" of the libtool documentation. +# https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html +# +# - Iff the 'current' API version has changed, rename debian/lib*.install and adjust debian/control accordingly +# +# API version bumping for the impatient: +# LIBVERSION=c:r:a (current:revision_of_current:backwards_compat_age) +# 5:2:4 means that +# - this implements version 5 of the API; +# - this is the 2nd (compatible) revision of API version 5; +# - this is backwards compatible to all APIs since 4 versions ago, +# i.e. callers that need API versions from 1 to 5 can use this. +# +# Bumping API versions recipe: +# If the library source code has changed at all since the last update, r++; +# If any interfaces have been added, removed, or changed since the last update, c++, r=0; +# If any interfaces have been added since the last public release, a++; +# If any interfaces have been removed or changed since the last public release, a=0. +# #library what description / commit summary line diff --git a/debian/changelog b/debian/changelog index 6cd3378..0a533af 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,10 @@ -libosmo-netif (0.0.7) UNRELEASED; urgency=medium +libosmo-netif (0.0.8) unstable; urgency=medium + + * Make a new release: sync git tag with version. + + -- Max Suraev Tue, 17 Oct 2017 15:06:33 +0200 + +libosmo-netif (0.0.7) unstable; urgency=medium * Move forward toward a new release. diff --git a/debian/control b/debian/control index 11ae7d0..9f67b8e 100644 --- a/debian/control +++ b/debian/control @@ -21,11 +21,11 @@ Vcs-Browser: http://git.osmocom.org/gitweb?p=libosmo-netif.git;a=summary Vcs-Git: git://git.osmocom.org/libosmo-netif.git Homepage: https://projects.osmocom.org/projects/libosmo-netif -Package: libosmonetif3 +Package: libosmonetif4 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -Conflicts: libosmonetif2 +Conflicts: libosmonetif2, libosmonetif2 Multi-Arch: same Description: Common/shared code regarding network interface for OpenBSC The libosmo-netif library is one of the libraries needed by the @@ -39,7 +39,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, libosmocore-dev, libosmocore, - libosmonetif3 (= ${binary:Version}) + libosmonetif4 (= ${binary:Version}) Multi-Arch: same Description: Development headers for Osmocom network interface The libosmo-netif library is one of the libraries needed by the @@ -53,7 +53,7 @@ Package: libosmo-netif-doc Architecture: all Section: doc Depends: ${misc:Depends}, - libosmonetif3, + libosmonetif4, libjs-jquery Description: Documentation for the Osmo network interface library The libosmo-netif library is one of the libraries needed by the @@ -66,7 +66,7 @@ Package: libosmo-netif-dbg Section: debug Architecture: any Priority: extra -Depends: libosmonetif3 (= ${binary:Version}), ${misc:Depends} +Depends: libosmonetif4 (= ${binary:Version}), ${misc:Depends} Multi-Arch: same Description: Debug symbols for Osmocom network interface library The libosmo-netif library is one of the libraries needed by the diff --git a/debian/libosmonetif3.install b/debian/libosmonetif3.install deleted file mode 100644 index 7a36b86..0000000 --- a/debian/libosmonetif3.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/*/libosmonetif*.so.* diff --git a/debian/libosmonetif4.install b/debian/libosmonetif4.install new file mode 100644 index 0000000..7a36b86 --- /dev/null +++ b/debian/libosmonetif4.install @@ -0,0 +1 @@ +usr/lib/*/libosmonetif*.so.* diff --git a/src/Makefile.am b/src/Makefile.am index 4bc481e..66576c5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,7 @@ # This is _NOT_ the library release version, it's an API version. -# Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification -LIBVERSION=3:0:0 +# Please read chapter "Library interface versions" of the libtool documentation +# before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html +LIBVERSION=4:0:1 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir) AM_CFLAGS= -fPIC -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(COVERAGE_CFLAGS) $(LIBSCTP_CFLAGS) -- cgit v1.2.3