|
|
@ -1,16 +1,20 @@
|
|
|
|
|
|
|
|
# Avoid shebang check to a testing file.
|
|
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1541318
|
|
|
|
|
|
|
|
%undefine __brp_mangle_shebangs
|
|
|
|
|
|
|
|
|
|
|
|
%global gem_name rack
|
|
|
|
%global gem_name rack
|
|
|
|
|
|
|
|
|
|
|
|
# There is circular dependency between thin and rack.
|
|
|
|
# There is circular dependency between thin and rack.
|
|
|
|
%{?_with_bootstrap: %global bootstrap 1}
|
|
|
|
%{?_with_bootstrap: %global bootstrap 1}
|
|
|
|
|
|
|
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 2.0.3
|
|
|
|
Version: 2.0.4
|
|
|
|
# Introduce Epoch (related to bug 552972)
|
|
|
|
# Introduce Epoch (related to bug 552972)
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: A modular Ruby webserver interface
|
|
|
|
Summary: A modular Ruby webserver interface
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
|
# 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 BSD
|
|
|
|
License: MIT and BSD
|
|
|
|
URL: http://rack.github.io/
|
|
|
|
URL: http://rack.github.io/
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
@ -76,6 +80,13 @@ done
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# During the building on mock environment, the testing process id 1 is owned
|
|
|
|
|
|
|
|
# by running user mockbuild's command STUBINIT, though it is owned by root user
|
|
|
|
|
|
|
|
# on usual environment.
|
|
|
|
|
|
|
|
# The server status does not return ":not_owned".
|
|
|
|
|
|
|
|
sed -i '/^ it "check pid file presence and not owned process" do$/,/^ end$/ s/^/#/' \
|
|
|
|
|
|
|
|
test/spec_server.rb
|
|
|
|
|
|
|
|
|
|
|
|
# Get temporary PID file name and start memcached daemon.
|
|
|
|
# Get temporary PID file name and start memcached daemon.
|
|
|
|
PID=%(mktemp)
|
|
|
|
PID=%(mktemp)
|
|
|
|
memcached -d -P "$PID"
|
|
|
|
memcached -d -P "$PID"
|
|
|
@ -108,6 +119,9 @@ popd
|
|
|
|
%doc %{gem_instdir}/contrib
|
|
|
|
%doc %{gem_instdir}/contrib
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Feb 13 2018 Jun Aruga <jaruga@redhat.com> - 1:2.0.4-1
|
|
|
|
|
|
|
|
- Update to Rack 2.0.4.
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.3-4
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|