From 903f4abdc198a6360e7f02a8cc6b876a2f463d2a Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Tue, 2 Dec 2014 11:26:01 +0100 Subject: [PATCH] clean spec file - remove bashism Change-Id: I0971a374da886d59c4f1bf057c24da15d7188908 Signed-off-by: Ronan Le Martret --- packaging/bluetooth-frwk.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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} -- 2.7.4