Modify the install path for license file 60/121160/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/4.0/unified/20170816.013919 accepted/tizen/4.0/unified/20170828.223347 accepted/tizen/common/20170327.142923 accepted/tizen/ivi/20170328.054924 accepted/tizen/mobile/20170328.054757 accepted/tizen/tv/20170328.054845 accepted/tizen/unified/20170328.054943 accepted/tizen/wearable/20170328.054904 submit/tizen/20170327.075259 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100003 tizen_4.0.m1_release
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 27 Mar 2017 07:23:57 +0000 (16:23 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 27 Mar 2017 07:23:57 +0000 (16:23 +0900)
Change-Id: Icfa3cefd488154f104d090eeafe284efbc596953
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
packaging/bluetooth-tools.spec

index e203c09..069e354 100644 (file)
@@ -98,7 +98,6 @@ ln -s ../bluetooth-address.service %{buildroot}%{_unitdir}/multi-user.target.wan
 mkdir -p %{buildroot}%{_prefix}/etc/bluetooth/
 install -m 0755 scripts/bt-dev-start.sh %{buildroot}%{_prefix}/etc/bluetooth/bt-dev-start.sh
 install -m 0755 scripts/bt-dev-end.sh %{buildroot}%{_prefix}/etc/bluetooth/bt-dev-end.sh
-install -D -m 0644 LICENSE.APLv2 %{buildroot}%{_datadir}/license/bluetooth-tools
 
 install -D -m 0644 packaging/bluetooth-hci-logger.service %{buildroot}%{_libdir}/systemd/system/bluetooth-hci-logger.service
 install -D -m 0644 packaging/bluetooth-force-hci-logger.service %{buildroot}%{_libdir}/systemd/system/bluetooth-force-hci-logger.service
@@ -112,6 +111,7 @@ ln -sf %{_libdir}/systemd/system/bluetooth-force-hci-logger.service %{_sysconfdi
 
 %files
 %manifest %{name}.manifest
+%license LICENSE.APLv2
 %defattr(-,root,root,-)
 %exclude %{_sysconfdir}/rc.d/init.d/bluetooth-address
 %{_sysconfdir}/rc.d/rc3.d/S60bluetooth-address
@@ -122,7 +122,6 @@ ln -sf %{_libdir}/systemd/system/bluetooth-force-hci-logger.service %{_sysconfdi
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/bt-edutm-off.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/bt-hci-logdump.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/bt-run-hci-logger.sh
-%{_datadir}/license/bluetooth-tools
 %{_unitdir}/multi-user.target.wants/bluetooth-address.service
 %{_unitdir}/bluetooth-address.service
 %{_libdir}/systemd/system/bluetooth-hci-logger.service
@@ -142,6 +141,7 @@ rm bt-stack-down.sh
 rm bt-reset-env.sh
 popd
 %files profile_common
+%license LICENSE.APLv2
 %{_sysconfdir}/rc.d/init.d/bluetooth-address
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/common/bt-stack-up.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/common/bt-stack-down.sh
@@ -162,6 +162,7 @@ rm bt-stack-down-with-radio.sh
 rm bt-reset-env.sh
 popd
 %files profile_mobile
+%license LICENSE.APLv2
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/mobile/bt-stack-up.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/mobile/bt-stack-down.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/mobile/bt-reset-env.sh
@@ -180,6 +181,7 @@ rm bt-stack-down.sh
 rm bt-reset-env.sh
 popd
 %files profile_ivi
+%license LICENSE.APLv2
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/ivi/bt-stack-up.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/ivi/bt-stack-down.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/ivi/bt-reset-env.sh
@@ -197,12 +199,14 @@ rm bt-stack-down.sh
 rm bt-reset-env.sh
 popd
 %files profile_wearable
+%license LICENSE.APLv2
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/wearable/bt-stack-up.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/wearable/bt-stack-down.sh
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/wearable/bt-reset-env.sh
 
 %files no-firmware
 %manifest %{name}.manifest
+%license LICENSE.APLv2
 %defattr(-, root, root)
 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end.sh
 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-start.sh