mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
remove gemspec use of git ls-files
In 5158b0e733, `git ls-files` was added to list the _files_ and _test_files_. This will never work for any process that uses a source tarball, like Debian packages and I think gems. Using `git ls-files` requires _git_ is installed on the build machine and requires that the _.git/_ dir is present in the source.
Example fixes:
* jfelchner/ruby-progressbar#54
* rubygems/rubygems#2064
* wpscanteam/CMSScanner#64
This commit is contained in:
committed by
GitHub
parent
18eb8d8d02
commit
2ca5603ad2
@@ -8,8 +8,8 @@ Gem::Specification.new do |s|
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
||||
s.require_paths = ["lib".freeze]
|
||||
s.authors = ["Lukas Stanek".freeze, "Dima Vasilets".freeze, "Brian Pitts".freeze]
|
||||
s.files = `git ls-files`.split($\)
|
||||
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
||||
s.files = Dir.glob("lib/**/*.*")
|
||||
s.test_files = Dir.glob("{test,spec,features}/**/*.*")
|
||||
s.description = "libvirt provider for Vagrant.".freeze
|
||||
s.email = ["ls@elostech.cz".freeze, "pronix.service@gmail.com".freeze, "brian@polibyte.com".freeze]
|
||||
s.homepage = "https://github.com/vagrant-libvirt/vagrant-libvirt".freeze
|
||||
|
||||
Reference in New Issue
Block a user