From 0c2e28535a3d6a1fe35d00237712bd2d4fbc0ba4 Mon Sep 17 00:00:00 2001 From: seungku kim Date: Wed, 12 Aug 2015 13:10:18 +0900 Subject: [PATCH] Change installation path for service files /usr/lib64/systemd/system -> /usr/lib/systemd/system Change-Id: I01ef0c0f306b77a86c920024aa9600fa0fb84d97 --- packaging/bluetooth-frwk.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packaging/bluetooth-frwk.spec b/packaging/bluetooth-frwk.spec index b44f334..31ec7d5 100644 --- a/packaging/bluetooth-frwk.spec +++ b/packaging/bluetooth-frwk.spec @@ -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 -- 2.7.4