From c4bd03c587fc401a1a78cc6c6ed02737a87e17d2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 7 Dec 2014 15:54:11 -0200 Subject: Adding 10-require-rubygems.patch --- debian/patches/10-require-rubygems.patch | 12 ++++++++++++ debian/patches/series | 1 + 2 files changed, 13 insertions(+) create mode 100644 debian/patches/10-require-rubygems.patch create mode 100644 debian/patches/series diff --git a/debian/patches/10-require-rubygems.patch b/debian/patches/10-require-rubygems.patch new file mode 100644 index 0000000..3d490ab --- /dev/null +++ b/debian/patches/10-require-rubygems.patch @@ -0,0 +1,12 @@ +Remove "require rubgems" from code +--- a/lib/leap_cli.rb ++++ b/lib/leap_cli.rb +@@ -10,7 +10,7 @@ + + # for a few gems, things will break if using earlier versions. + # enforce the compatible versions here: +-require 'rubygems' ++#require 'rubygems' + gem 'net-ssh', '~> 2.7.0' + gem 'gli', '~> 2.12.0' + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..328a243 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +10-require-rubygems.patch -- cgit v1.2.3