Skip to content

Commit bca0db2

Browse files
rootsmortex
authored andcommitted
Revert "Deduplicate where we get the version from"
This reverts commit bf87d14. When building a gem, this file is processed by the gem(1) command and the installed file is the result of a bunch of substitutions. However, when building AIO packages, the file is copied as is, and a relative path will not work properly. This result in a flood of warnings about invalid gemspec: ``` Invalid gemspec in [/opt/puppetlabs/puppet/lib/ruby/gems/3.2.0/specifications/puppet-8.19.0.gemspec]: cannot load such file -- /opt/puppetlabs/puppet/lib/ruby/gems/3.2.0/specifications/lib/puppet/version ```
1 parent f5289a1 commit bca0db2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

puppet.gemspec

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
require_relative 'lib/puppet/version'
2-
31
Gem::Specification.new do |spec|
42
spec.name = "openvox"
5-
spec.version = Puppet::PUPPETVERSION
3+
spec.version = "8.18.1"
64
spec.licenses = ['Apache-2.0']
75

86
spec.required_rubygems_version = Gem::Requirement.new("> 1.3.1")

0 commit comments

Comments
 (0)