From: Lukasz Stanislawski Date: Tue, 11 Apr 2017 13:12:55 +0000 (+0200) Subject: spec: use %license keyword instead of cp X-Git-Tag: accepted/tizen/unified/20170420.155826^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76a68bcb965b3f604c3a240196a5cda91dd4c47c;p=profile%2Fmobile%2Fapps%2Fnative%2Findicator.git spec: use %license keyword instead of cp Change-Id: I9ab2dedddfa9cc56a6d99bc7b9ef8ff4351c755a --- diff --git a/packaging/org.tizen.indicator.spec b/packaging/org.tizen.indicator.spec index bea4a62..e2b9e57 100644 --- a/packaging/org.tizen.indicator.spec +++ b/packaging/org.tizen.indicator.spec @@ -69,7 +69,6 @@ Indicator window reference implementation. %define _pkg_data_dir %{_pkg_dir}/data %define _sys_icons_dir %{_pkg_shared_dir}/res %define _sys_packages_dir %{TZ_SYS_RO_PACKAGES} -%define _sys_license_dir %{TZ_SYS_SHARE}/license %define tizen_sign 1 %define tizen_sign_base %{_pkg_dir} %define tizen_sign_level public @@ -91,9 +90,6 @@ cd CMake %make_install cd - -mkdir -p %{buildroot}/%{_sys_license_dir} -cp LICENSE %{buildroot}/%{_sys_license_dir}/%{name} - %find_lang indicator-win @@ -104,6 +100,7 @@ cp LICENSE %{buildroot}/%{_sys_license_dir}/%{name} %{_pkg_dir}/res/resource/icons/* %{_pkg_dir}/res/resource/*.edj %{_sys_packages_dir}/%{name}.xml -%{_sys_license_dir}/%{name} %{_pkg_dir}/author-signature.xml %{_pkg_dir}/signature1.xml + +%license LICENSE