packaging/dali-toolkit.spec use license macro 63/120763/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:47:22 +0000 (13:47 +0900)
Change-Id: If26b5e211874717f7dc52d122b9699a7fb418f31

packaging/dali-toolkit.spec

index 6e66054889fe191d3af9bd36b3c6034fb6394a2f..1c05ee96e4b896e3adc6edca905956bb52af4755 100644 (file)
@@ -131,9 +131,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}
 
 # PO
 {
@@ -174,7 +171,7 @@ exit 0
 %{dali_toolkit_image_files}/*
 %{dali_toolkit_sound_files}/*
 %{dali_toolkit_style_files}/*
-%{_datadir}/license/%{name}
+%license LICENSE
 %{_datadir}/locale/*/LC_MESSAGES/*
 
 %files devel