Fix the build error for 64bit 05/56605/1 accepted/tizen/tv/20160112.043903 accepted/tizen/wearable/20160112.044011 submit/tizen_mobile/20160112.003807 submit/tizen_tv/20160112.003810 submit/tizen_wearable/20160112.003814
authorTaejin Woo <tt.woo@samsung.com>
Mon, 11 Jan 2016 09:46:51 +0000 (18:46 +0900)
committerTaejin Woo <tt.woo@samsung.com>
Mon, 11 Jan 2016 09:47:19 +0000 (18:47 +0900)
Change-Id: Ife0dd13be4707f712da45aadfd4e3f12b3cfecfa
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
packaging/bluetooth-share.spec

index dd62b75..9c5d38f 100644 (file)
@@ -103,11 +103,20 @@ install -D -m 0755 %{SOURCE1004} %{buildroot}%{TZ_SYS_SHARE}/%{name}/ressources/
 %files -n libbluetooth-share
 %manifest libbluetooth-share.manifest
 %defattr(-, root, root)
+%ifarch aarch64
+/usr/lib/libbluetooth-share-api.so.0.*
+%else
 %{_libdir}/libbluetooth-share-api.so.0.*
+%endif
 
 %files -n libbluetooth-share-devel
 %manifest libbluetooth-share-devel.manifest
 %defattr(-, root, root)
 %{_includedir}/bluetooth-share-api/bluetooth-share-api.h
+%ifarch aarch64
+/usr/lib/libbluetooth-share-api.so
+/usr/lib/pkgconfig/bluetooth-share-api.pc
+%else
 %{_libdir}/libbluetooth-share-api.so
 %{_libdir}/pkgconfig/bluetooth-share-api.pc
+%endif