File: 0001-syncache.gemspec-drop-git-invokation-fix-license.patch

package info (click to toggle)
syncache 1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 248 kB
  • sloc: ruby: 1,536; sh: 108; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 981 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Dmitry Borodaenko <angdraug@gmail.com>
Date: Sat, 16 Apr 2016 00:42:58 -0700
Subject: syncache.gemspec: drop git invokation, fix license

---
 syncache.gemspec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/syncache.gemspec b/syncache.gemspec
index 918a027..e835b3f 100644
--- a/syncache.gemspec
+++ b/syncache.gemspec
@@ -18,8 +18,10 @@ two-level locking mechanism which ensures that:
    and as soon as the first thread completes the operation, the result will be
    returned to all threads.
     EOF
-  spec.files       = `git ls-files`.split "\n"
+  spec.files       = %w(COPYING ChangeLog.mtn README.rdoc setup.rb Rakefile
+                        syncache.gemspec bin/syncache-drb man/syncache-drb.1) +
+                     Dir['{lib,test}/**/*.rb']
   spec.test_files  = Dir['test/ts_*.rb']
   spec.executables = spec.files.map{|p| p =~ /^bin\/(.*)/ ? $1 : nil }.compact
-  spec.license     = 'GPL3+'
+  spec.license     = 'GPL-3.0+'
 end