From 88bfcf7f185b54ae96a34dc402d418c5466842a9 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Sat, 12 Jul 2014 19:05:34 -0600 Subject: avoid full path to redis-server during %check Avoid using the full path to redis-server during %check, since this has changed in Fedora 21. Fix the include path when running the test suite. --- rubygem-resque-job-stats.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/rubygem-resque-job-stats.spec b/rubygem-resque-job-stats.spec index 4b3221d..3e41925 100644 --- a/rubygem-resque-job-stats.spec +++ b/rubygem-resque-job-stats.spec @@ -2,7 +2,7 @@ Name: rubygem-%{gem_name} Version: 0.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Job-centric stats for Resque Group: Development/Languages License: MIT @@ -83,10 +83,10 @@ pushd .%{gem_instdir} mkdir test/db # Start redis-server - /usr/sbin/redis-server test/test.conf + redis-server test/test.conf # Run resque tests - ruby -Ilib -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' + ruby -I"lib:test" -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' # Kill redis-server kill -INT `cat test/db/redis.pid` @@ -106,6 +106,11 @@ popd %exclude %{gem_instdir}/test %changelog +* Sun Jul 13 2014 Ken Dreyer - 0.3.0-3 +- Avoid using the full path to redis-server during %%check, since this has + changed in Fedora 21 +- Fix test suite libs include dir + * Tue May 27 2014 Ken Dreyer - 0.3.0-2 - Adjustments for https://fedoraproject.org/wiki/Changes/Ruby_2.1 - Drop patch0 in favor of a more future-proof Bundler-removal solution -- cgit