diff options
author | Ken Dreyer <ktdreyer@ktdreyer.com> | 2014-07-12 19:05:34 -0600 |
---|---|---|
committer | Ken Dreyer <ktdreyer@ktdreyer.com> | 2014-07-12 19:17:14 -0600 |
commit | 88bfcf7f185b54ae96a34dc402d418c5466842a9 (patch) | |
tree | 0b98cf7e2112963b1d44e46c56205ed8c708608f | |
parent | 6ed5da9da3cfa53765719e5106b2f8b9dd36035b (diff) | |
download | rubygem-resque-job-stats-master.tar.gz rubygem-resque-job-stats-master.tar.xz rubygem-resque-job-stats-master.zip |
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.spec | 11 |
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 |