[DRE-commits] [ruby-kramdown-rfc2629] 06/09: do not use the gem command

Cédric Boutillier boutil at moszumanska.debian.org
Fri Aug 1 11:49:42 UTC 2014


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

boutil pushed a commit to branch master
in repository ruby-kramdown-rfc2629.

commit 89a6f17560ed0a8087d36764b928ad7a8ac5dee5
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Aug 1 11:01:36 2014 +0200

    do not use the gem command
---
 debian/patches/no-gem-command.patch | 18 ++++++++++++++++++
 debian/patches/series               |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/no-gem-command.patch b/debian/patches/no-gem-command.patch
new file mode 100644
index 0000000..c3d2481
--- /dev/null
+++ b/debian/patches/no-gem-command.patch
@@ -0,0 +1,18 @@
+Description: do not use the gem command
+ version checking is done by Debian's package management system
+Origin: vendor
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: no
+Last-Update: 2014-08-01
+
+--- a/lib/kramdown-rfc2629.rb
++++ b/lib/kramdown-rfc2629.rb
+@@ -12,8 +12,6 @@
+ 
+ raise "sorry, 1.8 was last decade" unless RUBY_VERSION >= '1.9'
+ 
+-# this version also works with kramdown 0.12, 0.13, 0.14, but 1.x has the right license
+-gem 'kramdown', '~> 1.3.0'
+ require 'kramdown'
+ 
+ require 'rexml/parsers/baseparser'
diff --git a/debian/patches/series b/debian/patches/series
index 427038b..f8bb603 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-path.patch
+no-gem-command.patch

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



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