From bcce6a06186407e1b1350fdb41d976a56ca27fca Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Wed, 19 Feb 2014 03:46:41 +0000 Subject: [PATCH] - Convert to using patch instead of REINPLACE --- devel/rubygem-sprockets/Makefile | 3 --- devel/rubygem-sprockets/files/patch-gemspec | 25 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 devel/rubygem-sprockets/files/patch-gemspec diff --git a/devel/rubygem-sprockets/Makefile b/devel/rubygem-sprockets/Makefile index 88e9859499e9..8ddca8d6b153 100644 --- a/devel/rubygem-sprockets/Makefile +++ b/devel/rubygem-sprockets/Makefile @@ -23,7 +23,4 @@ RUBYGEM_AUTOPLIST= yes PLIST_FILES= bin/sprockets -post-patch: - @${REINPLACE_CMD} -e '73 s|~>|">="|; 80,87 d' ${WRKSRC}/${GEM_NAME}.gemspec - .include diff --git a/devel/rubygem-sprockets/files/patch-gemspec b/devel/rubygem-sprockets/files/patch-gemspec new file mode 100644 index 000000000000..7a0ce522924a --- /dev/null +++ b/devel/rubygem-sprockets/files/patch-gemspec @@ -0,0 +1,25 @@ +--- sprockets-2.10.1.gemspec.orig 2014-02-19 03:41:08.416679798 +0000 ++++ sprockets-2.10.1.gemspec 2014-02-19 03:41:08.671679822 +0000 +@@ -70,21 +70,13 @@ + requirement: &id004 !ruby/object:Gem::Requirement + none: false + requirements: +- - - ~> ++ - - ">=" + - !ruby/object:Gem::Version + hash: 13 + segments: + - 1 + - 1 + version: "1.1" +- - - "!=" +- - !ruby/object:Gem::Version +- hash: 27 +- segments: +- - 1 +- - 3 +- - 0 +- version: 1.3.0 + type: :runtime + version_requirements: *id004 + - !ruby/object:Gem::Dependency