-%define _gcc_ver %(%{__cc} --version | cut -b 1)
+%define _gcc_ver %(%{__cc} -dumpversion | cut -b 1)
Summary: A wysiwyg mathematical text editor
Summary(pl): Edytor WYSIWYG do tekstów matematycznych
%build
cp -f /usr/share/automake/config.* .
aclocal
-autoconf
+%{__autoconf}
%configure
%{__make} CXXFLAGS="%{rpmcflags} -fno-exceptions -fno-rtti -fno-implicit-templates"