[DRE-commits] [ruby-kramdown-rfc2629] 01/09: move data/kramdown-rfc2629.erb under usr/share/ruby-kramdown-rfc2629
Cédric Boutillier
boutil at moszumanska.debian.org
Fri Aug 1 11:49:41 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 c43f31cca07078cfff90a5f36309cc279f66dd9a
Author: Cédric Boutillier <boutil at debian.org>
Date: Fri Aug 1 10:18:24 2014 +0200
move data/kramdown-rfc2629.erb under usr/share/ruby-kramdown-rfc2629
---
debian/patches/fix-path.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
debian/ruby-kramdown-rfc2629.install | 4 +---
3 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/debian/patches/fix-path.patch b/debian/patches/fix-path.patch
new file mode 100644
index 0000000..ecdcb8f
--- /dev/null
+++ b/debian/patches/fix-path.patch
@@ -0,0 +1,18 @@
+Description: fix patch for kramdown-rfc2629.erb
+ as it is installed under /usr/share/ruby-kramdown-rfc2629
+Origin: vendor
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: not-needed
+Last-Update: 2014-08-01
+
+--- a/bin/kramdown-rfc2629
++++ b/bin/kramdown-rfc2629
+@@ -152,7 +152,7 @@
+ end
+ end
+
+- erbfilename = File.expand_path '../../data/kramdown-rfc2629.erb', __FILE__
++ erbfilename = '/usr/share/ruby-kramdown-rfc2629/kramdown-rfc2629.erb'
+ erbfile = File.read(erbfilename, coding: "UTF-8")
+ erb = ERB.new(erbfile, nil, '-')
+ # remove redundant nomarkdown pop outs/pop ins as they confuse kramdown
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..427038b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-path.patch
diff --git a/debian/ruby-kramdown-rfc2629.install b/debian/ruby-kramdown-rfc2629.install
index 8680962..fa9f3cd 100644
--- a/debian/ruby-kramdown-rfc2629.install
+++ b/debian/ruby-kramdown-rfc2629.install
@@ -1,3 +1 @@
-# FIXME: data/ dir found in source. Consider installing it somewhere.
-# Examples:
-# data/* /usr/share/ruby-kramdown-rfc2629/
+data/* /usr/share/ruby-kramdown-rfc2629/
--
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