File 0001-Don-t-drop-any-gems-from-bundle.patch of Package hawk2.13711
From 1b85e2dc8a64d11659e024988b714ee378910acf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= <krig@koru.se>
Date: Mon, 6 Feb 2017 15:06:38 +0100
Subject: [PATCH] Don't drop any gems from bundle
---
Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 1daca19..e337998 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ INIT_STYLE = suse
BUNDLE_GEMS = false
# This should be discoverable in a better way
-RUBY_ABI = 2.1.0
+RUBY_ABI = "$(echo "puts \"#{Gem.ruby_api_version}\"" | ruby)"
# Set this never to 1, it's used only within vagrant for development
WITHIN_VAGRANT = 0
@@ -53,8 +53,6 @@ all: scripts/hawk.$(INIT_STYLE) scripts/hawk.service scripts/hawk.service.bundle
export BUNDLE_WITHOUT="test" && \
# Generate Gemfile.lock \
bundle list && \
- # Strip unwanted gems from Gemfile.lock \
- sed -i -e '/\brdoc\b/d' -e '/\brake\b/d' -e '/\bjson\b/d' Gemfile.lock && \
# Finally package and install the gems \
bundle package && bundle install --local --deployment ; \
fi ; \
--
2.10.1