- Since rubygems 2.5.0 the default version in the gem bin stub
changed from '>= 0' to '>= 0.a'. This was done to allow prerelease versions. Our patching script didn't take the '.a' into account and generated version fields like '= 0.10.1.a' instead of the expected '= 0.10.1'. This fix accounts for the '.a'. OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=91
This commit is contained in:
parent
d28464f23c
commit
75d1c0de7c
@ -206,7 +206,7 @@ if options.symlinkbinaries && File.exists?(bindir)
|
|||||||
ruby_versioned = "#{unversioned}#{options.rubysuffix}"
|
ruby_versioned = "#{unversioned}#{options.rubysuffix}"
|
||||||
gem_versioned = "#{unversioned}-#{spec.version}"
|
gem_versioned = "#{unversioned}-#{spec.version}"
|
||||||
File.rename(default_path, full_versioned)
|
File.rename(default_path, full_versioned)
|
||||||
patchfile(full_versioned, />= 0/, "= #{options.gemversion}")
|
patchfile(full_versioned, />= 0(\.a)?/, "= #{options.gemversion}")
|
||||||
# unversioned
|
# unversioned
|
||||||
[unversioned, ruby_versioned, gem_versioned].each do |linkname|
|
[unversioned, ruby_versioned, gem_versioned].each do |linkname|
|
||||||
full_path = File.join(br_ua_dir, linkname)
|
full_path = File.join(br_ua_dir, linkname)
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 1 01:01:56 UTC 2016 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- Since rubygems 2.5.0 the default version in the gem bin stub
|
||||||
|
changed from '>= 0' to '>= 0.a'. This was done to allow
|
||||||
|
prerelease versions. Our patching script didn't take the '.a'
|
||||||
|
into account and generated version fields like '= 0.10.1.a'
|
||||||
|
instead of the expected '= 0.10.1'. This fix accounts for the
|
||||||
|
'.a'.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 11 14:33:37 UTC 2015 - lnussel@suse.de
|
Thu Jun 11 14:33:37 UTC 2015 - lnussel@suse.de
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user