[DRE-commits] [ruby-js-routes] 03/04: Add 0001-No-git-in-gemspecs.patch to prevent the use of git in gemspeces (Closes: #869042)

Cédric Boutillier boutil at moszumanska.debian.org
Sat Dec 2 22:53:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-js-routes.

commit bb92e50ee87e066f81984e1c233261c056e5802c
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sat Dec 2 23:38:27 2017 +0100

    Add 0001-No-git-in-gemspecs.patch to prevent the use of git in gemspeces (Closes: #869042)
---
 debian/patches/0001-No-git-in-gemspecs.patch | 23 +++++++++++++++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/0001-No-git-in-gemspecs.patch b/debian/patches/0001-No-git-in-gemspecs.patch
new file mode 100644
index 0000000..1f5cc62
--- /dev/null
+++ b/debian/patches/0001-No-git-in-gemspecs.patch
@@ -0,0 +1,23 @@
+From: =?utf-8?q?C=C3=A9dric_Boutillier?= <boutil at debian.org>
+Date: Sat, 2 Dec 2017 23:01:57 +0100
+Subject: No git in gemspecs
+
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869042
+Forwarded: not-needed
+---
+ js-routes.gemspec | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/js-routes.gemspec b/js-routes.gemspec
+index a91dfb4..2023255 100644
+--- a/js-routes.gemspec
++++ b/js-routes.gemspec
+@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
+   s.extra_rdoc_files = [
+     "LICENSE.txt"
+   ]
+-  s.files = `git ls-files`.split("\n")
++  s.files = Dir["**/*"].select {|v| v !~ /^debian/}
+   s.homepage = %q{http://github.com/railsware/js-routes}
+   s.licenses = ["MIT"]
+   s.require_paths = ["lib"]
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..54dda4d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-No-git-in-gemspecs.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-js-routes.git



More information about the Pkg-ruby-extras-commits mailing list