rpms/rubygem-hpricot/F-11 .cvsignore, 1.6, 1.7 rubygem-hpricot.spec, 1.5, 1.6 sources, 1.6, 1.7
Mamoru Tasaka
mtasaka at fedoraproject.org
Sun Nov 8 15:49:12 UTC 2009
- Previous message: rpms/rubygem-hpricot/F-10 .cvsignore, 1.6, 1.7 rubygem-hpricot.spec, 1.4, 1.5 sources, 1.6, 1.7
- Next message: rpms/rubygem-hpricot/F-12 .cvsignore, 1.6, 1.7 rubygem-hpricot.spec, 1.7, 1.8 sources, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mtasaka
Update of /cvs/extras/rpms/rubygem-hpricot/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15113/F-11
Modified Files:
.cvsignore rubygem-hpricot.spec sources
Log Message:
* Mon Nov 9 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.8.2-1
- 0.8.2
- Kill BOINGBOING test properly
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/rubygem-hpricot/F-11/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- .cvsignore 8 Apr 2009 14:34:19 -0000 1.6
+++ .cvsignore 8 Nov 2009 15:49:12 -0000 1.7
@@ -1 +1 @@
-hpricot-0.8.1-modified.gem
+hpricot-0.8.2-modified.gem
Index: rubygem-hpricot.spec
===================================================================
RCS file: /cvs/extras/rpms/rubygem-hpricot/F-11/rubygem-hpricot.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- rubygem-hpricot.spec 8 Apr 2009 14:34:19 -0000 1.5
+++ rubygem-hpricot.spec 8 Nov 2009 15:49:12 -0000 1.6
@@ -9,12 +9,12 @@
Summary: A Fast, Enjoyable HTML Parser for Ruby
Name: rubygem-%{gemname}
-Version: 0.8.1
+Version: 0.8.2
Release: 1%{?dist}
Group: Development/Languages
# ext/fast_xs/FastXsService.java is licensed under ASL 2.0
License: MIT and ASL 2.0
-URL: http://code.whytheluckystiff.net/hpricot/
+URL: http://github.com/hpricot/hpricot
# Non-free file removed, see Source10
# Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
Source0: %{gemname}-%{version}-modified.gem
@@ -56,8 +56,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 \
@@ -66,6 +64,14 @@ gem install \
-V --force \
%{SOURCE0}
+pushd .%{geminstdir}/test
+# Kill tests related to BOINGBOING, licensed under CC-BY-NC
+grep -rl BOING . | \
+ xargs sed -i '/BOING/s|^\([ \t][ \t]*\)\(.*\)$|\1# This test is intentionally killed\n\1return true\n\1\2|'
+popd
+
+%build
+
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
@@ -82,7 +88,6 @@ do
done
# Kill unneeded files
-rm -f %{buildroot}%{geminstdir}/Rakefile
find %{buildroot}%{geminstdir}/ext \
-type f \
-not -name \*.java \
@@ -159,6 +164,13 @@ find . -type f '(' -name '[A-Z]*' -or -n
-print0 | xargs -0 chmod 0644
popd
+%check
+export GEM_PATH=$(pwd)%{gemdir}
+pushd .%{geminstdir}
+
+rake test
+popd
+
%clean
rm -rf %{buildroot}
@@ -167,12 +179,14 @@ rm -rf %{buildroot}
%{ruby_sitearch}/*.so
%dir %{geminstdir}/
%doc %{geminstdir}/[A-Z]*
+%exclude %{geminstdir}/Rakefile
%{geminstdir}/[a-l]*/
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%files doc
%defattr(-,root,root,-)
+%{geminstdir}/Rakefile
%{geminstdir}/test/
%{gemdir}/doc/%{gemname}-%{version}/
@@ -182,6 +196,17 @@ rm -rf %{buildroot}
%{ruby_sitelib}/%{gemname}/
%changelog
+* Mon Nov 9 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.8.2-1
+- 0.8.2
+- Kill BOINGBOING test properly
+
+* Sat Jul 25 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.8.1-3
+- F-12: Mass rebuild
+
+* Sat Jun 27 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.8.1-2
+- Readd Rakefile
+- Enable check
+
* Wed Apr 8 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.8.1-1
- 0.8.1
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/rubygem-hpricot/F-11/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- sources 8 Apr 2009 14:34:19 -0000 1.6
+++ sources 8 Nov 2009 15:49:12 -0000 1.7
@@ -1 +1 @@
-9940cd4abd93ea0cd84fa98a735bf45f hpricot-0.8.1-modified.gem
+522c5c28c084010c871de80ff2c65fc2 hpricot-0.8.2-modified.gem
- Previous message: rpms/rubygem-hpricot/F-10 .cvsignore, 1.6, 1.7 rubygem-hpricot.spec, 1.4, 1.5 sources, 1.6, 1.7
- Next message: rpms/rubygem-hpricot/F-12 .cvsignore, 1.6, 1.7 rubygem-hpricot.spec, 1.7, 1.8 sources, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list