[rubygem-redis-namespace] Update to 1.5.0 (RHBZ #1114344)

Ken Dreyer ktdreyer at fedoraproject.org
Thu Jul 10 22:19:00 UTC 2014


commit 0fcb65b8f099e4178c29e977501db36f506fbdee
Author: Ken Dreyer <ktdreyer at ktdreyer.com>
Date:   Thu Jul 10 16:19:05 2014 -0600

    Update to 1.5.0 (RHBZ #1114344)
    
    - Avoid using the full path to redis-server during %check, since this has
      changed in Fedora 21.

 rubygem-redis-namespace.spec |   23 +++++++++++------------
 1 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/rubygem-redis-namespace.spec b/rubygem-redis-namespace.spec
index 6c683ce..426c25c 100644
--- a/rubygem-redis-namespace.spec
+++ b/rubygem-redis-namespace.spec
@@ -1,8 +1,8 @@
 %global gem_name redis-namespace
 
 Name: rubygem-%{gem_name}
-Version: 1.4.1
-Release: 3%{?dist}
+Version: 1.5.0
+Release: 1%{?dist}
 Summary: Namespaces Redis commands
 Group: Development/Languages
 License: MIT
@@ -12,15 +12,13 @@ Source1: rubygem-redis-namespace-test.conf
 %if 0%{?fc19} || 0%{?fc20} || 0%{?el7}
 Requires: ruby(release)
 Requires: ruby(rubygems)
-Requires: rubygem(redis) => 3.0.0
-Requires: rubygem(redis) < 3.1
+Requires: rubygem(redis) => 3
+Requires: rubygem(redis) < 4
 %endif
 BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
 BuildRequires: rubygem(rspec)
-BuildRequires: rubygem(redis) => 3.0.0
-# Use a different maximum version here than what's in the spec file.
-# https://github.com/resque/redis-namespace/pull/84
+BuildRequires: rubygem(redis) => 3
 BuildRequires: rubygem(redis) < 4
 BuildRequires: redis
 BuildArch: noarch
@@ -59,10 +57,6 @@ sed -i -e "/Bundler.require/d" spec/spec_helper.rb
 rm Rakefile
 sed -i -e 's/"Rakefile",//' %{gem_name}.gemspec
 
-# Bump the maximum redis version.
-# https://github.com/resque/redis-namespace/pull/84
-sed -i -e 's/~> 3.0.4/< 4/' %{gem_name}.gemspec
-
 %build
 # Create the gem as gem install only works on a gem file
 gem build %{gem_name}.gemspec
@@ -81,7 +75,7 @@ pushd .%{gem_instdir}
   mkdir spec/db
 
   # Start redis-server
-  /usr/sbin/redis-server spec/test.conf
+  redis-server spec/test.conf
 
   # Run redis-namespace tests
   rspec -Ilib spec
@@ -104,6 +98,11 @@ popd
 %exclude %{gem_instdir}/spec
 
 %changelog
+* Thu Jul 10 2014 Ken Dreyer <ktdreyer at ktdreyer.com> - 1.5.0-1
+- Update to 1.5.0 (RHBZ #1114344)
+- Avoid using the full path to redis-server during %%check, since this has
+  changed in Fedora 21.
+
 * Wed Jun 11 2014 Ken Dreyer <ktdreyer at ktdreyer.com> - 1.4.1-3
 - Adjustments for https://fedoraproject.org/wiki/Changes/Ruby_2.1
 - Bump the maximum redis version.


More information about the scm-commits mailing list