Update Packaging Spec file
authorTaejin Woo <tt.woo@samsung.com>
Fri, 27 Sep 2013 06:42:06 +0000 (15:42 +0900)
committerTaejin Woo <tt.woo@samsung.com>
Fri, 27 Sep 2013 06:42:06 +0000 (15:42 +0900)
Add LICENSE in Packaging Spec file

Change-Id: I33d4001e1d7bf887f5690d71dae5a7a5c6872473

packaging/bluetooth-tools.spec

index 6aebbae..3924992 100644 (file)
@@ -35,6 +35,8 @@ mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants
 install -m 0644 %{SOURCE1001} %{buildroot}%{_libdir}/systemd/system/
 ln -s ../bluetooth-address.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/bluetooth-address.service
 
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
 
 %files
 %manifest bluetooth-tools.manifest
@@ -51,4 +53,4 @@ ln -s ../bluetooth-address.service %{buildroot}%{_libdir}/systemd/system/multi-u
 %attr(0755,-,-) %{_prefix}/etc/bluetooth/bt-edutm-off.sh
 %{_libdir}/systemd/system/multi-user.target.wants/bluetooth-address.service
 %{_libdir}/systemd/system/bluetooth-address.service
-
+/usr/share/license/%{name}