From f44b9c310684a2230e7b798b4e900cca0d5bb8f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Tue, 15 Jan 2013 12:29:02 +0100 Subject: [PATCH] Update to Rack 1.4.4. --- .gitignore | 1 + rubygem-rack.spec | 23 +++++++++++++++++++++-- sources | 2 +- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index fc57768..9084050 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ rack-1.1.0.gem /rack-1.3.0.gem /rack-1.4.0.gem /rack-1.4.1.gem +/rack-1.4.4.gem diff --git a/rubygem-rack.spec b/rubygem-rack.spec index 5ae5ed5..af7be28 100644 --- a/rubygem-rack.spec +++ b/rubygem-rack.spec @@ -4,16 +4,23 @@ Name: rubygem-%{gem_name} Summary: Common API for connecting web frameworks, web servers and layers of software # Introduce Epoch (related to bug 552972) Epoch: 1 -Version: 1.4.1 -Release: 2%{?dist} +Version: 1.4.4 +Release: 1%{?dist} Group: Development/Languages License: MIT URL: http://rubyforge.org/projects/%{gem_name}/ Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem Requires: ruby(rubygems) Requires: ruby(abi) = 1.9.1 +BuildRequires: ruby BuildRequires: rubygems-devel BuildRequires: rubygem(bacon) +BuildRequires: memcached +BuildRequires: rubygem(memcache-client) +BuildRequires: rubygem(thin) +# Seems that lighttpd test depends on rubygem(fcgi), which is not in Fedora, +# if it will ever be. +# BuildRequires: lighttpd-fastcgi BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version} @@ -64,7 +71,16 @@ done %check pushd .%{gem_instdir} + +# Get temporary PID file name and start memcached daemon. +PID=%(mktemp) +memcached -d -P "$PID" + bacon --automatic --quiet + +# Kill memcached daemon. +kill -TERM $(< "$PID") + popd %files @@ -89,6 +105,9 @@ popd %changelog +* Tue Jan 15 2013 Vít Ondruch - 1:1.4.4-1 +- Update to Rack 1.4.4. + * Thu Nov 01 2012 Vít Ondruch - 1:1.4.1-2 - Fixed epoch in -doc sub-package. diff --git a/sources b/sources index 05f635a..d5ff02e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a278fe5208c2412b724d6eac432e2807 rack-1.4.1.gem +dfa5a6ed5b9b095df2ceddd0cac67f10 rack-1.4.4.gem