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>