|
|
|
@ -6,8 +6,8 @@ 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: 3%{?dist}
|
|
|
|
|
Version: 1.3.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://rubyforge.org/projects/%{gemname}/
|
|
|
|
@ -17,8 +17,7 @@ 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)
|
|
|
|
|
BuildRequires: rubygem(bacon)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Provides: rubygem(%{gemname}) = %{version}
|
|
|
|
|
|
|
|
|
@ -67,14 +66,8 @@ rm -rf %{buildroot}/%{gemdir}/bin/
|
|
|
|
|
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
|
|
|
|
|
bacon --automatic --quiet
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
@ -82,6 +75,7 @@ popd
|
|
|
|
|
%dir %{geminstdir}
|
|
|
|
|
%doc %{gemdir}/doc/%{gemname}-%{version}
|
|
|
|
|
%doc %{geminstdir}/COPYING
|
|
|
|
|
%doc %{geminstdir}/Rakefile
|
|
|
|
|
%doc %{geminstdir}/README
|
|
|
|
|
%doc %{geminstdir}/KNOWN-ISSUES
|
|
|
|
|
%doc %{geminstdir}/SPEC
|
|
|
|
@ -96,6 +90,10 @@ popd
|
|
|
|
|
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jun 28 2011 Vít Ondruch <vondruch@redhat.com> - 1:1.3.0-1
|
|
|
|
|
- Updated to Rack 1.3.
|
|
|
|
|
- Fixed FTBFS.
|
|
|
|
|
|
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|