Package: ruby-grib / 0.4.0-2

0004-Remove-git-ls-files-from-gemspec.patch Patch series | download
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
26
27
28
29
30
31
From: Youhei SASAKI <uwabami@gfd-dennou.org>
Date: Mon, 25 Sep 2017 00:27:08 +0900
Subject: Remove git ls-files from gemspec

Signed-off-by: Youhei SASAKI <uwabami@gfd-dennou.org>
---
 rb-grib.gemspec | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/rb-grib.gemspec b/rb-grib.gemspec
index 2c2f662..4a5222e 100644
--- a/rb-grib.gemspec
+++ b/rb-grib.gemspec
@@ -13,14 +13,13 @@ Gem::Specification.new do |s|
 
   s.rubyforge_project = "rb-grib"
 
-  s.files         = `git ls-files`.split("\n")
-  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
-  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+  s.files         = ["BSDL","Gemfile","LICENSE.txt","README.rdoc","Rakefile","data/regular_gaussian_model_level.grib1","data/regular_gaussian_model_level.grib2","data/regular_gaussian_pressure_level.grib1","data/regular_gaussian_pressure_level.grib2","data/regular_gaussian_pressure_level_constant.grib1","data/regular_gaussian_pressure_level_constant.grib2","data/regular_gaussian_surface.grib1","data/regular_gaussian_surface.grib2","data/regular_latlon_surface.grib1","data/regular_latlon_surface.grib2","data/regular_latlon_surface_constant.grib1","data/regular_latlon_surface_constant.grib2","data/regular_latlon_surface_prec.grib1","data/tp_ecmwf.grib","ext/extconf.rb","ext/grib.c","lib/numru/grib.rb","lib/numru/grib/definitions/grib1/localConcepts/kwbc/name.def","lib/numru/grib/definitions/grib1/localConcepts/kwbc/paramId.def","lib/numru/grib/definitions/grib1/localConcepts/kwbc/shortName.def","lib/numru/grib/definitions/grib1/localConcepts/kwbc/units.def","lib/numru/grib/definitions/grib2/localConcepts/rjtd/name.def","lib/numru/grib/definitions/grib2/localConcepts/rjtd/paramId.def","lib/numru/grib/definitions/grib2/localConcepts/rjtd/shortName.def","lib/numru/grib/definitions/grib2/localConcepts/rjtd/units.def","lib/numru/grib/grib.rb","lib/numru/grib/setenv.rb","lib/numru/grib/version.rb","rb-grib.gemspec","spec/GRIB1.tmpl","spec/GRIB2.tmpl","spec/grib_read_spec.rb","spec/spec_helper.rb"]
+  s.test_files    = ["spec/GRIB1.tmpl","spec/GRIB2.tmpl","spec/grib_read_spec.rb","spec/spec_helper.rb"]
   s.require_paths = ["lib"]
   s.extensions << "ext/extconf.rb"
 
   # specify any dependencies here; for example:
   s.add_development_dependency "rspec"
-  s.add_runtime_dependency "numru-narray"
+  s.add_runtime_dependency "narray"
   s.add_runtime_dependency "narray_miss"
 end