Package: ruby-clockwork / 2.0.3-4

drop-git-in-gemspec.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: remove git usage in gemspec file
Author: Andrew Lee (李健秋) <ajqlee@debian.org>
Origin: Debian
Forwarded: not-needed
Reviewed-By: Andrew Lee (李健秋) <ajqlee@debian.org>
Last-Update: 2019-02-11

--- ruby-clockwork-2.0.3.orig/clockwork.gemspec
+++ ruby-clockwork-2.0.3/clockwork.gemspec
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
   s.homepage = "http://github.com/Rykian/clockwork"
   s.summary = "A scheduler process to replace cron."
 
-  s.files         = `git ls-files`.split($/)
+  s.files         = Dir.glob("**/*").select {|v| v !~ /^debian/}
   s.executables   = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
   s.test_files    = s.files.grep(%r{^(test|spec|features)/})
   s.require_paths = ["lib"]