summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunmin Lee <sunm.lee@samsung.com>2017-01-20 15:40:45 +0900
committerSunmin Lee <sunm.lee@samsung.com>2017-03-14 16:27:06 +0900
commit62857ede343e0ecd1d2dd3c3e20e0597792d4ad5 (patch)
tree8d092bf708bf5e990c5fe2bb8d07a50aaf2a475d
parentbedf8ed4864fa1d3aa97a1370e55530ea3ab66f1 (diff)
downloadtizen-platform-config-62857ede343e0ecd1d2dd3c3e20e0597792d4ad5.tar.gz
tizen-platform-config-62857ede343e0ecd1d2dd3c3e20e0597792d4ad5.tar.bz2
tizen-platform-config-62857ede343e0ecd1d2dd3c3e20e0597792d4ad5.zip
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>
-rw-r--r--configure.ac2
-rw-r--r--packaging/tizen-platform-config.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 21a90cd..56b2811 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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([
diff --git a/packaging/tizen-platform-config.spec b/packaging/tizen-platform-config.spec
index 7583841..488dd7a 100644
--- a/packaging/tizen-platform-config.spec
+++ b/packaging/tizen-platform-config.spec
@@ -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