Provide virtual package bluetooth-scripts 97/70597/1 accepted/tizen/common/20160613.034929 accepted/tizen/common/20160615.193453 accepted/tizen/ivi/20160615.070247 accepted/tizen/mobile/20160615.070223 accepted/tizen/tv/20160615.070213 accepted/tizen/wearable/20160615.070204 submit/tizen/20160525.004005 submit/tizen/20160530.005404 submit/tizen/20160615.011738 submit/tizen_common/20160612.163609 submit/tizen_common/20160612.171122
authorMaciej Wereski <m.wereski@partner.samsung.com>
Wed, 11 May 2016 07:19:22 +0000 (09:19 +0200)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Thu, 19 May 2016 17:50:24 +0000 (19:50 +0200)
This patch replaces previous strict and profile-specific dependency to
"bluetooth-tools-no-firmware" with virtual one to "bluetooth-scripts".

This change is necessary to resolve file conflict between this package
and board-specific firmware provided by bluetooth-firmware-bcm-*
packages.

Conflict was caused by providing following scripts:

* /etc/bluetooth/bt-dev-start.sh (or symbolic link with this name)
* /etc/bluetooth/bt-dev-end.sh

by both projects mentioned above.

Change-Id: Idba7daec43db5a63ccdfb651740f2cc5cd04c461
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
packaging/bluetooth-tools.spec

index 67f88c5..f960934 100644 (file)
@@ -9,9 +9,7 @@ Source1001: bluetooth-address.service
 BuildRequires:  cmake
 Suggests:       bluetooth-share
 Requires:       tizen-platform-config-tools
-%if "%{profile}" != "mobile"
-Requires :      bluetooth-tools-no-firmware
-%endif
+Requires:      bluetooth-scripts
 
 %description
 Tools fo bluetooth run/stop and set address
@@ -21,6 +19,7 @@ Summary:    On/Off Bluetooth adapter
 Group:      Network & Connectivity/Bluetooth
 Requires:   %{name} = %{version}-%{release}
 Requires:   rfkill
+Provides:   bluetooth-scripts
 Conflicts:  bluetooth-firmware-bcm
 
 %description no-firmware