|
|
|
@ -4,8 +4,10 @@
|
|
|
|
|
|
|
|
|
|
Name: rubygem-%{gemname}
|
|
|
|
|
Summary: Common API for connecting web frameworks, web servers and layers of software
|
|
|
|
|
# Introduce Epoch (related to bug 552972)
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 1.1.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://rubyforge.org/projects/%{gemname}/
|
|
|
|
@ -15,6 +17,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Requires: rubygems
|
|
|
|
|
Requires: ruby(abi) = 1.8
|
|
|
|
|
BuildRequires: rubygems
|
|
|
|
|
BuildRequires(check): rubygem(rake)
|
|
|
|
|
BuildRequires(check): rubygem(test-spec)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Provides: rubygem(%{gemname}) = %{version}
|
|
|
|
|
|
|
|
|
@ -62,6 +66,17 @@ rm -rf %{buildroot}/%{gemdir}/bin/
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
# Please check why some tests fail
|
|
|
|
|
pushd %{buildroot}%{geminstdir}
|
|
|
|
|
|
|
|
|
|
FAILED_TESTS=""
|
|
|
|
|
for f in test/*.rb
|
|
|
|
|
do
|
|
|
|
|
ruby -Ilib -e "require 'rubygems'; load \"$f\" " || FAILED_TESTS="$FAILED_TESTS $f"
|
|
|
|
|
done
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
|
%dir %{geminstdir}
|
|
|
|
@ -81,6 +96,10 @@ rm -rf %{buildroot}
|
|
|
|
|
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Mar 11 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1:1.1.0-2
|
|
|
|
|
- Epoch 1 for keeping upgrade path from F-12 (related to bug 552972)
|
|
|
|
|
- Enable %%check
|
|
|
|
|
|
|
|
|
|
* Mon Jan 4 2010 Jeroen van Meeuwen <kanarip@kanarip.com> - 1.1.0-1
|
|
|
|
|
- New upstream version
|
|
|
|
|
|
|
|
|
|