Change installation path for service files 56/45856/1 accepted/tizen/mobile/20150817.134210 accepted/tizen/tv/20150817.134601 accepted/tizen/wearable/20150817.080743 submit/tizen_mobile/20150817.053233 submit/tizen_tv/20150817.053229 submit/tizen_wearable/20150817.053225
authorseungku kim <seungku.kim@samsung.com>
Wed, 12 Aug 2015 04:10:18 +0000 (13:10 +0900)
committerseungku kim <seungku.kim@samsung.com>
Wed, 12 Aug 2015 04:10:18 +0000 (13:10 +0900)
/usr/lib64/systemd/system -> /usr/lib/systemd/system

Change-Id: I01ef0c0f306b77a86c920024aa9600fa0fb84d97

packaging/bluetooth-frwk.spec

index b44f334..31ec7d5 100644 (file)
@@ -178,9 +178,9 @@ install -D -m 0644 LICENSE %{buildroot}%{_datadir}/license/bluetooth-frwk-devel
 
 #mkdir -p %{buildroot}%{_libdir}/systemd/user
 #install -m 0644 packaging/bluetooth-frwk-tv.service %{buildroot}%{_libdir}/systemd/user
-mkdir -p %{buildroot}%{_libdir}/systemd/system/%{_servicedir}
-install -m 0644 %{_servicefile} %{buildroot}%{_libdir}/systemd/system/bluetooth-frwk.service
-ln -s ../bluetooth-frwk.service %{buildroot}%{_libdir}/systemd/system/%{_servicedir}/bluetooth-frwk.service
+mkdir -p %{buildroot}%{_unitdir}/%{_servicedir}
+install -m 0644 %{_servicefile} %{buildroot}%{_unitdir}/bluetooth-frwk.service
+ln -s ../bluetooth-frwk.service %{buildroot}%{_unitdir}/%{_servicedir}/bluetooth-frwk.service
 
 %if %{with bluetooth_frwk_libnotify} || %{with bluetooth_frwk_libnotification}
 mkdir -p %{buildroot}%{_datadir}/icons/default
@@ -227,8 +227,8 @@ vconftool set -f -t bool memory/bluetooth/dutmode "0" -g 6520 -i
 %defattr(-, root, root)
 %{_libdir}/libbluetooth-api.so.*
 %{_datadir}/license/bluetooth-frwk
-%{_libdir}/systemd/system/%{_servicedir}/bluetooth-frwk.service
-%{_libdir}/systemd/system/bluetooth-frwk.service
+%{_unitdir}/%{_servicedir}/bluetooth-frwk.service
+%{_unitdir}/bluetooth-frwk.service
 
 %files devel
 %defattr(-, root, root)
@@ -249,7 +249,7 @@ vconftool set -f -t bool memory/bluetooth/dutmode "0" -g 6520 -i
 
 %{_bindir}/bt-service
 #%{_libdir}/systemd/user/bluetooth-frwk-tv.service
-%{_libdir}/systemd/system/%{_servicedir}/bluetooth-frwk.service
+%{_unitdir}/%{_servicedir}/bluetooth-frwk.service
 %{_sysconfdir}/dbus-1/system.d/bluetooth-frwk-service.conf
 %{_bindir}/bluetooth-frwk-test
 #%{_bindir}/bluetooth-gatt-test