Change path for x86_64 emulator binary 41/99541/1 accepted/tizen/3.0/common/20161129.103134 accepted/tizen/3.0/mobile/20161129.002523 accepted/tizen/3.0/wearable/20161129.002623 submit/tizen_3.0/20161124.080928 submit/tizen_3.0/20161128.084919
authorJihoon Jung <jh8801.jung@samsung.com>
Tue, 1 Nov 2016 10:57:31 +0000 (19:57 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Wed, 23 Nov 2016 08:21:11 +0000 (00:21 -0800)
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