From 0e850520da1a879c394e42e4b7eddda910ce0305 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Thu, 23 Mar 2017 10:12:27 +0900 Subject: [PATCH] Use license macro Change-Id: I3f4935d4c01e7ebeb9166f1f3e17a47dfd60ee9d Signed-off-by: Hwankyu Jhun --- packaging/syspopup.spec | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/packaging/syspopup.spec b/packaging/syspopup.spec index ec1d4e4..e6fa6de 100644 --- a/packaging/syspopup.spec +++ b/packaging/syspopup.spec @@ -93,12 +93,7 @@ make %{?jobs:-j%jobs} %install %make_install -mkdir -p %{buildroot}%{TZ_SYS_RO_SHARE}/license -install LICENSE %{buildroot}%{TZ_SYS_RO_SHARE}/license/%{name} -install LICENSE %{buildroot}%{TZ_SYS_RO_SHARE}/license/%{name}-devel -install LICENSE %{buildroot}%{TZ_SYS_RO_SHARE}/license/%{name}-caller -install LICENSE %{buildroot}%{TZ_SYS_RO_SHARE}/license/%{name}-caller-devel - +mkdir -p %{buildroot}%{_datadir} touch %{buildroot}%{_datadir}/popup_noti_term mkdir -p %{buildroot}%{upgrade_script_path} @@ -122,7 +117,7 @@ cp -f scripts/502.syspopup_upgrade.sh %{buildroot}%{upgrade_script_path} %{_bindir}/sp_initdb %{_libdir}/libsyspopup.so* %{_datadir}/popup_noti_term -%TZ_SYS_RO_SHARE/license/%{name} +%license LICENSE %{upgrade_script_path}/502.syspopup_upgrade.sh %files devel @@ -132,13 +127,12 @@ cp -f scripts/502.syspopup_upgrade.sh %{buildroot}%{upgrade_script_path} %{_includedir}/syspopup.h %{_libdir}/libsyspopup.so %{_libdir}/pkgconfig/syspopup.pc -%TZ_SYS_RO_SHARE/license/%{name}-devel %files caller %manifest %{name}-caller.manifest %defattr(-,root,root,-) %{_libdir}/libsyspopup_caller.so* -%TZ_SYS_RO_SHARE/license/%{name}-caller +%license LICENSE %files caller-devel %manifest %{name}-caller-devel.manifest @@ -146,4 +140,3 @@ cp -f scripts/502.syspopup_upgrade.sh %{buildroot}%{upgrade_script_path} %{_libdir}/libsyspopup_caller.so %{_includedir}/syspopup_caller.h %{_libdir}/pkgconfig/syspopup-caller.pc -%TZ_SYS_RO_SHARE/license/%{name}-caller-devel -- 2.7.4