Use different scripts for specific targets accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/hotfix/20210120.074845 submit/tizen_6.0_hotfix/20210120.071216
authorJoogab Yun <joogab.yun@samsung.com>
Wed, 9 Dec 2020 11:22:15 +0000 (20:22 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Wed, 20 Jan 2021 07:08:42 +0000 (16:08 +0900)
Change-Id: I8ab91c5e2b5692afb5cb6bb5630e4e12118476d7

packaging/dali-extension.spec

index 4c3ef80..c53e8a8 100755 (executable)
@@ -235,14 +235,13 @@ rm -rf %{buildroot}
 # install dali.sh
 mkdir -p %{buildroot}%{_sysconfdir}/profile.d
 
-%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "mobile"
-install -m 0644 scripts/other/dali.sh %{buildroot}%{_sysconfdir}/profile.d
-%endif
-
 %if "%{?profile}" != "common" && "%{?profile}" != "ivi"
 install -m 0644 scripts/dali.sh %{buildroot}%{_sysconfdir}/profile.d
 %endif
 
+%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "mobile"
+install -m 0644 scripts/other/dali.sh %{buildroot}%{_sysconfdir}/profile.d
+%endif
 
 cd build/tizen
 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"