From: Baptiste DURAND Date: Mon, 7 Oct 2013 13:27:40 +0000 (+0200) Subject: Fix Build/Packaging Errors X-Git-Tag: submit/tizen/20131010.112027^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05f1e242a1915179ba9987bc24d51b4c20678172;p=platform%2Fframework%2Fweb%2Fwrt-commons.git Fix Build/Packaging Errors => Use macro %cmake => Remove useless cp command for LICENSE. Since rpm 4.11 the license is managed by rpm (by using %license macro in file section) Change-Id: If68cf57c6f39ec036d34f0a0394b6960e9dbfce7 Signed-off-by: Baptiste DURAND --- diff --git a/packaging/wrt-commons.spec b/packaging/wrt-commons.spec index 3b3fee7..f958838 100644 --- a/packaging/wrt-commons.spec +++ b/packaging/wrt-commons.spec @@ -58,7 +58,7 @@ export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE" export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--hash-style=both -Wl,--as-needed" -cmake . -DVERSION=%{version} \ +%cmake . -DVERSION=%{version} \ -DDPL_LOG="OFF" \ -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} \ %{?WITH_TESTS:-DWITH_TESTS=%WITH_TESTS} \ @@ -66,8 +66,6 @@ cmake . -DVERSION=%{version} \ make %{?jobs:-j%jobs} %install -mkdir -p %{buildroot}/usr/share/license -cp LICENSE %{buildroot}/usr/share/license/%{name} %make_install