Remove Profile Build Dependency 27/92227/9
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 14 Oct 2016 04:56:38 +0000 (04:56 +0000)
committerPyun DoHyun <dh79.pyun@samsung.com>
Mon, 5 Dec 2016 05:31:25 +0000 (21:31 -0800)
commit4adfe38936b3e4f130f125e5c7063e19e9c59630
treefb4ced1368be8ac98c8b3a48b924041b8a526443
parent05ebb33c970f7b75fa6df16f2c0cda37f654d980
Remove Profile Build Dependency

This commit completely removes the build dependencies
on Tizen profile.

Note:

1. This commit is not required for Tizen 3.0 release,
but for later Tizen versions. If maintainers do not feel
comfortable because of the release schedule, maintainers
may delay SR/merge this commit.

2. When maintainers submit SR, they need to submit
JIRA-TRE issues of the followings:

  - Add bluetooth-agent-profile_common for common profile if common has bluetooth-agent
  - Add bluetooth-agent-profile_mobile for mobile profile if mobile has bluetooth-agent
  - Add bluetooth-agent-profile_wearable for wearable profile if wearable has bluetooth-agent
  - Add bluetooth-agent-profile_ivi for ivi profile if ivi has bluetooth-agent
  - Add bluetooth-agent-profile_tv for tv profile if tv has bluetooth-agent

Note that you should NOT remove bluetooth-agent from the current
meta when you add these bluetooth-agent-profile_*

3. The %if / %endif with %{?profile} statements do not
deteriorate Tizen 4.0 reconfigurability because they are
written to be ignored if profile is common or "undefined".

  They may be removed after 4.0 development. However, for a vendor
that does want only ONE profile at any case, this may increase the build
time by a few seconds. If they are that much desperate to reduce a few
seconds of build time (in my PC, it's about 4 seconds), they may keep
the %if/%endif statements. However, for public, doing this saves
about N minutes of build time.

  These statements are added because some of current Tizen profile OBS
projects do not have BuildRequired packages. Thus, this commit is not
suitable as a model for other packages to refactor spec files.

Change-Id: Ia28e511765b11e27135d647684d6511406e99033
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/bluetooth-agent.spec