[librest/librest-0-7] build-sys: Set version to 0.8.0



commit 47502e1f9444bef18e833c5f3a18e29a7945c0e8
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Tue Oct 6 10:42:31 2015 +0200

    build-sys: Set version to 0.8.0
    
    We set rest_version to 0.8.0 in configure.ac, but we cannot define it in
    terms of api_major, api_minor and api_micro as setting
    api_major.api_minor to 0.8 means an ABI break.
    Instead, rest package version and api_version are decoupled, api_version
    can stay at 0.7 while the package version is set to 0.8.0.

 configure.ac |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c185068..09420fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,8 @@
-m4_define([api_major], [0])
-m4_define([api_minor], [7])
-m4_define([api_micro], [93])
+m4_define([rest_major], [0])
+m4_define([rest_minor], [8])
+m4_define([rest_micro], [0])
 
-m4_define([rest_version], [api_major.api_minor.api_micro])
+m4_define([rest_version], [rest_major.rest_minor.rest_micro])
 
 
 AC_PREREQ([2.63])
@@ -20,8 +20,8 @@ AM_INIT_AUTOMAKE([1.11 foreign -Wno-portability no-define dist-xz])
 
 AM_SILENT_RULES([yes])
 
-API_MAJOR=api_major
-API_MINOR=api_minor
+API_MAJOR=0
+API_MINOR=7
 AC_SUBST([API_VERSION],[$API_MAJOR.$API_MINOR])
 AC_SUBST([API_VERSION_AM],[$API_MAJOR\_$API_MINOR])
 AC_DEFINE_UNQUOTED(API_VERSION, [$API_VERSION], [API version])
@@ -141,7 +141,7 @@ AC_OUTPUT([
 
 echo ""
 echo "                 LibRest $VERSION"
-echo "                 ================"
+echo "                 ============="
 echo ""
 echo "                   prefix:   ${prefix}"
 echo ""


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]