summaryrefslogtreecommitdiff
path: root/user/ruby-rspec/gemspec.patch
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2019-05-02 11:22:22 +0000
committerDan Theisen <djt@hxx.in>2019-05-03 11:26:28 +0000
commit21d014d48f73de3635e4b265a1e35441a076121e (patch)
treea8aca174fafeb414b387b78f63a442987d4034f8 /user/ruby-rspec/gemspec.patch
parente32828cbc51a9a77a432e6cbff86c94e0f907d9c (diff)
downloadpackages-21d014d48f73de3635e4b265a1e35441a076121e.tar.gz
packages-21d014d48f73de3635e4b265a1e35441a076121e.tar.bz2
packages-21d014d48f73de3635e4b265a1e35441a076121e.tar.xz
packages-21d014d48f73de3635e4b265a1e35441a076121e.zip
user/ruby-rspec: new package
Diffstat (limited to 'user/ruby-rspec/gemspec.patch')
-rw-r--r--user/ruby-rspec/gemspec.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/user/ruby-rspec/gemspec.patch b/user/ruby-rspec/gemspec.patch
new file mode 100644
index 000000000..1bd3937c3
--- /dev/null
+++ b/user/ruby-rspec/gemspec.patch
@@ -0,0 +1,14 @@
+--- a/rspec.gemspec
++++ b/rspec.gemspec
+@@ -14,10 +14,7 @@
+ s.summary = "rspec-#{RSpec::Version::STRING}"
+ s.description = "BDD for Ruby"
+
+- s.files = `git ls-files -- lib/*`.split("\n")
+- s.files += ["LICENSE.md"]
+- s.test_files = `git ls-files -- {spec,features}/*`.split("\n")
+- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
++ s.files = Dir["lib/**/*"]
+ s.extra_rdoc_files = [ "README.md" ]
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_path = "lib"