1.1 --- a/bison/bison.spec Tue Aug 28 19:02:35 2012 +0200 1.2 +++ b/bison/bison.spec Tue Aug 28 19:02:40 2012 +0200 1.3 @@ -99,7 +99,7 @@ 1.4 --mandir=%{l_prefix}/man \ 1.5 --infodir=%{l_prefix}/info \ 1.6 --disable-nls 1.7 - %{l_make} -f Makefile %{l_mflags} 1.8 + %{l_make} -f Makefile %{l_mflags -O} 1.9 ) || exit $? 1.10 %if "%{with_old}" == "yes" 1.11 ( cd bison-%{V_old} 1.12 @@ -111,14 +111,14 @@ 1.13 --mandir=%{l_prefix}/man \ 1.14 --infodir=%{l_prefix}/info \ 1.15 --disable-nls 1.16 - %{l_make} -f Makefile %{l_mflags} 1.17 + %{l_make} -f Makefile %{l_mflags -O} 1.18 ) || exit $? 1.19 %endif 1.20 1.21 %install 1.22 %if "%{with_old}" == "yes" 1.23 ( cd bison-%{V_old} 1.24 - %{l_make} -f Makefile %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" 1.25 + %{l_make} -f Makefile %{l_mflags} install DESTDIR="$RPM_BUILD_ROOT" 1.26 mv $RPM_BUILD_ROOT%{l_prefix}/bin/bison \ 1.27 $RPM_BUILD_ROOT%{l_prefix}/bin/bison-old 1.28 mv $RPM_BUILD_ROOT%{l_prefix}/man/man1/bison.1 \ 1.29 @@ -126,7 +126,7 @@ 1.30 ) || exit $? 1.31 %endif 1.32 ( cd bison-%{V_new} 1.33 - %{l_make} -f Makefile %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" 1.34 + %{l_make} -f Makefile %{l_mflags} install DESTDIR="$RPM_BUILD_ROOT" 1.35 ) || exit $? 1.36 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/locale 1.37 rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir