From 593722321d82ea4ee78687248a70343b590743e1 Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Tue, 13 Feb 2018 19:14:50 +0100 Subject: [PATCH] Update to Rack 2.0.4. --- .gitignore | 1 + rubygem-rack.spec | 20 +++++++++++++++++--- sources | 2 +- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 93e67f7..51b7b50 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ rack-1.1.0.gem /rack-1.6.4.gem /rack-2.0.1.gem /rack-2.0.3.gem +/rack-2.0.4.gem diff --git a/rubygem-rack.spec b/rubygem-rack.spec index 6b8e04c..a23ced6 100644 --- a/rubygem-rack.spec +++ b/rubygem-rack.spec @@ -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 # There is circular dependency between thin and rack. %{?_with_bootstrap: %global bootstrap 1} Name: rubygem-%{gem_name} -Version: 2.0.3 +Version: 2.0.4 # Introduce Epoch (related to bug 552972) Epoch: 1 -Release: 4%{?dist} +Release: 1%{?dist} Summary: A modular Ruby webserver interface 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 URL: http://rack.github.io/ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -76,6 +80,13 @@ done %check 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. PID=%(mktemp) memcached -d -P "$PID" @@ -108,6 +119,9 @@ popd %doc %{gem_instdir}/contrib %changelog +* Tue Feb 13 2018 Jun Aruga - 1:2.0.4-1 +- Update to Rack 2.0.4. + * Fri Feb 09 2018 Fedora Release Engineering - 1:2.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 3ab17d2..8164a83 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rack-2.0.3.gem) = c48e6681544c2f37797ee697f5c4f0d4de6008a3df2506665b52c248fca1ef7321a892dd28475e4d7b461a0b2d12112903a67e1bed7c7397742833fce85167e1 +SHA512 (rack-2.0.4.gem) = d6624d52c456654ab4c98554d544c6cb0bd15fad5a494575ad329bd1892dca2ac612b5730f4e3f6eddf2c0496afc393f215fb7d60795c264d2251896c27f450a