Code Clean: RPMLINK warning from % in #. 03/93403/1
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 24 Oct 2016 06:40:36 +0000 (15:40 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 24 Oct 2016 06:40:36 +0000 (15:40 +0900)
RPM may act strangely if there is % in #-comment.

Removed or modified to negate such effects.

Change-Id: I2690f978f25bf6ffb17454d4777d2034c8c09b9e
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/bluez.spec

index c57fd57..9288f0c 100644 (file)
@@ -1,4 +1,3 @@
-#%define with_libcapng --enable-capng
 %define _libpath /usr/lib
 %define upgrade_script_path /usr/share/upgrade/scripts
 Name:          bluez
@@ -151,7 +150,6 @@ make check
 
 # bluez-test
 rm -rvf $RPM_BUILD_ROOT/%{_libdir}/gstreamer-*
-#install --mode=0755 -D %{S:4} $RPM_BUILD_ROOT/usr/lib/udev/bluetooth.sh
 install --mode=0644 -D %{S:7} $RPM_BUILD_ROOT/%{_sysconfdir}/modprobe.d/50-bluetooth.conf
 
 # no idea why this is suddenly necessary...
@@ -168,20 +166,8 @@ install -D -m 0644 src/main_m.conf %{buildroot}%{_sysconfdir}/bluetooth/main.con
 %endif
 
 
-#install -D -m 0644 src/bluetooth.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/bluetooth.conf
-#install -D -m 0644 profiles/audio/audio.conf %{buildroot}%{_sysconfdir}/bluetooth/audio.conf
-#install -D -m 0644 profiles/network/network.conf %{buildroot}%{_sysconfdir}/bluetooth/network.conf
-
-#install -D -m 0644 COPYING %{buildroot}%{_datadir}/license/bluez
-#install -D -m 0644 COPYING %{buildroot}%{_datadir}/license/libbluetooth3
-#install -D -m 0644 COPYING %{buildroot}%{_datadir}/license/libbluetooth-devel
-
-#install -D -m 0755 %SOURCE101 %{buildroot}%{_bindir}/obex-root-setup
-#install -D -m 0755 %SOURCE102 %{buildroot}%{_sysconfdir}/obex/root-setup.d/000_create-symlinks
-#install -D -m 0755 %SOURCE103 %{buildroot}%{_bindir}/obex.sh
 install -D -m 0755 tools/btiotest $RPM_BUILD_ROOT/%{_bindir}/
 install -D -m 0755 tools/bluetooth-player $RPM_BUILD_ROOT/%{_bindir}/
-#install -D -m 0755 tools/mpris-player $RPM_BUILD_ROOT/%{_bindir}/
 install -D -m 0755 tools/btmgmt $RPM_BUILD_ROOT/%{_bindir}/
 install -D -m 0755 tools/scotest $RPM_BUILD_ROOT/%{_bindir}/
 install -D -m 0755 tools/bluemoon $RPM_BUILD_ROOT/%{_bindir}/
@@ -208,12 +194,12 @@ cp -f packaging/bluetoothd_upgrade.sh %{buildroot}%{upgrade_script_path}
 %manifest %{name}.manifest
 %defattr(-, root, root)
 %license COPYING
-#%{_sysconfdir}/bluetooth/audio.conf
+#{_sysconfdir}/bluetooth/audio.conf
 %{_sysconfdir}/bluetooth/main.conf
-#%{_sysconfdir}/bluetooth/network.conf
-#%{_sysconfdir}/bluetooth/rfcomm.conf
-#%{_sysconfdir}/dbus-1/system.d/bluetooth.conf
-#%{_datadir}/man/*/*
+#{_sysconfdir}/bluetooth/network.conf
+#{_sysconfdir}/bluetooth/rfcomm.conf
+#{_sysconfdir}/dbus-1/system.d/bluetooth.conf
+#{_datadir}/man/*/*
 %{_bindir}/hcitool
 %{_bindir}/l2ping
 %{_bindir}/obexctl
@@ -222,12 +208,12 @@ cp -f packaging/bluetoothd_upgrade.sh %{buildroot}%{upgrade_script_path}
 %{_bindir}/mpris-proxy
 %{_bindir}/sdptool
 %{_bindir}/ciptool
-#%{_bindir}/dfutool
+#{_bindir}/dfutool
 %{_bindir}/hciattach
 %{_bindir}/hciconfig
 %{_libexecdir}/bluetooth/bluetoothd
 %{_bindir}/bccmd
-#%{_sbindir}/hid2hci
+#{_sbindir}/hid2hci
 %dir /usr/lib/udev
 /usr/lib/udev/*
 %{upgrade_script_path}/bluetoothd_upgrade.sh
@@ -269,9 +255,9 @@ cp -f packaging/bluetoothd_upgrade.sh %{buildroot}%{upgrade_script_path}
 %{_libexecdir}/bluetooth/obexd
 %{_libpath}/systemd/user/obex.service
 %{_datadir}/dbus-1/services/org.bluez.obex.service
-#%{_sysconfdir}/obex/root-setup.d/000_create-symlinks
-#%{_bindir}/obex-root-setup
-#%{_bindir}/obex.sh
+#{_sysconfdir}/obex/root-setup.d/000_create-symlinks
+#{_bindir}/obex-root-setup
+#{_bindir}/obex.sh
 
 
 %files test
@@ -282,7 +268,7 @@ cp -f packaging/bluetoothd_upgrade.sh %{buildroot}%{upgrade_script_path}
 %{_bindir}/rctest
 %{_bindir}/bluetoothctl
 %{_bindir}/btiotest
-#%{_bindir}/mpris-player
+#{_bindir}/mpris-player
 %{_bindir}/bluetooth-player
 %{_bindir}/btmon
 %{_bindir}/hcidump