build-style/gem.sh: ignore ~> operator

This commit is contained in:
maxice8 2018-11-15 17:29:43 -02:00 committed by maxice8
parent 6ce9a1636a
commit c646f89f87
1 changed files with 4 additions and 0 deletions

View File

@ -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
}