clean spec file 91/31191/1 accepted/tizen/common/20141205.181504 accepted/tizen/mobile/20141208.013932 submit/tizen/20141204.024227
authorRonan Le Martret <ronan@fridu.net>
Tue, 2 Dec 2014 10:26:01 +0000 (11:26 +0100)
committerRonan Le Martret <ronan@fridu.net>
Tue, 2 Dec 2014 10:26:01 +0000 (11:26 +0100)
 - remove bashism

Change-Id: I0971a374da886d59c4f1bf057c24da15d7188908
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
packaging/bluetooth-frwk.spec

index 8a5781f..7835ebd 100644 (file)
@@ -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}