Accepting request 1037867 from devel:languages:ruby

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1037867
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=22
This commit is contained in:
Dominique Leuenberger 2022-11-25 12:11:20 +00:00 committed by Git OBS Bridge
commit b9cf6449ef
4 changed files with 15 additions and 3 deletions

View File

@ -231,7 +231,7 @@ GILogger.info "RPM name: #{rpmname}"
pwd = Dir.pwd
bindir = File.join(options.rpmbuildroot, Gem.bindir)
GILogger.info "bindir: #{bindir}"
if options.symlinkbinaries && File.exists?(bindir)
if options.symlinkbinaries && File.exist?(bindir)
br_ua_dir = File.join(options.rpmbuildroot, options.ua_dir)
GILogger.info "Creating upate-alternatives dir: #{br_ua_dir}"
FileUtils.mkdir_p(br_ua_dir)

View File

@ -24,7 +24,7 @@ gemfile_lock = STDIN.read.chomp
appdir = File.dirname(gemfile_lock)
Dir.chdir(appdir)
unless File.exists? app_info_file then
unless File.exist? app_info_file then
STDERR.puts "Warning: Skipping Gemfile.lock without appinfo.yaml file"
exit 0
end

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Nov 17 12:01:35 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
- actually bump the version so we can require the newer version for
ruby3.2
-------------------------------------------------------------------
Thu Nov 17 11:49:44 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
- replace `File.exists?` with `File.exist?` as the `File.exists?`
is no longer supported in 3.2
-------------------------------------------------------------------
Mon Jun 13 11:43:30 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -22,7 +22,7 @@
%endif
Name: ruby-common
Version: 2.6
Version: 3.2
Release: 0
# ruby-macros and ruby-common version
%define rpm_macros_version 5