Remove OS upgrade script 98/212498/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 22 Aug 2019 06:50:27 +0000 (15:50 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 22 Aug 2019 06:50:27 +0000 (15:50 +0900)
Since Tizen 4.0 there is no change for the file properties.
So we don't need to use the upgrade script for bluez.

Change-Id: I18b1b66a730fcbcfecfd51ade2e47de3baaefd09
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
packaging/500.bluez_upgrade.sh [deleted file]
packaging/bluez.spec

diff --git a/packaging/500.bluez_upgrade.sh b/packaging/500.bluez_upgrade.sh
deleted file mode 100755 (executable)
index 0b39809..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
-
-#------------------------------------------#
-# bluetoothd patch for upgrade             #
-#------------------------------------------#
-
-# Change the smack label for BT chip and paired info
-source /usr/share/upgrade/rw-update-macro.inc
-get_version_info
-
-if [ $OLD_VER == "3.0" ]; then
-       chsmack -a "_" /var/lib/bluetooth
-       chsmack -a "_" /var/lib/bluetooth* -r
-fi
index c973b6f..ceec92f 100755 (executable)
@@ -6,7 +6,6 @@
 
 #%define with_libcapng --enable-capng
 %define _libpath /usr/lib
-%define upgrade_script_path /usr/share/upgrade/scripts
 Name:          bluez
 Summary:       Bluetooth Stack for Linux
 Version:       5.50
@@ -400,9 +399,6 @@ ln -sf bluetooth.service %{buildroot}%{_libpath}/systemd/system/dbus-org.bluez.s
 ln -sf ../bluetooth.service %{buildroot}%{_libpath}/systemd/system/multi-user.target.wants/bluetooth.service
 #endif
 
-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
@@ -448,7 +444,6 @@ popd
 #%{_sbindir}/hid2hci
 %dir /usr/lib/udev
 /usr/lib/udev/*
-%{upgrade_script_path}/500.bluez_upgrade.sh
 
 %files -n bluez-extension-bredr
 %manifest %{name}.manifest