[Tizen] Restore License macro in dali-adaptor.spec file 47/125447/1
authorJinho, Lee <jeano.lee@samsung.com>
Mon, 17 Apr 2017 08:13:57 +0000 (17:13 +0900)
committerJinho, Lee <jeano.lee@samsung.com>
Mon, 17 Apr 2017 08:17:18 +0000 (17:17 +0900)
This reverts commit 701f0b9da92d987f8a6440d4fe6ee66a1dc08aa9.

Change-Id: Iced91882fcea55354b6c4ecc9238a3813b5901b4

packaging/dali-adaptor.spec

index f25a977..93ca3bf 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