Use license macro in .spec file 25/124325/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Tue, 11 Apr 2017 06:42:19 +0000 (15:42 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Tue, 11 Apr 2017 06:42:19 +0000 (15:42 +0900)
Change-Id: I0edfe7bfcd61cd5de4049eb9abdb4fe91c2abdb6
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
packaging/voice-control-elm.spec

index 00a4ed5..285c3ea 100644 (file)
@@ -72,8 +72,6 @@ mkdir objdir
 
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}%{TZ_SYS_RO_SHARE}/license
-install LICENSE %{buildroot}%{TZ_SYS_RO_SHARE}/license/%{name}
 
 (cd objdir &&
 %make_install)
@@ -86,6 +84,7 @@ rm -rf %{buildroot}
 mkdir -p %{TZ_SYS_RO_SHARE}/voice
 
 %files
+%license LICENSE
 %manifest %{name}.manifest
 %attr(644,root,root)
 %defattr(-,root,root,-)