rpms/rubygem-nokogiri/F-11 .cvsignore, 1.7, 1.8 rubygem-nokogiri.spec, 1.8, 1.9 sources, 1.7, 1.8

Mamoru Tasaka mtasaka at fedoraproject.org
Tue Jul 28 18:13:48 UTC 2009


Author: mtasaka

Update of /cvs/extras/rpms/rubygem-nokogiri/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16345/rubygem-nokogiri/F-11

Modified Files:
	.cvsignore rubygem-nokogiri.spec sources 
Log Message:
gem update


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/rubygem-nokogiri/F-11/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- .cvsignore	24 Jun 2009 18:22:44 -0000	1.7
+++ .cvsignore	28 Jul 2009 18:13:48 -0000	1.8
@@ -1 +1 @@
-nokogiri-1.3.2.gem
+nokogiri-1.3.3.gem


Index: rubygem-nokogiri.spec
===================================================================
RCS file: /cvs/extras/rpms/rubygem-nokogiri/F-11/rubygem-nokogiri.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- rubygem-nokogiri.spec	24 Jun 2009 18:22:44 -0000	1.8
+++ rubygem-nokogiri.spec	28 Jul 2009 18:13:48 -0000	1.9
@@ -6,9 +6,13 @@
 %define	gemname		nokogiri
 %define	geminstdir		%{gemdir}/gems/%{gemname}-%{version}
 
+# Note for packager:
+# Check if we can update nokogiri to 1.4.0 on < F-12:
+# It seems that some functions will be removed on 1.4.0
+
 Summary:	An HTML, XML, SAX, and Reader parser
 Name:		rubygem-%{gemname}
-Version:	1.3.2
+Version:	1.3.3
 Release:	1%{?dist}
 Group:		Development/Languages
 License:	MIT
@@ -19,9 +23,10 @@ BuildRoot:	%{_tmppath}/%{name}-%{version
 BuildRequires:	ruby(abi) = %{rubyabi}
 BuildRequires:	ruby(rubygems)
 BuildRequires:	rubygem(hoe)
-BuildRequires:	rubygem(rake)
 # Not available yet
-# BuildRequires(check):	rubygem(rake-compiler)
+# BuildRequires:	rubygem(hoe-debugging)
+BuildRequires:	rubygem(rake)
+BuildRequires:	rubygem(rake-compiler)
 BuildRequires:	libxml2-devel
 BuildRequires:	libxslt-devel
 BuildRequires:	ruby-devel
@@ -58,7 +63,6 @@ This package provides non-Gem support fo
 %prep
 %setup -q -T -c
 
-%build
 mkdir -p ./%{gemdir}
 export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
 gem install \
@@ -67,14 +71,12 @@ gem install \
 	-V --force \
 	%{SOURCE0}
 
+%build
 # cflags wrong (-O3 passed), recompiling
-# Skip until rubygem(rake-compiler) is available
-%if 0
 pushd ./%{geminstdir}
 sed -i.flags -e 's|-O3||' ext/nokogiri/extconf.rb
 find . -name \*.so -or -name \*.o -exec rm -f {} \;
-rake -v ext/nokogiri/native.so --trace
-%endif
+rake -v compile --trace
 
 %install
 rm -rf %{buildroot}
@@ -98,7 +100,7 @@ do
 done
 
 # cleanups
-rm -rf %{buildroot}%{geminstdir}/ext
+rm -rf %{buildroot}%{geminstdir}/{ext,tmp}/
 rm -f %{buildroot}%{geminstdir}/{.autotest,.require_paths}
 
 # The following method is completely copied from rubygem-gettext
@@ -167,11 +169,8 @@ create_symlink_rec %{geminstdir}/lib %{r
 rm -rf %{buildroot}
 
 %check
-# Skip until rubygem(rake-compiler) is available
-exit 0
-
 pushd ./%{geminstdir}
-rake test
+rake test --trace
 popd
 
 %files
@@ -199,6 +198,16 @@ popd
 %{ruby_sitelib}/xsd/
 
 %changelog
+* Wed Jul 29 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.3.3-1
+- 1.3.3
+
+* Sat Jul 25 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.3.2-3
+- F-12: Mass rebuild
+
+* Thu Jul  2 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.3.2-2
+- Enable test
+- Recompile with -O2
+
 * Thu Jun 25 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.3.2-1
 - 1.3.2
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/rubygem-nokogiri/F-11/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- sources	24 Jun 2009 18:22:44 -0000	1.7
+++ sources	28 Jul 2009 18:13:48 -0000	1.8
@@ -1 +1 @@
-c5eedaef31f91b0443066a3b44ef66c9  nokogiri-1.3.2.gem
+24f7b482886690b723ce6f74d6d879f4  nokogiri-1.3.3.gem




More information about the fedora-extras-commits mailing list