Modify the install path for license file 01/119301/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 16 Mar 2017 08:52:41 +0000 (17:52 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 16 Mar 2017 08:52:41 +0000 (17:52 +0900)
Change-Id: Icb67a53d76b63571bd672ee5292c583ad8c67cf4
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
packaging/bluetooth-agent.spec

index 421d3cc..ac32395 100644 (file)
@@ -106,7 +106,6 @@ make VERBOSE=1
 rm -rf %{buildroot}
 %make_install
 
-install -D -m 0644 LICENSE %{buildroot}%{_datadir}/license/bluetooth-agent
 #mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
 #%if "%{?profile}" != "wearable"
 #install -m 0644 packaging/bluetooth-ag-agent.service %{buildroot}%{_unitdir}/
@@ -125,6 +124,7 @@ ln -sf %{_libdir}/systemd/system/bluetooth-pbap-agent.service %{_sysconfdir}/sys
 
 %files
 %manifest %{name}.manifest
+%license LICENSE
 %defattr(-, root, root)
 %if "%{?profile}" == "wearable" || "%{?profile}" == "ivi"
 %{_bindir}/bluetooth-hf-agent
@@ -145,10 +145,10 @@ ln -sf %{_libdir}/systemd/system/bluetooth-pbap-agent.service %{_sysconfdir}/sys
 %{_libdir}/systemd/user/bluetooth-map-agent.service
 %{_libdir}/systemd/system/bluetooth-pbap-agent.service
 %endif
-%{_datadir}/license/bluetooth-agent
 
 %files ipsp
 %manifest %{name}.manifest
+%license LICENSE
 %defattr(-, root, root)
 %{_datadir}/dbus-1/system-services/org.projectx.bt_ipsp.service
 %{_bindir}/bt-ipsp