[DRE-commits] [ruby-ffi-bit-masks] 03/04: d/patches: Fix files listing (and rubygems-integration)
Sebastien Badia
sbadia-guest at moszumanska.debian.org
Sat Mar 12 13:26:03 UTC 2016
This is an automated email from the git hooks/post-receive script.
sbadia-guest pushed a commit to branch master
in repository ruby-ffi-bit-masks.
commit 3eb5c52926aeafaa6e4ec1ecd7d0df76f6ca8801
Author: Sebastien Badia <seb at sebian.fr>
Date: Fri Mar 11 21:15:53 2016 -0300
d/patches: Fix files listing (and rubygems-integration)
---
debian/patches/001_fix-git-usage.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
2 files changed, 17 insertions(+)
diff --git a/debian/patches/001_fix-git-usage.patch b/debian/patches/001_fix-git-usage.patch
new file mode 100644
index 0000000..d6968c9
--- /dev/null
+++ b/debian/patches/001_fix-git-usage.patch
@@ -0,0 +1,16 @@
+Description: Fix GIT usage in the gemspec file
+Author: Sebastien Badia <seb at sebian.fr>
+Forwarded: not-needed
+Last-Update: 2016-03-11
+
+--- ruby-ffi-bit-masks-0.1.1.orig/ffi-bit_masks.gemspec
++++ ruby-ffi-bit-masks-0.1.1/ffi-bit_masks.gemspec
+@@ -23,7 +23,7 @@ Gem::Specification.new do |gem|
+
+ glob = lambda { |patterns| gem.files & Dir[*patterns] }
+
+- gem.files = `git ls-files`.split($/)
++ gem.files = files = (Dir["**/*"] - Dir["debian/**/*"]).select { |f| !File.directory?(f) }
+ gem.files = glob[gemspec['files']] if gemspec['files']
+
+ gem.executables = gemspec.fetch('executables') do
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c1e584f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+001_fix-git-usage.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-ffi-bit-masks.git
More information about the Pkg-ruby-extras-commits
mailing list