From 3b41f41ac21b6bf45c535e2a0a12cd0c59a4c383 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 18 Mar 2017 17:13:31 +0000 Subject: [PATCH] Fix gemspec for rubygem-redis-store 1.3.0 update - Bump PORTREVISION for package change --- www/rubygem-redis-rack1/Makefile | 1 + www/rubygem-redis-rack1/files/patch-gemspec | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 www/rubygem-redis-rack1/files/patch-gemspec diff --git a/www/rubygem-redis-rack1/Makefile b/www/rubygem-redis-rack1/Makefile index c17d57740494..3752e9b86b1e 100644 --- a/www/rubygem-redis-rack1/Makefile +++ b/www/rubygem-redis-rack1/Makefile @@ -2,6 +2,7 @@ PORTNAME= redis-rack PORTVERSION= 1.6.0 +PORTREVISION= 1 CATEGORIES= www rubygems MASTER_SITES= RG PKGNAMESUFFIX= 1 diff --git a/www/rubygem-redis-rack1/files/patch-gemspec b/www/rubygem-redis-rack1/files/patch-gemspec new file mode 100644 index 000000000000..24a039f3ee15 --- /dev/null +++ b/www/rubygem-redis-rack1/files/patch-gemspec @@ -0,0 +1,11 @@ +--- redis-rack.gemspec.orig 2017-03-18 16:23:13 UTC ++++ redis-rack.gemspec +@@ -23,7 +23,7 @@ Gem::Specification.new do |s| + s.specification_version = 4 + + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then +- s.add_runtime_dependency(%q.freeze, ["~> 1.2.0"]) ++ s.add_runtime_dependency(%q.freeze, [">= 1.2.0"]) + s.add_runtime_dependency(%q.freeze, ["~> 1.5"]) + s.add_development_dependency(%q.freeze, ["~> 10"]) + s.add_development_dependency(%q.freeze, ["~> 1.3"])