[DRE-commits] [ruby-flexmock] 05/11: added debian/patches/0001-gemspec-skip-git-usage.patch
Antonio Terceiro
terceiro at moszumanska.debian.org
Tue Sep 15 16:44:40 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-flexmock.
commit 3d67994c0257b89cbda9fdf56d1731f72b163682
Author: Antonio Terceiro <terceiro at debian.org>
Date: Tue Sep 15 13:29:48 2015 -0300
added debian/patches/0001-gemspec-skip-git-usage.patch
---
debian/changelog | 1 +
debian/patches/0001-gemspec-skip-git-usage.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 23 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 4f86fec..46902c7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,7 @@ ruby-flexmock (2.0.0~rc1-1) UNRELEASED; urgency=medium
* New upstream release
* debian/watch: point at github
* Update packaging with a new dh-make-ruby run
+ * added debian/patches/0001-gemspec-skip-git-usage.patch
-- Antonio Terceiro <terceiro at debian.org> Tue, 15 Sep 2015 13:26:51 -0300
diff --git a/debian/patches/0001-gemspec-skip-git-usage.patch b/debian/patches/0001-gemspec-skip-git-usage.patch
new file mode 100644
index 0000000..63fc0a3
--- /dev/null
+++ b/debian/patches/0001-gemspec-skip-git-usage.patch
@@ -0,0 +1,21 @@
+From: Antonio Terceiro <terceiro at debian.org>
+Date: Tue, 15 Sep 2015 13:29:15 -0300
+Subject: gemspec: skip git usage
+
+---
+ flexmock.gemspec | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/flexmock.gemspec b/flexmock.gemspec
+index 625ea6e..58ac711 100644
+--- a/flexmock.gemspec
++++ b/flexmock.gemspec
+@@ -21,7 +21,7 @@ spec = Gem::Specification.new do |s|
+
+ #### Which files are to be included in this gem? Everything! (Except CVS directories.)
+
+- s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
++ s.files = Dir.glob('**/*') - Dir.glob('debian/**/*')
+ s.require_paths = ['lib'] # Use these for libraries.]
+
+ #### Author and project details.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e355893
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-gemspec-skip-git-usage.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-flexmock.git
More information about the Pkg-ruby-extras-commits
mailing list