From: Ronan Le Martret Date: Tue, 2 Dec 2014 10:26:01 +0000 (+0100) Subject: clean spec file X-Git-Tag: accepted/tizen/common/20141205.181504^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F91%2F31191%2F1;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git clean spec file - remove bashism Change-Id: I0971a374da886d59c4f1bf057c24da15d7188908 Signed-off-by: Ronan Le Martret --- diff --git a/packaging/bluetooth-frwk.spec b/packaging/bluetooth-frwk.spec index 8a5781f..7835ebd 100644 --- a/packaging/bluetooth-frwk.spec +++ b/packaging/bluetooth-frwk.spec @@ -5,7 +5,7 @@ Name: bluetooth-frwk Summary: Bluetooth framework for BlueZ and Obexd Version: 0.2.55 -Release: 2 +Release: 0 Group: Network & Connectivity/Bluetooth License: Apache-2.0 Source0: %{name}-%{version}.tar.gz @@ -84,11 +84,11 @@ cp %{SOURCE1001} . %build %ifarch x86_64 -export CFLAGS+=" -Wall -g -fvisibility=hidden -fPIC" -export LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs" +export CFLAGS="${CFLAGS} -Wall -g -fvisibility=hidden -fPIC" +export LDFLAGS="${LDFLAGS} -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs" %else -export CFLAGS+=" -fpie" -export LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs -pie" +export CFLAGS="${CFLAGS} -fpie" +export LDFLAGS="${LDFLAGS} -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs -pie" %endif %cmake . \ @@ -105,7 +105,7 @@ export LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--unresolved-symbol -DLIBNOTIFICATION_SUPPORT=Off %endif -make +%__make %install rm -rf %{buildroot}