Disable test and ut package 73/315373/2
authorYoungHun Kim <yh8004.kim@samsung.com>
Wed, 31 Jul 2024 04:55:28 +0000 (13:55 +0900)
committerYoungHun Kim <yh8004.kim@samsung.com>
Wed, 31 Jul 2024 05:12:51 +0000 (14:12 +0900)
Change-Id: I9f239d7beb700a8f874721abb79d3525daf83cc9

CMakeLists.txt
packaging/resource-center-api.spec

index ea0f807765156454e297cae0e28f0be4d9806080..f3c1cab983c795b3d5d8f3828c3b8beb9acd5c7f 100644 (file)
@@ -72,11 +72,11 @@ CONFIGURE_FILE(
 )
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc DESTINATION ${LIB_DIR}/pkgconfig)
 
-ADD_SUBDIRECTORY(test)
+#ADD_SUBDIRECTORY(test)
 
-IF(TOMATO STREQUAL "y")
-    ADD_SUBDIRECTORY(ut)
-ENDIF(TOMATO STREQUAL "y")
+#IF(TOMATO STREQUAL "y")
+#    ADD_SUBDIRECTORY(ut)
+#ENDIF(TOMATO STREQUAL "y")
 
 IF(UNIX)
 
index 7061372d81e0c4e65e13d24dcf350d66d8c53fb1..dc2b9d7994a0aa3d3dfee1aed1eb58156fe1a70d 100644 (file)
@@ -13,8 +13,6 @@ BuildRequires:  pkgconfig(libtzplatform-config)
 BuildRequires:  pkgconfig(resource-manager)
 BuildRequires:  pkgconfig(resource-information)
 
-%define _install_prefix /usr
-
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 
@@ -48,8 +46,7 @@ cmake . \
       -DFULLVER=%{version} \
       -DMAJORVER=${MAJORVER} \
       -DLIB_DIR=%{_libdir} \
-      -DCMAKE_INSTALL_PREFIX=%{_install_prefix} \
-      -DTOMATO_BIN=%{_tomatobin}
+      -DCMAKE_INSTALL_PREFIX=%{_libdir}
 make %{?jobs:-j%jobs}
 
 %install
@@ -73,7 +70,7 @@ cp -rf ut/tc/* %{buildroot}%{_tomatodir}/tc
 %{_libdir}/libresource-center-api.so.*
 %manifest resource-center-api.manifest
 %license LICENSE.APLv2
-%{_bindir}/resource_center_test
+#%{_bindir}/resource_center_test
 
 %files devel
 %{_includedir}/resource_center.h