From: Sangyoon Jang Date: Tue, 7 Aug 2018 10:47:23 +0000 (+0900) Subject: Fix rpm manifest X-Git-Tag: accepted/tizen/5.0/unified/20181102.014128~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F186133%2F3;p=platform%2Fcore%2Fappfw%2Fapp2sd.git Fix rpm manifest Fix wrong usage of rpm manifest file. Change-Id: I1dbbd870b758693069ed2f1c87cf60e72e0f19da Signed-off-by: Sangyoon Jang --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 799d4fa..48417f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,6 @@ SET_TARGET_PROPERTIES(${APP2EXT} PROPERTIES COMPILE_FLAGS ${CFLAGS} "-fPIC -fsta SET_TARGET_PROPERTIES(${APP2EXT} PROPERTIES LINK_FLAGS "-Wl,--as-needed,-z,relro") TARGET_LINK_LIBRARIES(${APP2EXT} ${app2ext_libpkgs_LDFLAGS}) -CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/app2sd.manifest.in ${CMAKE_BINARY_DIR}/app2sd.manifest @ONLY) CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/app2sd.pc.in ${CMAKE_BINARY_DIR}/app2sd.pc @ONLY) INSTALL(TARGETS ${APP2EXT} DESTINATION ${LIB_INSTALL_DIR} COMPONENT RuntimeLibraries) diff --git a/app2sd.manifest.in b/packaging/app2sd-plugin.manifest similarity index 57% rename from app2sd.manifest.in rename to packaging/app2sd-plugin.manifest index 36ba1cf..e5b4de8 100644 --- a/app2sd.manifest.in +++ b/packaging/app2sd-plugin.manifest @@ -3,6 +3,6 @@ - + diff --git a/packaging/app2sd-test.manifest b/packaging/app2sd-test.manifest new file mode 100644 index 0000000..97e8c31 --- /dev/null +++ b/packaging/app2sd-test.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/app2sd.manifest b/packaging/app2sd.manifest new file mode 100644 index 0000000..97e8c31 --- /dev/null +++ b/packaging/app2sd.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/app2sd.spec b/packaging/app2sd.spec index 0c59ba5..6624de0 100644 --- a/packaging/app2sd.spec +++ b/packaging/app2sd.spec @@ -5,6 +5,9 @@ Release: 1 Group: Application Framework/Package Management License: Apache-2.0 Source0: %{name}-%{version}.tar.gz +Source1: %{name}.manifest +Source2: %{name}-test.manifest +Source3: %{name}-plugin.manifest BuildRequires: pkgconfig(db-util) BuildRequires: pkgconfig(minizip) @@ -48,6 +51,10 @@ app2sd server and plugin library %prep %setup -q +cp %{SOURCE1} . +cp %{SOURCE2} . +cp %{SOURCE3} . + %build MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %cmake . -DUNITDIR=%{_unitdir} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} @@ -75,10 +82,12 @@ rm -rf %{buildroot} %{_libdir}/libapp2ext.so %files test +%manifest %{name}-test.manifest %defattr(-,root,root,-) %{_bindir}/test_app2ext %files plugin +%manifest %{name}-plugin.manifest %{_libdir}/libapp2sd.so* %{_bindir}/app2sd-server %{_unitdir}/app2sd-server.service