Clean up the previous build result for re-configuration 46/140246/1 submit/tizen/20170724.081454 submit/tizen/20170725.090318
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 24 Jul 2017 08:00:55 +0000 (17:00 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 24 Jul 2017 08:00:55 +0000 (17:00 +0900)
Change-Id: I113814cd46c1249e93594d110d135da3b451d6ec
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
packaging/bluez.spec

index 77af7a7..a5abb5f 100755 (executable)
@@ -194,11 +194,14 @@ make %{?_smp_mflags} all V=1
 
 mkdir -p le
 
-%make_install
+#%make_install
 cp -a  %{buildroot}%{_libexecdir}/bluetooth/bluetoothd le/
 
 
 # For BREDR only
+make distclean
+
+autoreconf -fiv
 
 export LDFLAGS=" -lncurses -Wl,--as-needed "
 export CFLAGS+=" -DTIZEN_FEATURE_BLUEZ_MODIFY -DTIZEN_FEATURE_BLUEZ_PBAP_SIM -DTIZEN_FEATURE_BLUEZ_AVRCP_TARGET"
@@ -241,11 +244,14 @@ make %{?_smp_mflags} all V=1
 
 mkdir -p bredr
 
-%make_install
+#%make_install
 cp -a  %{buildroot}%{_libexecdir}/bluetooth/bluetoothd bredr/
 
 
 # For BREDR + LE
+autoreconf -fiv
+
+make distclean
 
 export LDFLAGS=" -lncurses -Wl,--as-needed "
 export CFLAGS+=" -DTIZEN_FEATURE_BLUEZ_MODIFY -DTIZEN_FEATURE_BLUEZ_PBAP_SIM -DTIZEN_FEATURE_BLUEZ_AVRCP_TARGET"
@@ -303,7 +309,6 @@ pushd le
 for FILE in bluetoothd; do mv "$FILE" "%{buildroot}%{_libexecdir}/bluetooth/$FILE.le"; done
 popd
 
-
 # bluez-test
 rm -rvf $RPM_BUILD_ROOT/%{_libdir}/gstreamer-*
 #install --mode=0755 -D %{S:4} $RPM_BUILD_ROOT/usr/lib/udev/bluetooth.sh