Revert "[Tizen] Restore License macro in dali-adaptor.spec file" 41/134841/1
authorHeeyong Song <heeyong.song@samsung.com>
Tue, 20 Jun 2017 06:57:04 +0000 (15:57 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Tue, 20 Jun 2017 06:57:07 +0000 (15:57 +0900)
This reverts commit ab0355e5d863437413306e6450bcb79e2a3a6ac0.

Change-Id: Idffcba67a1601f8c1e2e239fbc78970bd91d071f

packaging/dali-adaptor.spec

index 6c0aced..bf9115f 100644 (file)
@@ -522,6 +522,9 @@ for FILE in libdali-*.so*; do mv "$FILE" "%{buildroot}%{_libdir}/$FILE"; done
 %endif
 popd
 
+mkdir -p %{buildroot}/usr/share/license
+cp -af %{_builddir}/%{name}-%{version}/LICENSE %{buildroot}/usr/share/license/%{name}
+
 ##############################
 # Upgrade order:
 # 1 - Pre Install new package
@@ -640,7 +643,7 @@ exit 0
 %defattr(-,app,app,-)
 %dir %{user_shader_cache_dir}
 %{_bindir}/*
-%license LICENSE
+%{_datadir}/license/%{name}
 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
 # if common ||"undefined"
 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
@@ -657,7 +660,6 @@ exit 0
 %manifest dali-adaptor.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libdali-video-player-plugin.so*
-%license LICENSE
 %endif
 
 %files dali-feedback-plugin