Remove bluez-devel and libbluetooth rpm 39/238539/1 accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable tizen_3.0 accepted/tizen/3.0/mobile/20200716.214119 accepted/tizen/3.0/tv/20200716.214130 accepted/tizen/3.0/wearable/20200716.214137 submit/tizen_3.0/20200715.054813
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 25 Jun 2020 01:10:21 +0000 (10:10 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 15 Jul 2020 01:55:39 +0000 (10:55 +0900)
Bluez testing tools only use libbluetooth.so. So we
don't need to provide it as the developement package.

Change-Id: I47960e8eb3c4bb8137ea4561458714d47ce6302f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
packaging/bluez.spec

index 9193cce..a6e57d2 100644 (file)
@@ -4,7 +4,7 @@
 Name:          bluez
 Summary:       Bluetooth Stack for Linux
 Version:       5.37
-Release:       2
+Release:       3
 Group:         Network & Connectivity/Bluetooth
 License:       GPL-2.0+ and LGPL-2.1+ and Apache-2.0
 URL:           http://www.bluez.org/
@@ -49,24 +49,6 @@ BuildRequires:  pkgconfig(libtzplatform-config)
 %description
 The Bluetooth stack for Linux.
 
-%package devel
-Summary:        Files needed for BlueZ development
-License:        GPL-2.0+
-Group:          Development/Libraries
-Requires:       libbluetooth = %{version}
-
-%description devel
-Files needed to develop applications for the BlueZ Bluetooth protocol
-stack.
-
-%package -n libbluetooth
-Summary:        Bluetooth Libraries
-License:        GPL-2.0+
-Group:          Network & Connectivity/Bluetooth
-
-%description -n libbluetooth
-Bluetooth protocol stack libraries.
-
 %package -n obexd
 Summary:        OBEX Server A basic OBEX server implementation
 Group:          Network & Connectivity/Bluetooth
@@ -80,7 +62,6 @@ Summary:        Tools for testing of various Bluetooth-functions
 License:        GPL-2.0+
 Group:          Development/Tools
 Requires:       dbus-python
-Requires:       libbluetooth = %{version}
 Requires:       python-gobject
 
 %description test
@@ -174,8 +155,6 @@ install -D -m 0644 src/main_m.conf %{buildroot}%{_sysconfdir}/bluetooth/main.con
 #install -D -m 0644 profiles/network/network.conf %{buildroot}%{_sysconfdir}/bluetooth/network.conf
 
 #install -D -m 0644 COPYING %{buildroot}%{_datadir}/license/bluez
-#install -D -m 0644 COPYING %{buildroot}%{_datadir}/license/libbluetooth3
-#install -D -m 0644 COPYING %{buildroot}%{_datadir}/license/libbluetooth-devel
 
 #install -D -m 0755 %SOURCE101 %{buildroot}%{_bindir}/obex-root-setup
 #install -D -m 0755 %SOURCE102 %{buildroot}%{_sysconfdir}/obex/root-setup.d/000_create-symlinks
@@ -201,10 +180,6 @@ ln -sf ../bluetooth-frwk.service %{buildroot}%{_libpath}/systemd/system/multi-us
 mkdir -p %{buildroot}%{upgrade_script_path}
 cp -f packaging/500.bluez_upgrade.sh %{buildroot}%{upgrade_script_path}
 
-%post -n libbluetooth -p /sbin/ldconfig
-
-%postun -n libbluetooth -p /sbin/ldconfig
-
 %files
 %manifest %{name}.manifest
 %defattr(-, root, root)
@@ -232,6 +207,8 @@ cp -f packaging/500.bluez_upgrade.sh %{buildroot}%{upgrade_script_path}
 %dir /usr/lib/udev
 /usr/lib/udev/*
 %{upgrade_script_path}/500.bluez_upgrade.sh
+%exclude %{_includedir}/bluetooth/*
+%exclude %{_libdir}/pkgconfig/bluez.pc
 
 #test -2
 %if "%{?profile}" == "tv"
@@ -248,23 +225,9 @@ cp -f packaging/500.bluez_upgrade.sh %{buildroot}%{upgrade_script_path}
 %dir /var/lib/bluetooth
 %dir %{_sysconfdir}/modprobe.d
 %config(noreplace) %{_sysconfdir}/modprobe.d/50-bluetooth.conf
+%{_libdir}/libbluetooth.so*
 
 
-
-
-%files devel
-%manifest %{name}.manifest
-%defattr(-, root, root)
-%{_includedir}/bluetooth/*
-%{_libdir}/libbluetooth.so
-%{_libdir}/pkgconfig/bluez.pc
-
-%files -n libbluetooth
-%manifest %{name}.manifest
-%defattr(-, root, root)
-%{_libdir}/libbluetooth.so.*
-%license COPYING
-
 %files -n obexd
 %manifest %{name}.manifest
 %license COPYING