rpms/rubygem-hpricot/devel rubygem-hpricot.spec,1.5,1.6
Mamoru Tasaka
mtasaka at fedoraproject.org
Fri Jun 26 17:51:49 UTC 2009
- Previous message: rpms/itext/devel .cvsignore, 1.5, 1.6 itext.spec, 1.18, 1.19 sources, 1.6, 1.7
- Next message: rpms/amqp/F-10 .cvsignore, 1.15, 1.16 amqp.spec, 1.20, 1.21 sources, 1.18, 1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mtasaka
Update of /cvs/extras/rpms/rubygem-hpricot/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10775
Modified Files:
rubygem-hpricot.spec
Log Message:
* Sat Jun 27 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.8.1-2
- Readd Rakefile
- Enable check
Index: rubygem-hpricot.spec
===================================================================
RCS file: /cvs/extras/rpms/rubygem-hpricot/devel/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 26 Jun 2009 17:51:19 -0000 1.6
@@ -10,7 +10,7 @@
Summary: A Fast, Enjoyable HTML Parser for Ruby
Name: rubygem-%{gemname}
Version: 0.8.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: Development/Languages
# ext/fast_xs/FastXsService.java is licensed under ASL 2.0
License: MIT and ASL 2.0
@@ -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,8 @@ gem install \
-V --force \
%{SOURCE0}
+%build
+
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
@@ -82,7 +82,6 @@ do
done
# Kill unneeded files
-rm -f %{buildroot}%{geminstdir}/Rakefile
find %{buildroot}%{geminstdir}/ext \
-type f \
-not -name \*.java \
@@ -159,6 +158,16 @@ find . -type f '(' -name '[A-Z]*' -or -n
-print0 | xargs -0 chmod 0644
popd
+%check
+export GEM_PATH=$(pwd)%{gemdir}
+pushd .%{geminstdir}
+
+# Some tests fails because of boingboing file missing which are
+# removed on Fedora intentionally due to license issue
+
+rake test || true
+popd
+
%clean
rm -rf %{buildroot}
@@ -167,12 +176,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 +193,10 @@ rm -rf %{buildroot}
%{ruby_sitelib}/%{gemname}/
%changelog
+* 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
- Previous message: rpms/itext/devel .cvsignore, 1.5, 1.6 itext.spec, 1.18, 1.19 sources, 1.6, 1.7
- Next message: rpms/amqp/F-10 .cvsignore, 1.15, 1.16 amqp.spec, 1.20, 1.21 sources, 1.18, 1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list