Merge "packaging/dali-toolkit.spec use license macro" into devel/master
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 24 Mar 2017 18:35:19 +0000 (11:35 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Fri, 24 Mar 2017 18:35:19 +0000 (11:35 -0700)
packaging/dali-toolkit.spec

index bde72c9..239159d 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