Remove duplicated pkgconfig file installation 63/193063/1
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 14 Nov 2018 07:53:38 +0000 (16:53 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 14 Nov 2018 07:54:07 +0000 (16:54 +0900)
Change-Id: I23644821bc2cf44a0db5ffbeb75112c663492dbe
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
CMakeLists.txt
packaging/launchpad.spec

index 4c77152..573fc00 100755 (executable)
@@ -151,6 +151,8 @@ INSTALL(TARGETS ${LAUNCHPAD_LIB} DESTINATION ${LIB_INSTALL_DIR} COMPONENT Runtim
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/inc/launchpad.h DESTINATION include/launchpad)
 CONFIGURE_FILE(launchpad.pc.in launchpad.pc @ONLY)
 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/launchpad.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
+CONFIGURE_FILE(launchpad.pc.in liblaunchpad.pc @ONLY)
+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/liblaunchpad.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
 
 
 
index 3d40662..1c43188 100644 (file)
@@ -130,7 +130,7 @@ ln -sf ../launchpad-process-pool.service %{buildroot}%{_unitdir_user}/basic.targ
 %files devel
 %{_includedir}/launchpad/*.h
 %{_libdir}/*.so
-%{_libdir}/pkgconfig/*.pc
+%{_libdir}/pkgconfig/launchpad.pc
 
 %files -n launchpad-loader
 %manifest launchpad-loader.manifest
@@ -146,5 +146,5 @@ ln -sf ../launchpad-process-pool.service %{buildroot}%{_unitdir_user}/basic.targ
 %files -n liblaunchpad-devel
 %{_includedir}/launchpad/*.h
 %{_libdir}/*.so
-%{_libdir}/pkgconfig/*.pc
+%{_libdir}/pkgconfig/liblaunchpad.pc