From 1033edc247aa29ce413a2461273102af2a40c687 Mon Sep 17 00:00:00 2001 From: Mu-Woong Lee Date: Mon, 20 Feb 2017 12:49:40 +0900 Subject: [PATCH] Cleanup the build script Change-Id: I60fbf688dea6a0f73467b939f4da36a27a72d801 Signed-off-by: Mu-Woong Lee --- packaging/context-store.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/context-store.spec b/packaging/context-store.spec index 5cb13b7..235067e 100644 --- a/packaging/context-store.spec +++ b/packaging/context-store.spec @@ -29,6 +29,7 @@ Requires: %{name} = %{version}-%{release} Requires: context-service Provides: %{name}-profile_mobile = %{version}-%{release} Provides: %{name}-profile_wearable = %{version}-%{release} +%global __provides_exclude ^.*-genuine\\.so.*$ %description genuine Binary replacement for context-store. @@ -56,11 +57,10 @@ export CXXFLAGS+=" -Wno-empty-body -fomit-frame-pointer -fno-optimize-sibling-ca export CXXFLAGS+=" -fno-strict-aliasing -fno-unroll-loops -fsigned-char -fstrict-overflow" export CXXFLAGS+=" -Wnon-virtual-dtor -std=c++0x" -cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DMAJORVER=${MAJORVER} -DFULLVER=%{version} -make %{?jobs:-j%jobs} +%cmake . -DMAJORVER=${MAJORVER} -DFULLVER=%{version} +make %{?_smp_mflags} %install -rm -rf %{buildroot} %make_install -- 2.7.4