File: replace-git-ls-files-z.patch

package info (click to toggle)
ruby-shellany 0.0.1-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 148 kB
  • sloc: ruby: 218; sh: 4; makefile: 3
file content (18 lines) | stat: -rw-r--r-- 950 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: replace git ls-files -z
Author: HIGUCHI Daisuke (VDR dai) <dai@debian.org>
Forwarded: not-needed
Last-Update: 2017-11-15

Index: ruby-shellany/shellany.gemspec
===================================================================
--- ruby-shellany.orig/shellany.gemspec
+++ ruby-shellany/shellany.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
   spec.homepage      = ""
   spec.license       = "MIT"
 
-  spec.files         = `git ls-files -z`.split("\x0")
+  spec.files         = [".gitignore", ".rspec", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "lib/shellany.rb", "lib/shellany/sheller.rb", "lib/shellany/version.rb", "shellany.gemspec", "spec/lib/shellany/sheller_spec.rb", "spec/shellany_spec.rb", "spec/spec_helper.rb"]
   spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
   spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
   spec.require_paths = ["lib"]