[DRE-commits] [ruby-macaddr] 05/07: remove rubygems
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Mon Oct 20 17:10:39 UTC 2014
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-macaddr.
commit b38842d4d5a726ce95f29d709540f0cb207f6189
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Mon Oct 20 22:25:03 2014 +0530
remove rubygems
---
debian/patches/remove-rubygems.patch | 28 ++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 29 insertions(+)
diff --git a/debian/patches/remove-rubygems.patch b/debian/patches/remove-rubygems.patch
new file mode 100644
index 0000000..378b9fa
--- /dev/null
+++ b/debian/patches/remove-rubygems.patch
@@ -0,0 +1,28 @@
+Description: Remove rubygems usage
+ We will handle dependecnies using apt
+ .
+ Debian Specific.
+Author: Pirate Praveen <praveen at debian.org>
+Last-Updated: 18-10-2014
+
+Index: ruby-macaddr-1.7.1/lib/macaddr.rb
+===================================================================
+--- ruby-macaddr-1.7.1.orig/lib/macaddr.rb
++++ ruby-macaddr-1.7.1/lib/macaddr.rb
+@@ -14,11 +14,11 @@
+ # Mac.address.list
+ #
+
+-begin
+- require 'rubygems'
+-rescue LoadError
+- nil
+-end
++#begin
++# require 'rubygems'
++#rescue LoadError
++# nil
++#end
+
+ require 'systemu'
+ require 'socket'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7458898
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove-rubygems.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-macaddr.git
More information about the Pkg-ruby-extras-commits
mailing list