Change path for x86_64 emulator binary 36/94836/1 accepted/tizen/common/20161124.170224 accepted/tizen/mobile/20161125.004620 accepted/tizen/mobile/20161129.000831 accepted/tizen/wearable/20161125.004644 accepted/tizen/wearable/20161129.000854 submit/tizen/20161124.081140 submit/tizen/20161128.084849
authorJihoon Jung <jh8801.jung@samsung.com>
Tue, 1 Nov 2016 10:57:31 +0000 (19:57 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Tue, 1 Nov 2016 10:58:10 +0000 (19:58 +0900)
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Change-Id: Icf904d687cc67041fab288d4574043c2fe059cd0

CMakeLists.txt
packaging/nfc-plugin-emul.spec

index e6de5f1..c5d34c1 100755 (executable)
@@ -37,10 +37,6 @@ ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
 
 TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} pthread "-ldl")
 
-IF (TIZEN_ARCH_64)
-       INSTALL(TARGETS ${PROJECT_NAME} DESTINATION lib64/nfc)
-ELSE (TIZEN_ARCH_64)
-       INSTALL(TARGETS ${PROJECT_NAME} DESTINATION lib/nfc)
-ENDIF(TIZEN_ARCH_64)
+INSTALL(TARGETS ${PROJECT_NAME} DESTINATION lib/nfc)
 
 
index 9a11b55..b606f95 100644 (file)
@@ -34,8 +34,8 @@ rm -rf %{buildroot}
 
 install -D -m 0644 LICENSE.Apache-2.0  %{buildroot}/%{_datadir}/license/nfc-plugin-emul
 
-mkdir -p %{buildroot}%{_libdir}/udev/rules.d
-cp 98-nfc-plugin-emul.rules %{buildroot}%{_libdir}/udev/rules.d/98-nfc-plugin-emul.rules
+mkdir -p %{buildroot}/usr/lib/udev/rules.d
+cp 98-nfc-plugin-emul.rules %{buildroot}/usr/lib/udev/rules.d/98-nfc-plugin-emul.rules
 
 %postun -p /sbin/ldconfig
 
@@ -43,6 +43,6 @@ cp 98-nfc-plugin-emul.rules %{buildroot}%{_libdir}/udev/rules.d/98-nfc-plugin-em
 
 %files
 %defattr(-,root,root,-)
-%{_libdir}/nfc/libnfc-plugin.so
+/usr/lib/nfc/libnfc-plugin.so
 %{_datadir}/license/nfc-plugin-emul
-%{_libdir}/udev/rules.d/98-nfc-plugin-emul.rules
+/usr/lib/udev/rules.d/98-nfc-plugin-emul.rules