Use different scripts for specific targets 68/249268/1 accepted/tizen/6.0/unified/20201210.073652 submit/tizen_6.0/20201210.032826
authorJoogab Yun <joogab.yun@samsung.com>
Wed, 9 Dec 2020 11:22:15 +0000 (20:22 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Wed, 9 Dec 2020 11:22:15 +0000 (20:22 +0900)
Change-Id: I8ab91c5e2b5692afb5cb6bb5630e4e12118476d7

packaging/dali-extension.spec

index 33eebbc..1be5b40 100755 (executable)
@@ -243,14 +243,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}"