Fixup: add missing sessiond-platform.h accepted/tizen/unified/20221209.014600
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Mon, 5 Dec 2022 19:39:59 +0000 (20:39 +0100)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Mon, 5 Dec 2022 20:18:54 +0000 (21:18 +0100)
Change-Id: I1d5117d6745d2ea14d8911703e2a782bb79f661c

packaging/sessiond.spec
src/library/CMakeLists.txt

index f595bdb4d35d02815c73b4dd7f482542c3334ab2..a1ce5e21658c142d63bea426567a9696c011fc8a 100644 (file)
@@ -1,6 +1,6 @@
 Name:       sessiond
 Summary:    Service to manage subsessions
-Version:    0.7.7
+Version:    0.7.7.1
 Release:    1
 Group:      System/Management
 License:    MIT
@@ -88,6 +88,7 @@ popd
 %{_libdir}/libsessiond.so
 %{_libdir}/pkgconfig/libsessiond.pc
 %{_includedir}/sessiond.h
+%{_includedir}/sessiond-platform.h
 
 %files -n libsessiond-tests
 %manifest sessiond.manifest
index 774de3bd7c008e9767a101c579c5186878b51e45..de3e26f1b65213cdcda776ae9a0020643322f5b8 100644 (file)
@@ -14,9 +14,10 @@ set_target_properties(
        # TODO: Find a way to fetch the relewant part of "${VERSION}".
        # Setting the CMake project version should help but I were not able to do this quickly.
        SOVERSION 0
-       PUBLIC_HEADER "include/sessiond.h"
+       PUBLIC_HEADER "include/sessiond.h;include/sessiond-platform.h"
        C_VISIBILITY_PRESET hidden
 )
+
 install(TARGETS libsessiond)
 
 configure_file(libsessiond.pc.in libsessiond.pc @ONLY)