diff options
Diffstat (limited to 'gnu/packages/patches/ruby-listen-3.0.8-patch-gemspec.patch')
-rw-r--r-- | gnu/packages/patches/ruby-listen-3.0.8-patch-gemspec.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/ruby-listen-3.0.8-patch-gemspec.patch b/gnu/packages/patches/ruby-listen-3.0.8-patch-gemspec.patch new file mode 100644 index 0000000000..e870c060a5 --- /dev/null +++ b/gnu/packages/patches/ruby-listen-3.0.8-patch-gemspec.patch @@ -0,0 +1,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' |