[Tizen] Restore License macro in dali-adaptor.spec file 78/128178/1
authorHeeyong Song <heeyong.song@samsung.com>
Mon, 8 May 2017 03:46:20 +0000 (12:46 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Mon, 8 May 2017 03:46:24 +0000 (12:46 +0900)
Change-Id: I016d3a1b99628b2ca3c8b7f7f8e4d639479553b9

packaging/dali-adaptor.spec

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