From: MyungJoo Ham Date: Tue, 20 Sep 2016 06:03:22 +0000 (+0000) Subject: Remove trivial unnecessary profile dependencies X-Git-Tag: submit/tizen/20160921.022751^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F48%2F88648%2F2;p=platform%2Fcore%2Fmessaging%2Fmsg-service.git Remove trivial unnecessary profile dependencies If TV profile does not need this package, excluding this package from meta-tv.git or Tizen:TV OBS project should be enough. (And both are done currently) Because %profile macro is going to be "obsolete" soon, we recommend not to use %profile or other profile-dependent statements in build scripts (.spec file). For other .spec statements with %profile, I'll send a follow-up patches to remove completely while keeping compatibility with mobile/wearable/others. Examples: (More Complex) https://review.tizen.org/gerrit/#/c/86842/ https://review.tizen.org/gerrit/#/c/85863/ (Less Complex) https://review.tizen.org/gerrit/#/c/88635/ Change-Id: I6a2275104ea5ce84b760326314075c37c875370c Signed-off-by: MyungJoo Ham --- diff --git a/packaging/msg-service.spec b/packaging/msg-service.spec index 3037f1a..704590e 100755 --- a/packaging/msg-service.spec +++ b/packaging/msg-service.spec @@ -8,10 +8,6 @@ Source0: %{name}-%{version}.tar.gz Source1: msg-server.service Source2: msg-server.socket -%if "%{?profile}" == "tv" -ExcludeArch: %{arm} %ix86 x86_64 -%endif - Requires(post): /usr/bin/sqlite3 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig