Revert "[Tizen] Restore License macro in dali-adaptor.spec file" 63/129363/1
authortaeyoon0.lee <taeyoon0.lee@samsung.com>
Tue, 16 May 2017 07:25:52 +0000 (16:25 +0900)
committertaeyoon0.lee <taeyoon0.lee@samsung.com>
Tue, 16 May 2017 07:26:08 +0000 (16:26 +0900)
This reverts commit 68f62cf898e5f521a82e3fbe2b18bd75c32065cb.

Change-Id: I906d304d3d77e6d5ff6016174660b60710de5cc0

packaging/dali-adaptor.spec

index ca25346..589c362 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