|
|
@ -15,14 +15,14 @@ Name: rubygem-%{gem_name}
|
|
|
|
Summary: Common API for connecting web frameworks, web servers and layers of software
|
|
|
|
Summary: Common API for connecting web frameworks, web servers and layers of software
|
|
|
|
# Introduce Epoch (related to bug 552972)
|
|
|
|
# Introduce Epoch (related to bug 552972)
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Version: 1.6.1
|
|
|
|
Version: 1.6.2
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
|
# lib/rack/backports/uri/* are taken from Ruby which is (Ruby or BSD)
|
|
|
|
# lib/rack/backports/uri/* are taken from Ruby which is (Ruby or BSD)
|
|
|
|
# lib/rack/show{status,exceptions}.rb contains snippets from Django under BSD license.
|
|
|
|
# lib/rack/show{status,exceptions}.rb contains snippets from Django under BSD license.
|
|
|
|
License: MIT and (Ruby or BSD) and BSD
|
|
|
|
License: MIT and (Ruby or BSD) and BSD
|
|
|
|
URL: http://rubyforge.org/projects/%{gem_name}/
|
|
|
|
URL: http://rack.github.io/
|
|
|
|
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
%if 0%{?fc20} || 0%{?el6} || 0%{?el7}
|
|
|
|
%if 0%{?fc20} || 0%{?el6} || 0%{?el7}
|
|
|
|
Requires: ruby(rubygems)
|
|
|
|
Requires: ruby(rubygems)
|
|
|
|
Requires: ruby(release)
|
|
|
|
Requires: ruby(release)
|
|
|
@ -44,11 +44,14 @@ BuildArch: noarch
|
|
|
|
%if 0%{?fc20} || 0%{?el6} || 0%{?el7}
|
|
|
|
%if 0%{?fc20} || 0%{?el6} || 0%{?el7}
|
|
|
|
Provides: rubygem(%{gem_name}) = %{version}
|
|
|
|
Provides: rubygem(%{gem_name}) = %{version}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Provides: bundled(okjson) = 20130206
|
|
|
|
Provides: bundled(okjson) = 20150104
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Rack provides a common API for connecting web frameworks,
|
|
|
|
Rack provides a minimal, modular and adaptable interface for developing
|
|
|
|
web servers and layers of software in between
|
|
|
|
web applications in Ruby. By wrapping HTTP requests and responses in
|
|
|
|
|
|
|
|
the simplest way possible, it unifies and distills the API for web
|
|
|
|
|
|
|
|
servers, web frameworks, and software in between (the so-called
|
|
|
|
|
|
|
|
middleware) into a single method call.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
%package doc
|
|
|
@ -96,8 +99,6 @@ pushd .%{gem_instdir}
|
|
|
|
PID=%(mktemp)
|
|
|
|
PID=%(mktemp)
|
|
|
|
memcached -d -P "$PID"
|
|
|
|
memcached -d -P "$PID"
|
|
|
|
|
|
|
|
|
|
|
|
# Rack version protocol is already at 1.3 for rack 1.6
|
|
|
|
|
|
|
|
sed -i 's|response\[\"rack\.version\"\]\.should\.equal \[1,2\]|response\[\"rack\.version\"\]\.should\.equal \[1,3\]|' test/spec_webrick.rb
|
|
|
|
|
|
|
|
bacon -Ilib --automatic --quiet
|
|
|
|
bacon -Ilib --automatic --quiet
|
|
|
|
|
|
|
|
|
|
|
|
# Kill memcached daemon.
|
|
|
|
# Kill memcached daemon.
|
|
|
@ -108,7 +109,7 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
%doc %{gem_instdir}/COPYING
|
|
|
|
%license %{gem_instdir}/COPYING
|
|
|
|
%{gem_libdir}
|
|
|
|
%{gem_libdir}
|
|
|
|
%{gem_instdir}/bin
|
|
|
|
%{gem_instdir}/bin
|
|
|
|
%{_bindir}/rackup
|
|
|
|
%{_bindir}/rackup
|
|
|
@ -128,6 +129,9 @@ popd
|
|
|
|
%doc %{gem_instdir}/contrib
|
|
|
|
%doc %{gem_instdir}/contrib
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Jun 17 2015 Vít Ondruch <vondruch@redhat.com> - 1:1.6.2-1
|
|
|
|
|
|
|
|
- Update to Rack 1.6.2.
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 2 2015 Steve Traylen <jstribny@redhat.com> - 1:1.6.1-1
|
|
|
|
* Tue Jun 2 2015 Steve Traylen <jstribny@redhat.com> - 1:1.6.1-1
|
|
|
|
- Update to 1.6.1
|
|
|
|
- Update to 1.6.1
|
|
|
|
|
|
|
|
|
|
|
|