From 701f0b9da92d987f8a6440d4fe6ee66a1dc08aa9 Mon Sep 17 00:00:00 2001 From: "Jinho, Lee" Date: Mon, 17 Apr 2017 11:18:21 +0900 Subject: [PATCH] Revert "Restore License macro in dali-adaptor.spec file" This reverts commit 4ce762922a229bf48bb1e712e6f02ac547ec89f8. Change-Id: Ib4da7ca712fc10eebe52ad7e3bdf9ddecf263cde --- packaging/dali-adaptor.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packaging/dali-adaptor.spec b/packaging/dali-adaptor.spec index 601d328..eb12cc7 100644 --- a/packaging/dali-adaptor.spec +++ b/packaging/dali-adaptor.spec @@ -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 -- 2.7.4