summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rubygem-resque-job-stats.spec11
1 files 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 <ktdreyer@ktdreyer.com> - 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 <ktdreyer@ktdreyer.com> - 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