diff --git a/rubygem-nokogiri.spec b/rubygem-nokogiri.spec index 0ca0cf7..5923490 100644 --- a/rubygem-nokogiri.spec +++ b/rubygem-nokogiri.spec @@ -68,8 +68,16 @@ gem install \ # cflags wrong (-O3 passed), recompiling pushd ./%{geminstdir} 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 {} \; -rake -v ext/nokogiri/native.so +rake -v ext/nokogiri/native.so --trace %install rm -rf %{buildroot}