From: Youngjae Cho Date: Tue, 29 Nov 2022 02:30:19 +0000 (+0900) Subject: packaging: couple .spec version with .pc version X-Git-Tag: accepted/tizen/7.0/unified/20221209.015649~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f3545d6fcacd54847c5a442c09dedf48240170f;p=platform%2Fcore%2Fsystem%2Flibsyscommon.git packaging: couple .spec version with .pc version Change-Id: I2ccfce3f0afbfe66b2807858e7b081d7cbf022e5 Signed-off-by: Youngjae Cho --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 482712d..d9d7f07 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ SET(PREFIX ${CMAKE_INSTALL_PREFIX}) SET(EXEC_PREFIX "${PREFIX}/bin") SET(LIBDIR ${LIB_INSTALL_DIR}) SET(INCLUDEDIR "${PREFIX}/include") -SET(VERSION 4.1) +SET(VERSION ${FULLVER}) SET(libsyscommon_SRCS src/libgdbus/libgdbus.c diff --git a/packaging/libsyscommon.spec b/packaging/libsyscommon.spec index 3982d61..41bf65c 100644 --- a/packaging/libsyscommon.spec +++ b/packaging/libsyscommon.spec @@ -41,7 +41,7 @@ Development header files for system common library. cp %{SOURCE1001} . %build -%cmake . +%cmake . -DFULLVER=%{version} make %{?_smp_mflags} %install