change spec for license 27/121127/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170328.141026 accepted/tizen/ivi/20170329.033656 accepted/tizen/mobile/20170329.033608 accepted/tizen/tv/20170329.033639 accepted/tizen/unified/20170329.033714 accepted/tizen/wearable/20170329.033645 submit/tizen/20170328.051846 submit/tizen/20170328.062854
authorIckhee Woo <ickhee.woo@samsung.com>
Mon, 27 Mar 2017 07:20:14 +0000 (16:20 +0900)
committerIckhee Woo <ickhee.woo@samsung.com>
Mon, 27 Mar 2017 07:20:14 +0000 (16:20 +0900)
Change-Id: Idd56ab4e0cbfbb34d2d310871f22fb945ae4edfb
Signed-off-by: Ickhee Woo <ickhee.woo@samsung.com>
packaging/push.spec

index 7a55d02..017b1bb 100644 (file)
@@ -216,9 +216,6 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/pushd.service
 %install_service multi-user.target.wants pushd.service
 
 
-mkdir -p %{buildroot}/usr/share/licenses/%{name}
-cp -f LICENSE %{buildroot}/usr/share/licenses/%{name}
-
 mkdir -p %{buildroot}%{_includedir}
 cp -a include/push-service.h %{buildroot}%{_includedir}
 cp -a include/push.h %{buildroot}%{_includedir}
@@ -496,6 +493,7 @@ popd
 
 %files -n libpush
 %manifest libpush.manifest
+%license LICENSE
 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
 # if mobile || ivi || common || "undefined"
 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv"
@@ -511,7 +509,8 @@ popd
 %files bin
 %manifest push-bin.manifest
 %{_unitdir}/pushd.service
-%attr(644,root,root) /usr/share/licenses/%{name}/LICENSE
+%license LICENSE
+
 %attr(755,root,root) %{_upgrade_script_path}%{_upgrade_script}
 %{_unitdir}/multi-user.target.wants/pushd.service