[DRE-commits] [ruby-hamlit] 05/05: remove git in gemspec
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sat Jul 23 17:05:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-hamlit.
commit 154c6fd8969acf684c7f769633f19fb61a02e815
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sat Jul 23 22:15:00 2016 +0530
remove git in gemspec
---
debian/patches/001-remove-git-in-gemspec.patch | 14 ++++++++++++++
debian/patches/series | 1 +
2 files changed, 15 insertions(+)
diff --git a/debian/patches/001-remove-git-in-gemspec.patch b/debian/patches/001-remove-git-in-gemspec.patch
new file mode 100644
index 0000000..a6ef089
--- /dev/null
+++ b/debian/patches/001-remove-git-in-gemspec.patch
@@ -0,0 +1,14 @@
+--- a/hamlit.gemspec
++++ b/hamlit.gemspec
+@@ -14,9 +14,9 @@
+ spec.homepage = 'https://github.com/k0kubun/hamlit'
+ spec.license = 'MIT'
+
+- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|sample)/}) } + `git -C ext/hamlit/houdini ls-files -z`.split("\x0").map { |path| "ext/hamlit/houdini/#{path}" }
++ spec.files = ''
+ spec.bindir = 'exe'
+- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
++ spec.executables = 'hamlit'
+ spec.extensions = ['ext/hamlit/extconf.rb']
+ spec.require_paths = ['lib']
+ spec.required_ruby_version = '>= 2.1.0'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5506a48
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+001-remove-git-in-gemspec.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-hamlit.git
More information about the Pkg-ruby-extras-commits
mailing list