aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.common7
-rw-r--r--contrib/libusrp.spec.in3
2 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.common b/Makefile.common
index 1892fd3..fed7c78 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -36,8 +36,13 @@ AUTOMAKE += -Wno-portability -Wnone
#AM_CFLAGS = @autoconf_default_CFLAGS@ @lf_CFLAGS@
#AM_CXXFLAGS = @autoconf_default_CXXFLAGS@ @lf_CXXFLAGS@
+# This is _NOT_ the library release version, it's an API version.
+# 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=1:0:0
+
# Sets ABI version in SONAME and appends -LIBVER to filename
-LTVERSIONFLAGS = -version-info 0:0:0 -release $(VERSION)
+LTVERSIONFLAGS = -version-info $(LIBVERSION)
# includes
grincludedir = $(includedir)/gnuradio
diff --git a/contrib/libusrp.spec.in b/contrib/libusrp.spec.in
index 65fa92b..75ceeaa 100644
--- a/contrib/libusrp.spec.in
+++ b/contrib/libusrp.spec.in
@@ -13,8 +13,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-%define sover -3_4_4+git_20190808-0
-%define libname libusrp%{sover}
+%define libname libusrp1
Name: libusrp
Version: @VERSION@
Release: 0