From 5cae8cdcfe9dac14cdca4eda483a06dc4ef0b65f Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Sep 20 2018 14:10:23 +0000 Subject: Typo Signed-off-by: Peter Lemenkov --- diff --git a/erlang.spec b/erlang.spec index c9be29c..12cd624 100644 --- a/erlang.spec +++ b/erlang.spec @@ -1027,7 +1027,7 @@ rm -r $RPM_BUILD_ROOT%{_libdir}/erlang/erts-*/man %if %{with doc} # Move man-pages to a system-wide directory - in the same way as Debian did # Erlang files from man 3 have too generic names -for m in $RPM_BUILD_ROOT%{_libdir}/erlang/man/man3/* +for manpage in $RPM_BUILD_ROOT%{_libdir}/erlang/man/man3/* do mv ${manpage} ${manpage}erl done