From 5d2bef98bfc68b2d5f12ac3d02a878aabb8b7709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Tue, 28 Jun 2011 12:54:17 +0200 Subject: [PATCH] Updated to Rack 1.3. Fixed FTBFS. --- .gitignore | 1 + rubygem-rack.spec | 20 +++++++++----------- sources | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 65545ae..3fb2b4e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ rack-1.1.0.gem +/rack-1.3.0.gem diff --git a/rubygem-rack.spec b/rubygem-rack.spec index c89f2a0..6d79524 100644 --- a/rubygem-rack.spec +++ b/rubygem-rack.spec @@ -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 - 1:1.3.0-1 +- Updated to Rack 1.3. +- Fixed FTBFS. + * Wed Feb 09 2011 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index a85dce0..1ca9d8a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f5ff2d6d348f41bb3833847223f792ce rack-1.1.0.gem +765f523bb32c4475bfcb6898eddbc877 rack-1.3.0.gem