- enable_dali_smack_rules addition for handling rule file
Change-Id: I8f438334f94f3ff427cf63656fb589c0df57bf2a
mkdir -p %{buildroot}%{dali_icon_dir}
mv %{buildroot}/%{dali_app_ro_dir}/images/%{name}.png %{buildroot}%{dali_icon_dir}
-%if !%{with wayland}
+%if 0%{?enable_dali_smack_rules} && !%{with wayland}
mkdir -p %{buildroot}%{smack_rule_dir}
cp -f %{_builddir}/%{name}-%{version}/%{name}.rule %{buildroot}%{smack_rule_dir}
%endif
%{dali_app_ro_dir}/scripts/*
%{dali_xml_file_dir}/%{name}.xml
%{dali_icon_dir}/*
-%if !%{with wayland}
+%if 0%{?enable_dali_smack_rules} && !%{with wayland}
%config %{smack_rule_dir}/%{name}.rule
%endif
%{_datadir}/license/%{name}