summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2016-11-16 17:17:18 +0900
committerSemun Lee <sm79.lee@samsung.com>2017-01-15 23:31:34 -0800
commit8551c9dcb82822ebf72e4301841885e33c8eab02 (patch)
tree3e79b3bd883fb5fd6b37549049e169abe9444291 /packaging
parenta9979c5ee1217fc0bba5bf67307ecdc64cd3c6ba (diff)
downloadappcore-agent-8551c9dcb82822ebf72e4301841885e33c8eab02.tar.gz
appcore-agent-8551c9dcb82822ebf72e4301841885e33c8eab02.tar.bz2
appcore-agent-8551c9dcb82822ebf72e4301841885e33c8eab02.zip
Remove Profile Build Dependency: Do it at runtime
- This is for Tizen 4.0. : Tizen 4.0 Configurability and Build Blocks require to remove all profile-depending build options in spec files. (No More profile macros!) - It is recommended to distinguish features/profiles at runtime. unless it incurs too much overhead, which requires you to create multiple binaries and subpackages. Change-Id: Ia70c909b3dee7c6af6b34037f3e73dab5031c9f9 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/appcore-agent.spec18
1 files changed, 1 insertions, 17 deletions
diff --git a/packaging/appcore-agent.spec b/packaging/appcore-agent.spec
index 82289a5..e321c10 100644
--- a/packaging/appcore-agent.spec
+++ b/packaging/appcore-agent.spec
@@ -10,6 +10,7 @@ BuildRequires: cmake
BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(capi-appfw-app-control)
BuildRequires: pkgconfig(capi-appfw-app-common)
+BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(appcore-common)
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(ecore)
@@ -19,18 +20,6 @@ BuildRequires: pkgconfig(vconf-internal-keys)
%description
Service Application basic
-%if "%{?profile}" == "wearable"
-%define tizen_feature_background_management 1
-%else
-%if "%{?profile}" == "mobile"
-%define tizen_feature_background_management 1
-%else
-%if "%{?profile}" == "tv"
-%define tizen_feature_background_management 0
-%endif
-%endif
-%endif
-
%package devel
Summary: Application Core Agent
Group: Application Framework/Development
@@ -53,14 +42,9 @@ cp %{SOURCE1001} .
%build
-%if 0%{?tizen_feature_background_management}
-_TIZEN_FEATURE_BACKGROUND_MANAGEMENT=ON
-%endif
-
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%cmake -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
- -D_TIZEN_FEATURE_BACKGROUND_MANAGEMENT:BOOL=${_TIZEN_FEATURE_BACKGROUND_MANAGEMENT} \
.
%__make %{?_smp_mflags}