rpms/rubygem-nokogiri/devel rubygem-nokogiri.spec,1.4,1.5

Mamoru Tasaka mtasaka at fedoraproject.org
Wed Mar 18 17:04:39 UTC 2009


Author: mtasaka

Update of /cvs/extras/rpms/rubygem-nokogiri/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27064

Modified Files:
	rubygem-nokogiri.spec 
Log Message:
only commit


Index: rubygem-nokogiri.spec
===================================================================
RCS file: /cvs/extras/rpms/rubygem-nokogiri/devel/rubygem-nokogiri.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- rubygem-nokogiri.spec	18 Mar 2009 15:53:47 -0000	1.4
+++ rubygem-nokogiri.spec	18 Mar 2009 17:04:08 -0000	1.5
@@ -68,8 +68,16 @@
 # 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}




More information about the fedora-extras-commits mailing list