diff -r 60d8c38e1900 -r 17d7a4451299 bison/bison.spec --- a/bison/bison.spec Tue Aug 28 19:02:35 2012 +0200 +++ b/bison/bison.spec Tue Aug 28 19:02:40 2012 +0200 @@ -99,7 +99,7 @@ --mandir=%{l_prefix}/man \ --infodir=%{l_prefix}/info \ --disable-nls - %{l_make} -f Makefile %{l_mflags} + %{l_make} -f Makefile %{l_mflags -O} ) || exit $? %if "%{with_old}" == "yes" ( cd bison-%{V_old} @@ -111,14 +111,14 @@ --mandir=%{l_prefix}/man \ --infodir=%{l_prefix}/info \ --disable-nls - %{l_make} -f Makefile %{l_mflags} + %{l_make} -f Makefile %{l_mflags -O} ) || exit $? %endif %install %if "%{with_old}" == "yes" ( cd bison-%{V_old} - %{l_make} -f Makefile %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" + %{l_make} -f Makefile %{l_mflags} install DESTDIR="$RPM_BUILD_ROOT" mv $RPM_BUILD_ROOT%{l_prefix}/bin/bison \ $RPM_BUILD_ROOT%{l_prefix}/bin/bison-old mv $RPM_BUILD_ROOT%{l_prefix}/man/man1/bison.1 \ @@ -126,7 +126,7 @@ ) || exit $? %endif ( cd bison-%{V_new} - %{l_make} -f Makefile %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" + %{l_make} -f Makefile %{l_mflags} install DESTDIR="$RPM_BUILD_ROOT" ) || exit $? rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/locale rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir