|
|
|
@ -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 <vondruch@redhat.com> - 1:1.4.4-1
|
|
|
|
|
- Update to Rack 1.4.4.
|
|
|
|
|
|
|
|
|
|
* Thu Nov 01 2012 Vít Ondruch <vondruch@redhat.com> - 1:1.4.1-2
|
|
|
|
|
- Fixed epoch in -doc sub-package.
|
|
|
|
|
|
|
|
|
|