Modify the install path for license file 59/121159/1 accepted/tizen/common/20170327.142939 accepted/tizen/ivi/20170328.054927 accepted/tizen/mobile/20170328.054804 accepted/tizen/tv/20170328.054848 accepted/tizen/unified/20170328.054946 accepted/tizen/wearable/20170328.054907 submit/tizen/20170327.075259
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 27 Mar 2017 07:16:04 +0000 (16:16 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 27 Mar 2017 07:17:52 +0000 (16:17 +0900)
Change-Id: I9305b3c12cd78e119b8b28990ca4786d10a405d3
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
packaging/bluetooth-frwk.spec

index 52e8846..bceeace 100644 (file)
@@ -235,11 +235,6 @@ make
 rm -rf %{buildroot}
 %make_install
 
-install -D -m 0644 LICENSE %{buildroot}%{_datadir}/license/bluetooth-frwk
-install -D -m 0644 LICENSE %{buildroot}%{_datadir}/license/bluetooth-frwk-service
-install -D -m 0644 LICENSE %{buildroot}%{_datadir}/license/bluetooth-frwk-httpproxy
-install -D -m 0644 LICENSE %{buildroot}%{_datadir}/license/bluetooth-frwk-devel
-
 mkdir -p %{buildroot}%{_unitdir}/starter.target.wants
 mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
 
@@ -272,9 +267,9 @@ ln -s ../bluetooth-frwk.service %{buildroot}%{_unitdir}/starter.target.wants/blu
 
 %files
 %manifest %{name}.manifest
+%license LICENSE
 %defattr(-, root, root)
 %{_libdir}/libbluetooth-api.so.*
-%{_datadir}/license/bluetooth-frwk
 
 %files devel
 %defattr(-, root, root)
@@ -287,28 +282,28 @@ ln -s ../bluetooth-frwk.service %{buildroot}%{_unitdir}/starter.target.wants/blu
 %{_includedir}/bt-service/bluetooth-ipsp-api.h
 %{_libdir}/pkgconfig/bluetooth-api.pc
 %{_libdir}/libbluetooth-api.so
-%{_datadir}/license/bluetooth-frwk-devel
 
 %files service
 %manifest %{name}.manifest
+%license LICENSE
 %defattr(-, root, root)
 %{_bindir}/bt-service
 %{_sysconfdir}/dbus-1/system.d/bluetooth-frwk-service.conf
 %{_bindir}/bluetooth-frwk-test
 %{_varlibdir}/bluetooth
 %{_prefix}/etc/bluetooth
-%{_datadir}/license/bluetooth-frwk-service
 
 %files httpproxy
 %manifest %{name}.manifest
+%license LICENSE
 %defattr(-, root, root)
 %{_bindir}/bt-httpproxy
-%{_datadir}/license/bluetooth-frwk-httpproxy
 %{_datadir}/dbus-1/system-services/org.projectx.httpproxy.service
 %{_sysconfdir}/dbus-1/system.d/bluetooth-frwk-httpproxy.conf
 
 %files core
 %manifest %{name}.manifest
+%license LICENSE
 %defattr(-, root, root)
 %{_datadir}/dbus-1/system-services/org.projectx.bt_core.service
 %{_bindir}/bt-core
@@ -316,6 +311,7 @@ ln -s ../bluetooth-frwk.service %{buildroot}%{_unitdir}/starter.target.wants/blu
 
 %files test
 %manifest %{name}.manifest
+%license LICENSE
 %defattr(-, root, root)
 %{_bindir}/bluetooth-frwk-test
 #{_bindir}/bluetooth-gatt-test
@@ -323,6 +319,7 @@ ln -s ../bluetooth-frwk.service %{buildroot}%{_unitdir}/starter.target.wants/blu
 
 %files plugin-headed
 %manifest %{name}.manifest
+%license LICENSE
 %defattr(-, root, root)
 %{_libdir}/bt-plugin-headed.so
 
@@ -335,6 +332,7 @@ pushd %{_unitdir}
 mv bluetooth-frwk.service bluetooth-frwk.service.common
 popd
 %files profile_common
+%license LICENSE
 %{_unitdir}/starter.target.wants/bluetooth-frwk.service
 %{_unitdir}/bluetooth-frwk.service.common
 %{_datadir}/dbus-1/system-services/org.projectx.bt.service
@@ -348,6 +346,7 @@ pushd %{_unitdir}
 mv bluetooth-frwk.service bluetooth-frwk.service.mobile
 popd
 %files profile_mobile
+%license LICENSE
 %{_unitdir}/multi-user.target.wants/bluetooth-frwk.service
 %{_unitdir}/bluetooth-frwk.service.mobile
 %{_datadir}/dbus-1/system-services/org.projectx.bt.service
@@ -370,6 +369,7 @@ mv bt-core bt-core.tm1
 popd
 %files extension-TM1
 %{_unitdir}/bluetooth-frwk.service.tm1
+%license LICENSE
 %defattr(-, root, root)
 %{_bindir}/bt-core.tm1
 %endif
@@ -383,6 +383,7 @@ pushd %{_unitdir}
 mv bluetooth-frwk.service bluetooth-frwk.service.wearable
 popd
 %files profile_wearable
+%license LICENSE
 %{_unitdir}/multi-user.target.wants/bluetooth-frwk.service
 %{_unitdir}/bluetooth-frwk.service.wearable
 %{_datadir}/dbus-1/system-services/org.projectx.bt.service
@@ -396,6 +397,7 @@ pushd %{_unitdir}
 mv bluetooth-frwk.service bluetooth-frwk.service.tv
 popd
 %files profile_tv
+%license LICENSE
 %{_unitdir}/multi-user.target.wants/bluetooth-frwk.service
 %{_unitdir}/bluetooth-frwk.service.tv
 %{_datadir}/dbus-1/system-services/org.projectx.bt.service
@@ -416,6 +418,7 @@ pushd %{_datadir}/dbus-1/system-services
 mv org.projectx.bt.service org.projectx.bt.service.ivi
 popd
 %files profile_ivi
+%license LICENSE
 %{_unitdir}/multi-user.target.wants/bluetooth-frwk.service
 %{_unitdir}/bluetooth-frwk.service.wearable
 %{_datadir}/dbus-1/system-services/org.projectx.bt.service.ivi