From 86338f051d1a5bcbc85525ec60fb798aeca33e84 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Jul 30 2010 18:09:11 +0000 Subject: XEmacs/flymake fix: XEmacs does not support flymake --- diff --git a/erlang.spec b/erlang.spec index a520b0a..d9d4485 100644 --- a/erlang.spec +++ b/erlang.spec @@ -966,6 +966,7 @@ cat > xemacs-erlang-init.el << EOF EOF mkdir xemacs-erlang cp lib/tools/emacs/*.el xemacs-erlang/ +rm -f xemacs-erlang/erlang-flymake.el pushd xemacs-erlang %{_xemacs_bytecompile} *.el popd @@ -1000,6 +1001,7 @@ for f in lib/tools/emacs/{README,*.el}; do ln -s "%{_libdir}/erlang/lib/tools-${erlang_tools_vsn}/emacs/$b" \ "$RPM_BUILD_ROOT%{_xemacs_sitelispdir}/erlang/" done +rm -f "$RPM_BUILD_ROOT%{_xemacs_sitelispdir}/erlang/erlang-flymake.el" install -m 0644 xemacs-erlang/*.elc "$RPM_BUILD_ROOT%{_xemacs_sitelispdir}/erlang/" make DESTDIR=$RPM_BUILD_ROOT install