summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Dreyer <ktdreyer@ktdreyer.com>2014-07-12 19:05:34 -0600
committerKen Dreyer <ktdreyer@ktdreyer.com>2014-07-12 19:17:14 -0600
commit88bfcf7f185b54ae96a34dc402d418c5466842a9 (patch)
tree0b98cf7e2112963b1d44e46c56205ed8c708608f
parent6ed5da9da3cfa53765719e5106b2f8b9dd36035b (diff)
downloadrubygem-resque-job-stats-master.tar.gz
rubygem-resque-job-stats-master.tar.xz
rubygem-resque-job-stats-master.zip
avoid full path to redis-server during %checkHEADmaster
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.
-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