From 7189346f6bd0e52b24e46079ba7d0fbb75256f8c Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 8 Jul 2017 13:53:44 +0000 Subject: [PATCH] Fix gemspec for rubygem-micromachine 2.1.0 update - Bump PORTREVISION for package change --- sysutils/rubygem-vagrant-vbguest/Makefile | 1 + sysutils/rubygem-vagrant-vbguest/files/patch-gemspec | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 sysutils/rubygem-vagrant-vbguest/files/patch-gemspec diff --git a/sysutils/rubygem-vagrant-vbguest/Makefile b/sysutils/rubygem-vagrant-vbguest/Makefile index 8edef1c6bde7..6a9622e03b40 100644 --- a/sysutils/rubygem-vagrant-vbguest/Makefile +++ b/sysutils/rubygem-vagrant-vbguest/Makefile @@ -2,6 +2,7 @@ PORTNAME= vagrant-vbguest PORTVERSION= 0.14.2 +PORTREVISION= 1 CATEGORIES= sysutils rubygems MASTER_SITES= RG diff --git a/sysutils/rubygem-vagrant-vbguest/files/patch-gemspec b/sysutils/rubygem-vagrant-vbguest/files/patch-gemspec new file mode 100644 index 000000000000..0e9dbcb275c4 --- /dev/null +++ b/sysutils/rubygem-vagrant-vbguest/files/patch-gemspec @@ -0,0 +1,11 @@ +--- vagrant-vbguest.gemspec.orig 2017-07-08 13:05:36 UTC ++++ vagrant-vbguest.gemspec +@@ -22,7 +22,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, ["~> 2.0.0"]) ++ s.add_runtime_dependency(%q.freeze, ["~> 2.0"]) + s.add_runtime_dependency(%q.freeze, [">= 0"]) + s.add_runtime_dependency(%q.freeze, [">= 0"]) + else