File: 0001-Remove-git-from-gemspec.patch

package info (click to toggle)
ruby-rubocop-performance 1.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 792 kB
  • sloc: ruby: 6,722; makefile: 8
file content (20 lines) | stat: -rw-r--r-- 648 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
20
From: Daniel Leidert <dleidert@debian.org>
Date: Sat, 18 Apr 2020 00:38:40 +0200
Subject: Remove git from gemspec
Forwarded: not-needed

---
 rubocop-performance.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/rubocop-performance.gemspec
+++ b/rubocop-performance.gemspec
@@ -15,7 +15,7 @@
   DESCRIPTION
 
   s.email = 'rubocop@googlegroups.com'
-  s.files = `git ls-files -z config lib LICENSE.txt README.md`.split("\x0")
+  s.files = Dir.glob("**/*").select {|v| v !~ /^debian/}
   s.extra_rdoc_files = ['LICENSE.txt', 'README.md']
   s.homepage = 'https://github.com/rubocop-hq/rubocop-performance'
   s.licenses = ['MIT']