From de9501cf642617e91d7e72bb3d0f0459ca506f39 Mon Sep 17 00:00:00 2001 From: Michal Fojtik Date: Wed, 8 Sep 2010 17:50:09 +0200 Subject: [PATCH] Updated to upstream version --- .gitignore | 1 + rubygem-rack-test.spec | 17 +++++++++++++++-- sources | 1 + 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 30657fb..0b00a6b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ rack-test-0.4.0.gem +/rack-test-0.5.4.gem diff --git a/rubygem-rack-test.spec b/rubygem-rack-test.spec index af0ce40..a3058c4 100644 --- a/rubygem-rack-test.spec +++ b/rubygem-rack-test.spec @@ -4,8 +4,8 @@ Summary: Simple testing API built on Rack Name: rubygem-%{gemname} -Version: 0.4.0 -Release: 2%{?dist} +Version: 0.5.4 +Release: 1%{?dist} Group: Development/Languages License: MIT URL: http://gitrdoc.com/brynary/rack-test/tree/master @@ -14,6 +14,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: ruby(abi) = 1.8 Requires: rubygems BuildRequires: rubygems +BuildRequires: rubygem(rack) >= 0.9.1 BuildArch: noarch Provides: rubygem(%{gemname}) = %{version} @@ -35,7 +36,12 @@ rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{gemdir} gem install --local --install-dir $RPM_BUILD_ROOT%{gemdir} \ --force --rdoc %{SOURCE0} +sed -i -e "s|~>|>=|" $RPM_BUILD_ROOT%{geminstdir}/spec/spec_helper.rb +rm $RPM_BUILD_ROOT%{geminstdir}/.gitignore +rm $RPM_BUILD_ROOT%{geminstdir}/.document +%check +(cd %{buildroot}%{geminstdir}; rake spec) %clean rm -rf $RPM_BUILD_ROOT @@ -45,16 +51,23 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %dir %{geminstdir} %{geminstdir}/lib +%{geminstdir}/spec %{geminstdir}/Rakefile %doc %{gemdir}/doc/%{gemname}-%{version} %doc %{geminstdir}/README.rdoc %doc %{geminstdir}/MIT-LICENSE.txt %doc %{geminstdir}/History.txt +%doc %{geminstdir}/Thorfile +%doc %{geminstdir}/%{gemname}.gemspec %{gemdir}/cache/%{gemname}-%{version}.gem %{gemdir}/specifications/%{gemname}-%{version}.gemspec %changelog + +* Wed Sep 08 2010 Michal Fojtik - 0.5.4-1 +- Update to 0.5.4 + * Sun Jul 26 2009 Fedora Release Engineering - 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index 30ea21f..91618e2 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 65ab232c631353312c6375e7eb8e08d2 rack-test-0.4.0.gem +66e57916621bd8e1271fa4bced8573ee rack-test-0.5.4.gem