Use license macro 09/120409/1
authorseungha.son <seungha.son@samsung.com>
Thu, 23 Mar 2017 01:31:17 +0000 (10:31 +0900)
committerseungha.son <seungha.son@samsung.com>
Thu, 23 Mar 2017 01:31:42 +0000 (10:31 +0900)
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ic840894bd9368ee56185fc51ae69af0b1f647dbd

packaging/notification.spec

index dbd203d3c5b7828cc27603360458677063f6a951..9b45cee66bf1834cacff11ef2739e9e48fbf8878 100755 (executable)
@@ -64,9 +64,6 @@ make %{?jobs:-j%jobs}
 rm -rf %{buildroot}
 %make_install
 
-mkdir -p %{buildroot}%{TZ_SYS_SHARE}/license
-cp -f LICENSE %{buildroot}%{TZ_SYS_SHARE}/license/%{name}
-
 mkdir -p %{buildroot}%{upgrade_script_path}
 cp -f scripts/505.notification_upgrade.sh %{buildroot}%{upgrade_script_path}
 
@@ -87,7 +84,7 @@ fi
 %manifest notification.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libnotification.so*
-%{TZ_SYS_SHARE}/license/%{name}
+%license LICENSE
 %attr(755,root,root) %{_sysconfdir}/gumd/useradd.d/11_notification-add.post
 %{_bindir}/notification_init
 %{upgrade_script_path}/505.notification_upgrade.sh