summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseungku kim <seungku.kim@samsung.com>2015-06-12 15:03:55 +0900
committerseungku kim <seungku.kim@samsung.com>2015-06-12 15:03:55 +0900
commit1dcb3b1fdd9dc44084b39a4c806870cd62e26043 (patch)
treeda6e094412b88919ba3634a6180aab8e2f978edb
parent310219b66f1c77a1391270a8095b4a2b7e5be6a2 (diff)
downloadbluez-1dcb3b1fdd9dc44084b39a4c806870cd62e26043.tar.gz
bluez-1dcb3b1fdd9dc44084b39a4c806870cd62e26043.tar.bz2
bluez-1dcb3b1fdd9dc44084b39a4c806870cd62e26043.zip
32bit = /usr/lib 64bit = /usr/lib64 Change-Id: Ic4dac00db88b831e3a9ecad1404d7424f46880b1
-rw-r--r--packaging/bluez.spec9
1 files changed, 4 insertions, 5 deletions
diff --git a/packaging/bluez.spec b/packaging/bluez.spec
index 021631ff..d56caac3 100644
--- a/packaging/bluez.spec
+++ b/packaging/bluez.spec
@@ -140,7 +140,6 @@ make check
%make_install
# bluez-test
-echo "%{_libdir}"
rm -rvf $RPM_BUILD_ROOT/%{_libdir}/gstreamer-*
install --mode=0755 -D %{S:4} $RPM_BUILD_ROOT/usr/lib/udev/bluetooth.sh
install --mode=0644 -D %{S:7} $RPM_BUILD_ROOT/%{_sysconfdir}/modprobe.d/50-bluetooth.conf
@@ -172,7 +171,7 @@ install -D -m 0755 attrib/gatttool $RPM_BUILD_ROOT/%{_bindir}/
install -D -m 0755 tools/obexctl %{buildroot}%{_bindir}/obexctl
#test
-ln -sf bluetooth.service %{buildroot}%{_unitdir}/dbus-org.bluez.service
+ln -sf bluetooth.service %{buildroot}%{_libdir}/systemd/system/dbus-org.bluez.service
%post -n libbluetooth -p /sbin/ldconfig
@@ -205,8 +204,8 @@ ln -sf bluetooth.service %{buildroot}%{_unitdir}/dbus-org.bluez.service
/usr/lib/udev/*
#test -2
-%{_unitdir}/bluetooth.service
-%{_unitdir}/dbus-org.bluez.service
+%{_libdir}/systemd/system/bluetooth.service
+%{_libdir}/systemd/system/dbus-org.bluez.service
%{_datadir}/dbus-1/system-services/org.bluez.service
%config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf
@@ -233,7 +232,7 @@ ln -sf bluetooth.service %{buildroot}%{_unitdir}/dbus-org.bluez.service
%files -n obexd
%defattr(-,root,root,-)
%{_libdir}/bluetooth/obexd
-%{_unitdir_user}/obex.service
+%{_libdir}/systemd/user/obex.service
%{_datadir}/dbus-1/services/org.bluez.obex.service
%{_sysconfdir}/obex/root-setup.d/000_create-symlinks
%{_bindir}/obex-root-setup