rpms/rubygem-mechanize/F-12 rubygem-mechanize.spec,1.10,1.11

Mamoru Tasaka mtasaka at fedoraproject.org
Tue Feb 9 19:16:51 UTC 2010


Author: mtasaka

Update of /cvs/extras/rpms/rubygem-mechanize/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10445/F-12

Modified Files:
	rubygem-mechanize.spec 
Log Message:
* Wed Feb 10 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.0.0-2
- 1.0.0
- Fix permission
- F-11: Kill one failing test due to old (< 1.4.0) nokogiri



Index: rubygem-mechanize.spec
===================================================================
RCS file: /cvs/extras/rpms/rubygem-mechanize/F-12/rubygem-mechanize.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- rubygem-mechanize.spec	9 Feb 2010 17:44:27 -0000	1.10
+++ rubygem-mechanize.spec	9 Feb 2010 19:16:51 -0000	1.11
@@ -9,11 +9,14 @@
 Summary:	A handy web browsing ruby object
 Name:		rubygem-%{gemname}
 Version:	1.0.0
-Release:	1%{?dist}
+Release:	2%{?dist}
 Group:		Development/Languages
 License:	GPL+
 URL:		http://mechanize.rubyforge.org/
 Source0:	http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
+%if 0%{?fedora} < 12
+Patch0:		rubygem-mechanize-1.0.0-kill-test.patch
+%endif
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	ruby(abi) = %{rubyabi}
@@ -72,6 +75,14 @@ rm -f .%{geminstdir}/*.gemspec
 #rm -f .%{geminstdir}/Manifest.txt
 find .%{geminstdir} -name \*.html -print0 | \
 	xargs -0 chmod 0644
+find . -name \*.gem | xargs chmod 0644
+
+%if 0%{?fedora} < 12
+# rubygem(nokogiri) is old (< 1.4.0), one test fails
+pushd .%{geminstdir}
+cat %{PATCH0} | patch -p1 -s 
+popd
+%endif
 
 %install
 rm -rf %{buildroot}
@@ -173,8 +184,10 @@ popd
 %{ruby_sitelib}/%{gemname}/
 
 %changelog
-* Wed Feb 10 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.0.0-1
+* Wed Feb 10 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.0.0-2
 - 1.0.0
+- Fix permission
+- F-11: Kill one failing test due to old (< 1.4.0) nokogiri
 
 * Sat Jul 25 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.9.3-2
 - F-12: Mass rebuild



More information about the scm-commits mailing list