[DRE-commits] [rake] 10/15: debian/patches/0003-gemspec-drop-git-usage.patch: drop usage of git in rake.gemspec
Antonio Terceiro
terceiro at moszumanska.debian.org
Fri Jun 30 21:12:48 UTC 2017
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository rake.
commit b48e495d469100a287888d01f1596c8e2c409472
Author: Antonio Terceiro <terceiro at debian.org>
Date: Thu Jun 29 10:08:03 2017 -0300
debian/patches/0003-gemspec-drop-git-usage.patch: drop usage of git in rake.gemspec
---
debian/changelog | 2 ++
debian/patches/0003-gemspec-drop-git-usage.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 24 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 0cf3600..82108af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ rake (12.0.0-1) UNRELEASED; urgency=medium
- drop Build-Depends that are no longer necessary due to upstream changes
- add ruby-bundler to Build-Depends
* Drop debian/tests/*: just use the common Ruby testing infrastructure
+ * debian/patches/0003-gemspec-drop-git-usage.patch: drop usage of git in
+ rake.gemspec
-- Antonio Terceiro <terceiro at debian.org> Tue, 27 Jun 2017 18:03:11 -0300
diff --git a/debian/patches/0003-gemspec-drop-git-usage.patch b/debian/patches/0003-gemspec-drop-git-usage.patch
new file mode 100644
index 0000000..4a7291b
--- /dev/null
+++ b/debian/patches/0003-gemspec-drop-git-usage.patch
@@ -0,0 +1,21 @@
+From: Antonio Terceiro <terceiro at debian.org>
+Date: Thu, 29 Jun 2017 10:07:13 -0300
+Subject: gemspec: drop git usage
+
+---
+ rake.gemspec | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/rake.gemspec b/rake.gemspec
+index 8479b93..b3df626 100644
+--- a/rake.gemspec
++++ b/rake.gemspec
+@@ -23,7 +23,7 @@ Rake has the following features:
+ s.homepage = "https://github.com/ruby/rake".freeze
+ s.licenses = ["MIT".freeze]
+
+- s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
++ s.files = Dir['**/*'].reject { |f| File.directory?(f) || f.match(%r{^(debian|test|spec|features)/}) }
+ s.bindir = "exe"
+ s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ s.require_paths = ["lib".freeze]
diff --git a/debian/patches/series b/debian/patches/series
index 2470288..73944d6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-test-helper-adapt-to-test-installed-package.patch
0002-rake-testtask-never-include-I-usr-lib-ruby-vendor_ru.patch
+0003-gemspec-drop-git-usage.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/rake.git
More information about the Pkg-ruby-extras-commits
mailing list