diff -r 22841d168ea4 -r fd4ca8d3da2a whois/whois.spec --- a/whois/whois.spec Tue Sep 04 19:52:27 2012 +0200 +++ b/whois/whois.spec Tue Sep 04 19:54:34 2012 +0200 @@ -32,7 +32,7 @@ Group: WHOIS License: GPL Version: 5.0.14 -Release: 20111226 +Release: 20120800 # list of sources Source0: http://ftp.debian.org/debian/pool/main/w/whois/whois_%{version}.tar.gz @@ -55,6 +55,8 @@ %setup -q %{l_shtool} subst \ -e 's;^OPTS[ ]*:*=.*$;OPTS=;' \ + -e 's;^\(install:.*\)install-pos;\1;' \ + -e 's;^\(all:.*\)pos;\1;' \ Makefile %build @@ -74,7 +76,7 @@ ;; esac - %{l_make} %{l_mflags} \ + %{l_make} %{l_mflags -O} \ CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ LDFLAGS="$ldflags"