Fix post command for installing wifi-direct-plugin-wpasupplicant 87/123987/1 accepted/tizen/unified/20170410.155811 submit/tizen/20170410.045716
authorYu Jiung <jiung.yu@samsung.com>
Mon, 10 Apr 2017 02:08:40 +0000 (11:08 +0900)
committerYu Jiung <jiung.yu@samsung.com>
Mon, 10 Apr 2017 02:08:53 +0000 (11:08 +0900)
Description : There's some problem when creating the image by installing
serise for RPMs. Sometimes link added by post command is breaking and
wifi-direct can't work propery. The reason for this is not known.

Change-Id: Ibb794451438a8ef5b61c40cd91524d9e2341995f
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
packaging/wifi-direct-manager.spec

index c4aa6ed..8d751e3 100644 (file)
@@ -8,7 +8,7 @@
 
 Name:          wifi-direct-manager
 Summary:       Wi-Fi Direct manger
-Version:       1.2.219
+Version:       1.2.220
 Release:       1
 Group:      Network & Connectivity/Wireless
 License:    Apache-2.0
@@ -491,7 +491,7 @@ esac
 
 %post -n wifi-direct-plugin-wpasupplicant-profile_mobile
 pushd %{_libdir}
-ln -sf wifi-direct-plugin-wpasupplicant.so.mobile wifi-direct-plugin-wpasupplicant.so
+mv wifi-direct-plugin-wpasupplicant.so.mobile wifi-direct-plugin-wpasupplicant.so
 popd
 /sbin/ldconfig
 
@@ -529,7 +529,7 @@ esac
 
 %post -n wifi-direct-plugin-wpasupplicant-extension-TM1
 pushd %{_libdir}
-mv wifi-direct-plugin-wpasupplicant.so.tm1 wifi-direct-plugin-wpasupplicant.so.mobile
+mv wifi-direct-plugin-wpasupplicant.so.tm1 wifi-direct-plugin-wpasupplicant.so
 popd
 /sbin/ldconfig