From: Youngsoo Choi Date: Tue, 3 Mar 2015 10:11:04 +0000 (+0900) Subject: [tizen v3.0] changes of smack rule as per instruction from tizen v3.0 X-Git-Tag: submit/tizen/20201118.160233~901 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e2e8ef8da3fb321fdce51410d5c42d97c46d1a6;p=platform%2Fframework%2Fweb%2Fchromium-efl.git [tizen v3.0] changes of smack rule as per instruction from tizen v3.0 On Tizen v3.0, most of smack rules are removed. So, current smack rules need to be changed, as per the smack instruction from Tizen v3.0. This changes are confirmed by Tizen platform team. Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=11716 Reviewed by: Antonio Gomes, KC Park Change-Id: Id01dbcfaf25dc9f145d832a51c946428c9ad270a Signed-off-by: Youngsoo Choi --- diff --git a/tizen_src/packaging/chromium-efl.spec b/tizen_src/packaging/chromium-efl.spec index 81bf5f0..ca2ba01 100644 --- a/tizen_src/packaging/chromium-efl.spec +++ b/tizen_src/packaging/chromium-efl.spec @@ -281,7 +281,7 @@ export LDFLAGS="$LDFLAGS -L/lib" CXXFLAGS=$(echo $CXXFLAGS | sed 's/-g[0-9]*/ /g') %endif -%if %{!?chromium_efl_tizen_profile:0}%{?chromium_efl_tizen_profile} == "mobile" +%if "%{!?chromium_efl_tizen_profile:0}%{?chromium_efl_tizen_profile}" == "mobile" %define OUTPUT_BUILD_PROFILE_TARGET mobile %else %define OUTPUT_BUILD_PROFILE_TARGET tv @@ -414,7 +414,9 @@ mkdir -p "%{OUTPUT_FOLDER}"/pkgconfig/ sed -e 's#?VERSION?#%{version}#' tizen_src/build/pkgconfig/chromium-efl.pc.in \ > "%{OUTPUT_FOLDER}"/pkgconfig/chromium-efl.pc +%if "%{?chromium_efl_tizen_version}%{!?chromium_efl_tizen_version:0}" != "3.0" install -d "%{buildroot}"%{_sysconfdir}/smack/accesses2.d +%endif install -d "%{buildroot}"%{_bindir} install -d "%{buildroot}"%{_libdir}/pkgconfig install -d "%{buildroot}"%{_includedir}/chromium-ewk diff --git a/tizen_src/packaging/chromium-efl_v3.0.manifest b/tizen_src/packaging/chromium-efl_v3.0.manifest index 2fa5f40..2a0cec5 100644 --- a/tizen_src/packaging/chromium-efl_v3.0.manifest +++ b/tizen_src/packaging/chromium-efl_v3.0.manifest @@ -1,61 +1,5 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -