Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-libyui-rake for openSUSE:Factory checked in at 2022-04-28 23:08:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-libyui-rake (Old) and /work/SRC/openSUSE:Factory/.rubygem-libyui-rake.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-libyui-rake" Thu Apr 28 23:08:16 2022 rev:11 rq:973707 version:0.1.24 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-libyui-rake/rubygem-libyui-rake.changes 2021-07-16 00:03:19.492300755 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-libyui-rake.new.1538/rubygem-libyui-rake.changes 2022-04-28 23:08:23.232712757 +0200 @@ -1,0 +2,9 @@ +Fri Apr 8 07:14:20 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz> + +- Use Rubocop 1.24.1 (the old one does not work in Ruby 3) +- Updated data in Gemspec +- Updated submit data, added SLE15-SP5 target, "sle_latest" moved + to SLE15-SP5 (related to bsc#1198109) +- 0.1.24 + +------------------------------------------------------------------- Old: ---- libyui-rake-0.1.23.gem New: ---- libyui-rake-0.1.24.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-libyui-rake.spec ++++++ --- /var/tmp/diff_new_pack.Gcg7JI/_old 2022-04-28 23:08:23.812713298 +0200 +++ /var/tmp/diff_new_pack.Gcg7JI/_new 2022-04-28 23:08:23.816713302 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-libyui-rake # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: rubygem-libyui-rake -Version: 0.1.23 +Version: 0.1.24 Release: 0 %define mod_name libyui-rake %define mod_full_name %{mod_name}-%{version} ++++++ libyui-rake-0.1.23.gem -> libyui-rake-0.1.24.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2021-03-30 22:28:16.000000000 +0200 +++ new/README.md 2022-04-28 14:17:11.000000000 +0200 @@ -1,7 +1,7 @@ # Libyui::Rake -[](https://travis-ci.org/libyui/libyui-rake) +[]( +https://github.com/libyui/libyui-rake/actions?query=branch%3Amaster) Rake tasks to help with uniform handling of libyui related projects. It provides setup for [packaging tasks](http://github.com/openSUSE/packaging_tasks) and add some additional tasks. @@ -10,7 +10,7 @@ Create a `Rakefile` with this content: -``` +```ruby require "libyui/rake" ``` @@ -32,7 +32,7 @@ definitions](https://github.com/libyui/libyui-rake/blob/master/data/targets.yml). For example, if you want to submit to SLE12, you can do: -``` +```ruby Libyui::Tasks.submit_to(:sle12) ``` This method can receive, as a second parameter, the path to your own diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION new/VERSION --- old/VERSION 2021-03-30 22:28:16.000000000 +0200 +++ new/VERSION 2022-04-28 14:17:11.000000000 +0200 @@ -1 +1 @@ -0.1.23 +0.1.24 Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/data/targets.yml new/data/targets.yml --- old/data/targets.yml 2021-03-30 22:28:16.000000000 +0200 +++ new/data/targets.yml 2022-04-28 14:17:11.000000000 +0200 @@ -69,11 +69,16 @@ obs_project: "Devel:YaST:SLE-15-SP4" obs_sr_project: "SUSE:SLE-15-SP4:Update" obs_target: "SUSE_SLE-15-SP4_GA" +:sle15sp5: + obs_api: "https://api.suse.de/" + obs_project: "Devel:YaST:SLE-15-SP5" + obs_sr_project: "SUSE:SLE-15-SP5:Update" + obs_target: "SUSE_SLE-15-SP5_GA" :sle_latest: obs_api: "https://api.suse.de/" obs_project: "Devel:YaST:Head" - obs_sr_project: "SUSE:SLE-15-SP4:GA" - obs_target: "SUSE_SLE-15-SP4_GA" + obs_sr_project: "SUSE:SLE-15-SP5:GA" + obs_target: "SUSE_SLE-15-SP5_GA" :factory: obs_project: "devel:libraries:libyui" obs_sr_project: "openSUSE:Factory" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/libyui/rake.rb new/lib/libyui/rake.rb --- old/lib/libyui/rake.rb 2021-03-30 22:28:16.000000000 +0200 +++ new/lib/libyui/rake.rb 2022-04-28 14:17:11.000000000 +0200 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + #-- # Copyright (C) 2015 SUSE LLC # This library is free software; you can redistribute it and/or modify @@ -23,7 +25,7 @@ include Libyui::Tasks::Helpers # read package name from spec file name because CWD can have a -branch suffix - main_spec = Dir.glob("package/*.spec").sort.last + main_spec = Dir.glob("package/*.spec").max conf.package_name = main_spec[/package\/(.*)\.spec$/, 1] conf.version = cmake_version @@ -36,7 +38,7 @@ end # load libyui-rake tasks -task_path = File.expand_path("../../tasks", __FILE__) +task_path = File.expand_path("../tasks", __dir__) Dir["#{task_path}/*.rake"].each do |f| load f end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/libyui/tasks.rb new/lib/libyui/tasks.rb --- old/lib/libyui/tasks.rb 2021-03-30 22:28:16.000000000 +0200 +++ new/lib/libyui/tasks.rb 2022-04-28 14:17:11.000000000 +0200 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + #-- # Copyright (C) 2015-2021 SUSE LLC # This library is free software; you can redistribute it and/or modify @@ -19,9 +21,9 @@ # Facilities to write Libyui related rake tasks. module Tasks # Name of the CMake version file - VERSION_CMAKE = "VERSION.cmake".freeze + VERSION_CMAKE = "VERSION.cmake" # Targets definition - TARGETS_FILE = File.expand_path("../../../data/targets.yml", __FILE__) + TARGETS_FILE = File.expand_path("../../data/targets.yml", __dir__) # Wrapper to set up packaging tasks def self.configuration(&block) @@ -32,6 +34,7 @@ targets = YAML.load_file(file) config = targets[target] raise "Not configuration found for #{target}" if config.nil? + Libyui::Tasks.configuration do |conf| config.each do |meth, val| conf.public_send("#{meth}=", val) @@ -101,9 +104,9 @@ # @param key [String] e.g., 'VERSION_MAJOR' # # @return [String] e.g., "3" - def cmake_value(s, key) + def cmake_value(text, key) e_key = Regexp.escape(key) - m = /SET\s*\(\s*#{e_key}\s+"([^"]*)"\s*\)/.match(s) + m = /SET\s*\(\s*#{e_key}\s+"([^"]*)"\s*\)/.match(text) m ? m[1] : nil end @@ -144,7 +147,7 @@ # @param filename [String, nil] if nil, it uses the shortest spec filename # @return [String] def spec_filename(filename) - filename || Dir.glob("package/*.spec").sort.first + filename || Dir.glob("package/*.spec").min end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tasks/so_version.rake new/lib/tasks/so_version.rake --- old/lib/tasks/so_version.rake 2021-03-30 22:28:16.000000000 +0200 +++ new/lib/tasks/so_version.rake 2022-04-28 14:17:11.000000000 +0200 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + #-- # Copyright (C) 2021 SUSE LLC # This library is free software; you can redistribute it and/or modify @@ -24,7 +26,7 @@ filenames = Dir.glob("package/*.spec").sort filenames.reject! { |f| spec_so_version(f).nil? } - mismatches = filenames.select { |f| spec_so_version(f) != so_version } + mismatches = filenames.reject { |f| spec_so_version(f) == so_version } if mismatches.any? messages = ["so version mismatch:"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tasks/test.rake new/lib/tasks/test.rake --- old/lib/tasks/test.rake 2021-03-30 22:28:16.000000000 +0200 +++ new/lib/tasks/test.rake 2022-04-28 14:17:11.000000000 +0200 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + #-- # Copyright (C) 2015 SUSE LLC # This library is free software; you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tasks/version.rake new/lib/tasks/version.rake --- old/lib/tasks/version.rake 2021-03-30 22:28:16.000000000 +0200 +++ new/lib/tasks/version.rake 2022-04-28 14:17:11.000000000 +0200 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + #-- # Copyright (C) 2015 SUSE LLC # This library is free software; you can redistribute it and/or modify @@ -27,7 +29,7 @@ spec_v = spec_version(spec_filename) if cmake_v != spec_v raise "Version mismatch, #{Libyui::Tasks::VERSION_CMAKE}:#{cmake_v} "\ - "#{spec_filename}:#{spec_v}" + "#{spec_filename}:#{spec_v}" end end puts cmake_v if verbose diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2021-03-31 16:53:45.000000000 +0200 +++ new/metadata 2022-04-28 14:21:23.000000000 +0200 @@ -1,16 +1,30 @@ --- !ruby/object:Gem::Specification name: libyui-rake version: !ruby/object:Gem::Version - version: 0.1.23 + version: 0.1.24 platform: ruby authors: - YaST team autorequire: bindir: bin cert_chain: [] -date: 2021-03-31 00:00:00.000000000 Z +date: 2022-04-28 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency + name: packaging_rake_tasks + requirement: !ruby/object:Gem::Requirement + requirements: + - - "~>" + - !ruby/object:Gem::Version + version: '1.5' + type: :runtime + prerelease: false + version_requirements: !ruby/object:Gem::Requirement + requirements: + - - "~>" + - !ruby/object:Gem::Version + version: '1.5' +- !ruby/object:Gem::Dependency name: rake requirement: !ruby/object:Gem::Requirement requirements: @@ -30,26 +44,12 @@ - - "<" - !ruby/object:Gem::Version version: '99' -- !ruby/object:Gem::Dependency - name: packaging_rake_tasks - requirement: !ruby/object:Gem::Requirement - requirements: - - - "~>" - - !ruby/object:Gem::Version - version: '1.5' - type: :runtime - prerelease: false - version_requirements: !ruby/object:Gem::Requirement - requirements: - - - "~>" - - !ruby/object:Gem::Version - version: '1.5' description: | Rake tasks that support the workflow of a libyui developer. It allows packaging a repo, sending it to the build service, creating a submit request to the target repo or running the client from the git repo. Heavily inspired by yast-rake. -email: yast-de...@suse.com +email: yast-de...@lists.opensuse.org executables: [] extensions: [] extra_rdoc_files: [] @@ -63,10 +63,11 @@ - lib/tasks/so_version.rake - lib/tasks/test.rake - lib/tasks/version.rake -homepage: https://github.com/openSUSE/libyui-rake +homepage: https://github.com/libyui/libyui-rake licenses: - LGPL-2.1 -metadata: {} +metadata: + rubygems_mfa_required: 'true' post_install_message: rdoc_options: [] require_paths: @@ -75,7 +76,7 @@ requirements: - - ">=" - !ruby/object:Gem::Version - version: '0' + version: 2.5.0 required_rubygems_version: !ruby/object:Gem::Requirement requirements: - - ">=" @@ -83,8 +84,8 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.7.6.2 +rubygems_version: 2.7.6.3 signing_key: specification_version: 4 -summary: Rake tasks providing basic workflow for libyui development +summary: Rake tasks that provide basic workflow for libyui development test_files: []