CentOS 8: Pin pathspec to 1.0.0

The recent version of patspec requires 2.6 but this is not available in
CentOS 8.

Closes-Bug: #1962790
Change-Id: I0c3ba9707e02e163af248233a948eac2614bc277
This commit is contained in:
Takashi Kajinami 2022-03-03 08:38:54 +09:00
parent 140f9d5fe2
commit 58526da21b
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@ Gem::Specification.new do |spec|
spec.add_dependency 'r10k', ['>= 3.0.0']
pathspec_version = RUBY_VERSION < '2.6.0' ? ['< 1.0.0'] : ['>= 1.0.0']
spec.add_dependency 'pathspec', pathspec_version
spec.add_dependency 'bolt'
spec.add_dependency 'puppet_litmus'
spec.add_dependency 'serverspec'