From c646f89f874e9ee20003e66c322a5c95394ae1cb Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 15 Nov 2018 17:29:43 -0200 Subject: [PATCH] build-style/gem.sh: ignore ~> operator --- common/build-style/gem.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/build-style/gem.sh b/common/build-style/gem.sh index be59e059498..afc00662654 100644 --- a/common/build-style/gem.sh +++ b/common/build-style/gem.sh @@ -61,4 +61,8 @@ do_install() { fi rm -rf ${_INSTDIR}/etc + + # Ignore the ~> operator, replace it with >= + sed 's|~>|>=|g' \ + -i ${DESTDIR}/${_GEMDIR}/specifications/${pkgname#ruby-}-${version}.gemspec }