Get library version from meta package 41/111341/5 submit/tizen/20170314.091005 submit/tizen/20170315.062057
authorSunmin Lee <sunm.lee@samsung.com>
Fri, 20 Jan 2017 06:40:45 +0000 (15:40 +0900)
committerSunmin Lee <sunm.lee@samsung.com>
Tue, 14 Mar 2017 07:27:06 +0000 (16:27 +0900)
Because now the library version means the change of meta file,
this info will be got from version file which is managed by
meta package.

Change-Id: I8bb9e89a0e777e0c1fd7504fd969e1592adcee34
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
configure.ac
packaging/tizen-platform-config.spec

index 21a90cd..56b2811 100644 (file)
@@ -11,7 +11,7 @@ AC_PROG_CC
 AM_PROG_AR
 LT_INIT([disable-static])
 
-AC_SUBST([LIBTZPLATFORM_CONFIG_SO_VERSION], [0:0:0])
+AC_SUBST([LIBTZPLATFORM_CONFIG_SO_VERSION], [$(cat /etc/libtzplatform-config.version | egrep -v "#")])
 AC_SUBST([LIBTZPLATFORM_CONFIG_VERSION], [3.0])
 
 AC_CONFIG_FILES([
index 7583841..488dd7a 100644 (file)
@@ -14,7 +14,7 @@ Source1001:     %{name}.manifest
 Source1002:     201.tizen-platform-config_upgrade.sh
 Source2001:     200.filesystem-pre.patch.sh
 Source2002:     799.filesystem-post.patch.sh
-BuildRequires:  tizen-platform-config-meta
+BuildRequires:  tizen-platform-config-meta >= 1.3
 BuildRequires:  gperf
 # for sha256sum
 BuildRequires:  coreutils