aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/ruby-listen-3.0.8-patch-gemspec.patch
blob: e870c060a509bfc7edf985b950faf260ebe3193a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/listen.gemspec b/listen.gemspec
index ee1316e..067dca3 100644
--- a/listen.gemspec
+++ b/listen.gemspec
@@ -14,9 +14,8 @@ Gem::Specification.new do |s|
   s.description = 'The Listen gem listens to file modifications and '\
     'notifies you about the changes. Works everywhere!'
 
-  s.files        = `git ls-files -z`.split("\x0").select do |f|
-    /^(?:bin|lib)\// =~ f
-  end + %w(CHANGELOG.md CONTRIBUTING.md LICENSE.txt README.md)
+  s.files = `find bin lib -type f |sort`.split("\n") +
+            %w(CHANGELOG.md CONTRIBUTING.md LICENSE.txt README.md)
 
   s.test_files   = []
   s.executable   = 'listen'