[DRE-commits] [ruby-ramaze] 01/04: Don't require rubygems from within Debian packages

Gunnar Wolf gwolf at alioth.debian.org
Thu Aug 29 17:40:17 UTC 2013


This is an automated email from the git hooks/post-receive script.

gwolf pushed a commit to branch master
in repository ruby-ramaze.

commit 4b0ebfb03293dd48396bd9392c15570d873793cc
Author: Gunnar Wolf <gwolf at debian.org>
Date:   Thu Aug 29 10:56:15 2013 -0500

    Don't require rubygems from within Debian packages
---
 debian/changelog                     |    1 +
 debian/patches/dont_require_rubygems |   11 +++++++++++
 debian/patches/series                |    1 +
 3 files changed, 13 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2fb14c5..6481ea8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ ruby-ramaze (2012.12.08-1) UNRELEASED; urgency=low
   [ Gunnar Wolf ]
   * Create transitional packages; review+update copyright information
   * Incorporate previous packaging information from the old packaging
+  * Don't require rubygems from within Debian packages
 
  -- Gunnar Wolf <gwolf at gwolf.org>  Thu, 29 Aug 2013 10:10:15 -0500
 
diff --git a/debian/patches/dont_require_rubygems b/debian/patches/dont_require_rubygems
new file mode 100644
index 0000000..1c9dc14
--- /dev/null
+++ b/debian/patches/dont_require_rubygems
@@ -0,0 +1,11 @@
+Index: ruby-ramaze/lib/proto/app.rb
+===================================================================
+--- ruby-ramaze.orig/lib/proto/app.rb	2013-08-29 10:08:17.000000000 -0500
++++ ruby-ramaze/lib/proto/app.rb	2013-08-29 10:54:58.000000000 -0500
+@@ -1,6 +1,5 @@
+ # This file contains your application, it requires dependencies and necessary
+ # parts of the application.
+-require 'rubygems'
+ require 'ramaze'
+ 
+ # Make sure that Ramaze knows where you are
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f728cce
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+dont_require_rubygems

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-ramaze.git



More information about the Pkg-ruby-extras-commits mailing list