only commit

This commit is contained in:
Mamoru Tasaka 2009-03-18 17:04:08 +00:00
parent bca8565821
commit 52d92ceca4

View File

@ -68,8 +68,16 @@ gem install \
# cflags wrong (-O3 passed), recompiling # cflags wrong (-O3 passed), recompiling
pushd ./%{geminstdir} pushd ./%{geminstdir}
sed -i.flags -e 's|-O3||' ext/nokogiri/extconf.rb sed -i.flags -e 's|-O3||' ext/nokogiri/extconf.rb
# F-10/9 hoe is old and readme_file or so are not defined
%if 0%{?fedora} < 11
sed -i.readme \
-e '/p\.readme_file/d' \
-e '/p\.history_file/d' \
-e '/p\.extra_rdoc_files/d' \
Rakefile
%endif
find . -name \*.so -or -name \*.o -exec rm -f {} \; find . -name \*.so -or -name \*.o -exec rm -f {} \;
rake -v ext/nokogiri/native.so rake -v ext/nokogiri/native.so --trace
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}