Updated to upstream version

f38
Michal Fojtik 15 years ago committed by Michal fojtik
parent 42d31c88e5
commit de9501cf64

1
.gitignore vendored

@ -1 +1,2 @@
rack-test-0.4.0.gem
/rack-test-0.5.4.gem

@ -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 <mfojtik@redhat.com> - 0.5.4-1
- Update to 0.5.4
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

@ -1 +1,2 @@
65ab232c631353312c6375e7eb8e08d2 rack-test-0.4.0.gem
66e57916621bd8e1271fa4bced8573ee rack-test-0.5.4.gem

Loading…
Cancel
Save