From 1b4ac800d14983d7817d6961da173941ec72f594 Mon Sep 17 00:00:00 2001
From: Piotr Pruski
Date: Wed, 9 Mar 2016 15:45:08 +0100
Subject: [PATCH] fixup! Added libtzplatform-config package for following the
Tizen Directory rules.
Change-Id: Ic6957640aec260e22de5841920ddabb475d677f9
Signed-off-by: Piotr Pruski
---
CMakeLists.txt | 2 +-
packaging/org.tizen.settings.spec | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 10f3598..9a79334 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -120,7 +120,7 @@ ADD_DEFINITIONS("-DPACKAGE=\"${PACKAGE_NAME}\"")
ADD_DEFINITIONS("-DEDJEDIR=\"${EDJEDIR}\"")
ADD_DEFINITIONS("-DEDJEFILE=\"${EDJEDIR}/${TARGET_EDJ}\"")
ADD_DEFINITIONS("-DTHEMEFILE=\"${EDJEDIR}/${THEME_EDJ}\"")
-ADD_DEFINITIONS("-DTZ_SYS_RO_APPS=\"${TZ_SYS_RO_APPS}\"")
+ADD_DEFINITIONS("-DTZ_SYS_RO_APPS=\"${TZ_SYS_RO_APP}\"")
FOREACH(flag ${PKGS_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
diff --git a/packaging/org.tizen.settings.spec b/packaging/org.tizen.settings.spec
index 013de56..b2054cb 100644
--- a/packaging/org.tizen.settings.spec
+++ b/packaging/org.tizen.settings.spec
@@ -24,7 +24,7 @@ BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(alarm-service)
Requires(post): /usr/bin/vconftool
-%define _appdir /%{TZ_SYS_RO_APPS}/%{name}
+%define _appdir %{TZ_SYS_RO_APP}/%{name}
%define _bindir %{_appdir}/bin
%define _resdir %{_appdir}/res
%define _edjedir %{_resdir}/edje
@@ -47,7 +47,7 @@ cmake \
-DRESDIR=%{_resdir} \
-DEDJEDIR=%{_edjedir} \
-DTZ_SYS_RO_PACKAGES=%{TZ_SYS_RO_PACKAGES} \
- -DTZ_SYS_RO_APPS=%{TZ_SYS_RO_APPS} \
+ -DTZ_SYS_RO_APP=%{TZ_SYS_RO_APP} \
-DDESKTOP_ICONDIR=%{_desktop_icondir} \
-DDESKTOP_ICON=%{name}.png \
-DPACKAGEDIR=%{_pkgdir}
--
2.7.4