packaging/dali.spec use license macro 61/120761/1
authorJinho, Lee <jeano.lee@samsung.com>
Fri, 24 Mar 2017 04:39:58 +0000 (13:39 +0900)
committerJinho, Lee <jeano.lee@samsung.com>
Fri, 24 Mar 2017 04:45:51 +0000 (13:45 +0900)
Change-Id: I2c4666e6c0b4662190f41f4945b5496dacc54b3b

packaging/dali.spec

index 197abca..5e59c25 100644 (file)
@@ -122,9 +122,6 @@ rm -rf %{buildroot}
 cd build/tizen
 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
 
-# LICENSE
-mkdir -p %{buildroot}/usr/share/license
-cp -af %{_builddir}/%{name}-%{version}/LICENSE %{buildroot}/usr/share/license/%{name}
 
 
 ##############################
@@ -154,7 +151,7 @@ exit 0
 %defattr(-,root,root,-)
 %{_libdir}/lib%{name}-core.so*
 %defattr(-,app,app,-)
-%{_datadir}/license/%{name}
+%license LICENSE
 
 %files devel
 %defattr(-,root,root,-)