1.1 --- a/openpkg/openpkg.spec Wed Aug 01 23:42:52 2012 +0200 1.2 +++ b/openpkg/openpkg.spec Wed Aug 01 23:49:03 2012 +0200 1.3 @@ -1193,6 +1193,11 @@ 1.4 ( br=`pwd` 1.5 cd rpm-%{V_rpm_major}.%{V_rpm_minor} 1.6 1.7 + # remove unused and undefined methods 1.8 + sh $shtool subst \ 1.9 + -e 's;^\(#include *<[^>][^>]*>\);/*\1*/;g' \ 1.10 + rpmconstant/rpmconstant.h 1.11 + 1.12 # provide nonstandard constructs 1.13 cat > nonstandard.h <<EOF 1.14 /* MSvB: define missing nonstandard GCC builtin extensions */