%setup -q -n %{name}-%{_snap}
%build
-cp -f /usr/share/automake/config.sub .
-cp -f /usr/share/automake/config.sub libltdl/
+cp -f %{_datadir}/automake/config.sub .
+cp -f %{_datadir}/automake/config.sub libltdl/
%configure \
--with%{!?with_aspell:out}-aspell
%{__make}