[Tizen] Restore License macro in dali-adaptor.spec file 77/131877/1
authorJinho, Lee <jeano.lee@samsung.com>
Wed, 31 May 2017 02:45:46 +0000 (11:45 +0900)
committerJinho, Lee <jeano.lee@samsung.com>
Wed, 31 May 2017 02:45:48 +0000 (11:45 +0900)
This reverts commit 05ae50359b25e3189baf5e0c837e034ae864188d.

Change-Id: I49dff48d2666e4e9483ba2166f01469a0e89fff0

packaging/dali-adaptor.spec

index bbe562d..48c442a 100644 (file)
@@ -522,9 +522,6 @@ 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
@@ -643,7 +640,7 @@ exit 0
 %defattr(-,app,app,-)
 %dir %{user_shader_cache_dir}
 %{_bindir}/*
-%{_datadir}/license/%{name}
+%license LICENSE
 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
 # if common ||"undefined"
 %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
@@ -660,6 +657,7 @@ exit 0
 %manifest dali-adaptor.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libdali-video-player-plugin.so*
+%license LICENSE
 %endif
 
 %files dali-feedback-plugin