--- a/resolv-replace.gemspec
+++ b/resolv-replace.gemspec
@@ -13,9 +13,7 @@
   spec.metadata["homepage_uri"] = spec.homepage
   spec.metadata["source_code_uri"] = spec.homepage
 
-  spec.files         = Dir.chdir(File.expand_path('..', __FILE__)) do
-    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
-  end
+  spec.files         = Dir["lib/**/*"]
   spec.require_paths = ["lib"]
 
   spec.add_dependency "resolv"
