File: drop-git-in-gemspec.patch

package info (click to toggle)
ruby-joiner 0.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 164 kB
  • sloc: ruby: 213; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 631 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Drop git usage in gemfile
Author: Andrew Lee (李健秋) <ajqlee@debian.org>

Origin: Debian
Forwarded: not-needed
Reviewed-By: Andrew Lee (李健秋) <ajqlee@debian.org>
Last-Update: 2018-12-06

--- ruby-joiner-0.4.2.orig/joiner.gemspec
+++ ruby-joiner-0.4.2/joiner.gemspec
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
   spec.homepage      = 'https://github.com/pat/joiner'
   spec.license       = 'MIT'
 
-  spec.files         = `git ls-files`.split($/)
+  spec.files         = Dir.glob("**/*").select {|v| v !~ /^debian/}
   spec.test_files    = spec.files.grep(%r{^(spec)/})
   spec.require_paths = ['lib']