Change-Id: I08315161279cd46cbcb028aa7696507412255db3
%post -n ecore
/sbin/ldconfig
-%if %{with wayland}
-f="/etc/profile.d/ecore.sh"
-grep --silent EFL_WAYLAND_USE_XDG_SHELL "$f" \
- || printf "\nEFL_WAYLAND_USE_XDG_SHELL='defined'\nexport EFL_WAYLAND_USE_XDG_SHELL\n" >> "$f"
-
-grep --silent ECORE_EVAS_ENGINE "$f" \
- || printf "\nECORE_EVAS_ENGINE=wayland_shm\n[ ! -d /dev/dri ] || ECORE_EVAS_ENGINE=wayland_egl\nexport ECORE_EVAS_ENGINE" >> "$f"
-
-grep --silent ECORE_IMF_MODULE "$f" \
- || printf "\nECORE_IMF_MODULE=wayland\nexport ECORE_IMF_MODULE\n" >> "$f"
-
-%endif
-
%postun -n ecore -p /sbin/ldconfig
%post -n eldbus -p /sbin/ldconfig