commit rubygem-ruby-libvirt for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-ruby-libvirt for openSUSE:Factory checked in at 2022-09-17 20:10:35 Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-libvirt (Old) and /work/SRC/openSUSE:Factory/.rubygem-ruby-libvirt.new.2083 (New) Package is "rubygem-ruby-libvirt" Sat Sep 17 20:10:35 2022 rev:6 rq:1004130 version:0.8.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-ruby-libvirt/rubygem-ruby-libvirt.changes 2022-01-13 23:21:36.260053877 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-ruby-libvirt.new.2083/rubygem-ruby-libvirt.changes 2022-09-17 20:10:46.877233247 +0200 @@ -1,0 +2,13 @@ +Fri Sep 16 13:19:13 UTC 2022 - Dan ??erm??k + +- New upstream release 0.8.0 + * Fix default values for node_cpu_stats and node_memory_stats + * Fix cpumap allocation for virDomainGetVcpus + * Enforce UTF8 for strings and exceptions + * Drop local have_const + * Use sensible default for libvirt_domain_qemu_agent_command + +- Drop 0001-Fix-include-of-st.h-to-ruby-st.h.patch, + https://gitlab.com/libvirt/libvirt-ruby/-/merge_requests/7 was merged upstream + +--- Old: 0001-Fix-include-of-st.h-to-ruby-st.h.patch ruby-libvirt-0.7.1.gem New: ruby-libvirt-0.8.0.gem Other differences: -- ++ rubygem-ruby-libvirt.spec ++ --- /var/tmp/diff_new_pack.aB3pnz/_old 2022-09-17 20:10:47.321234528 +0200 +++ /var/tmp/diff_new_pack.aB3pnz/_new 2022-09-17 20:10:47.325234540 +0200 @@ -25,7 +25,7 @@ # of those fields # Name: rubygem-ruby-libvirt -Version:0.7.1 +Version:0.8.0 Release:0 Summary:Ruby bindings for LIBVIRT License:LGPL-2.1-or-later @@ -41,18 +41,11 @@ BuildRequires: libvirt-devel BuildRequires: pkgconfig # /MANUAL -# MANUAL -Patch0: 0001-Fix-include-of-st.h-to-ruby-st.h.patch -# /MANUAL %description Ruby bindings for libvirt. %prep -%gem_unpack -%patch0 -p1 -find -type f -print0 | xargs -0 touch -r %{SOURCE0} -%{gem_build} %build ++ gem2rpm.yml ++ --- /var/tmp/diff_new_pack.aB3pnz/_old 2022-09-17 20:10:47.365234655 +0200 +++ /var/tmp/diff_new_pack.aB3pnz/_new 2022-09-17 20:10:47.369234667 +0200 @@ -21,8 +21,8 @@ # BuildRequires: foobar # Requires: foobar # ## used by gem2rpm - :patches: - 0001-Fix-include-of-st.h-to-ruby-st.h.patch: -p1 +# :patches: +# 0001-Fix-include-of-st.h-to-ruby-st.h.patch: -p1 # bar.patch: # ## used by gem2rpm :sources: ++ ruby-libvirt-0.7.1.gem -> ruby-libvirt-0.8.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NEWS new/NEWS --- old/NEWS2018-02-18 14:18:03.0 +0100 +++ new/NEWS2021-11-16 01:05:04.0 +0100 @@ -1,3 +1,10 @@ +2021-11-15 0.8.0 + * Fix default values for node_cpu_stats and node_memory_stats + * Fix cpumap allocation for virDomainGetVcpus + * Enforce UTF8 for strings and exceptions + * Drop local have_const + * Use sensible default for libvirt_domain_qemu_agent_command + 2018-02-18 0.7.1 * Fix a bad bug in block_resize (Marius Rieder) * Fix up some problems pointed out by clang diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Rakefile new/Rakefile --- old/Rakefile2018-02-18 14:18:03.0 +0100 +++ new/Rakefile2021-11-16 01:05:04.0 +0100 @@ -21,7 +21,7 @@ require 'rbconfig' PKG_NAME='ruby-libvirt' -PKG_VERSION='0.7.1' +PKG_VERSION='0.8.0' EXT_CONF='ext/libvirt/extconf.rb' MAKEFILE="ext/libvirt/Makefile" @@ -145,7 +145,7 @@ s.author = "David Lutterkort, Chris Lalancette" s.rubyforge_project = "None" s.description = "Ruby bindings for libvirt." -s.license = "LGPLv2" +s.license = "LGPL-2.1-or-later" end Gem::PackageTask.new(SPEC) do |pkg| Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ext/libvirt/common.c new/ext/libvirt/common.c --- old/ext/libvirt/common.c2018-02-18 14:18:03.0 +0100 +++ new/ext/libvirt/common.c2021-11-16 01:05:04.0 +0100 @@ -24,7 +24,8 @@ #endif #include #include -#include +#include +#include #include #include #include "common.h" @@ -38,8 +39,9 @@ static VALUE ruby_libvirt_exc_new2_wrap(VALUE arg) { struct rb_exc_new2_arg *e = (struct rb_exc_new2_arg *)arg; +VALUE ruby_msg = ruby_libvirt_str_new2_wrap((VALUE)>msg); -return rb_exc_new2(e->error, e->msg); +return rb_exc_new3(e->error, ruby_msg); } VALUE ruby_libvirt_ary_new2_wrap(VALUE arg) @@ -66,8 +68,11 @@ VALUE
commit rubygem-ruby-libvirt for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-ruby-libvirt for openSUSE:Factory checked in at 2022-01-13 23:20:58 Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-libvirt (Old) and /work/SRC/openSUSE:Factory/.rubygem-ruby-libvirt.new.1892 (New) Package is "rubygem-ruby-libvirt" Thu Jan 13 23:20:58 2022 rev:5 rq:946025 version:0.7.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-ruby-libvirt/rubygem-ruby-libvirt.changes 2021-01-19 16:02:48.579435766 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-ruby-libvirt.new.1892/rubygem-ruby-libvirt.changes 2022-01-13 23:21:36.260053877 +0100 @@ -1,0 +2,5 @@ +Thu Jan 13 09:02:13 UTC 2022 - Fabian Vogt + +- Drop BuildRequires: libvirt, not necessary and very expensive + +--- Other differences: -- ++ rubygem-ruby-libvirt.spec ++ --- /var/tmp/diff_new_pack.w2xYsb/_old 2022-01-13 23:21:36.784054220 +0100 +++ /var/tmp/diff_new_pack.w2xYsb/_new 2022-01-13 23:21:36.788054223 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-ruby-libvirt # -# 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 @@ -38,7 +38,6 @@ BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 # MANUAL -BuildRequires: libvirt BuildRequires: libvirt-devel BuildRequires: pkgconfig # /MANUAL ++ gem2rpm.yml ++ --- /var/tmp/diff_new_pack.w2xYsb/_old 2022-01-13 23:21:36.824054246 +0100 +++ /var/tmp/diff_new_pack.w2xYsb/_new 2022-01-13 23:21:36.824054246 +0100 @@ -16,7 +16,6 @@ # :disable_automatic_rdoc_dep: true # ## used by gem2rpm :preamble: |- - BuildRequires: libvirt BuildRequires: libvirt-devel BuildRequires: pkgconfig # BuildRequires: foobar
commit rubygem-ruby-libvirt for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-ruby-libvirt for openSUSE:Factory checked in at 2021-01-19 16:02:22 Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-libvirt (Old) and /work/SRC/openSUSE:Factory/.rubygem-ruby-libvirt.new.28504 (New) Package is "rubygem-ruby-libvirt" Tue Jan 19 16:02:22 2021 rev:4 rq:864120 version:0.7.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-ruby-libvirt/rubygem-ruby-libvirt.changes 2018-02-22 15:01:08.228829069 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-ruby-libvirt.new.28504/rubygem-ruby-libvirt.changes 2021-01-19 16:02:48.579435766 +0100 @@ -1,0 +2,10 @@ +Tue Jan 5 10:17:15 UTC 2021 - Dan ??erm??k + +- Fix build failures with ruby 3.0 + Add 0001-Fix-include-of-st.h-to-ruby-st.h.patch (https://gitlab.com/libvirt/libvirt-ruby/-/merge_requests/7) + +- Add correct SPDX license via gem2rpm.yml + +- Run spec cleaner on the spec + +--- New: 0001-Fix-include-of-st.h-to-ruby-st.h.patch Other differences: -- ++ rubygem-ruby-libvirt.spec ++ --- /var/tmp/diff_new_pack.eG7OoL/_old 2021-01-19 16:02:49.391436994 +0100 +++ /var/tmp/diff_new_pack.eG7OoL/_new 2021-01-19 16:02:49.395437000 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-ruby-libvirt # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,43 +12,48 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%define mod_name ruby-libvirt +%define mod_full_name %{mod_name}-%{version} # # This file was generated with a gem2rpm.yml and not just plain gem2rpm. # All sections marked as MANUAL, license headers, summaries and descriptions # can be maintained in that file. Please consult this file before editing any # of those fields # - Name: rubygem-ruby-libvirt Version:0.7.1 Release:0 -%define mod_name ruby-libvirt -%define mod_full_name %{mod_name}-%{version} +Summary:Ruby bindings for LIBVIRT +License:LGPL-2.1-or-later +Group: Development/Languages/Ruby +URL:https://libvirt.org/ruby/ +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1:rubygem-ruby-libvirt-rpmlintrc +Source2:gem2rpm.yml +BuildRequires: %{rubydevel >= 1.8.1} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: ruby-macros >= 5 # MANUAL BuildRequires: libvirt BuildRequires: libvirt-devel -BuildRequires: pkg-config +BuildRequires: pkgconfig +# /MANUAL +# MANUAL +Patch0: 0001-Fix-include-of-st.h-to-ruby-st.h.patch # /MANUAL -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{rubydevel >= 1.8.1} -BuildRequires: %{rubygem gem2rpm} -BuildRequires: ruby-macros >= 5 -Url:http://libvirt.org/ruby/ -Source: https://rubygems.org/gems/%{mod_full_name}.gem -Source1:rubygem-ruby-libvirt-rpmlintrc -Source2:gem2rpm.yml -Summary:Ruby bindings for LIBVIRT -License:LGPL-2.0-only -Group: Development/Languages/Ruby %description Ruby bindings for libvirt. %prep +%gem_unpack +%patch0 -p1 +find -type f -print0 | xargs -0 touch -r %{SOURCE0} +%{gem_build} %build @@ -56,7 +61,7 @@ %gem_install \ --doc-files="COPYING NEWS README README.rdoc" \ -f -%gem_cleanup +%{gem_cleanup} %gem_packages ++ 0001-Fix-include-of-st.h-to-ruby-st.h.patch ++ >From 9420b4a54a82c79033d0ab404b6cf04d3413f373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Tue, 5 Jan 2021 10:54:12 +0100 Subject: [PATCH] Fix include of st.h to ruby/st.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dan ??erm??k --- ext/libvirt/common.c | 2 +- ext/libvirt/domain.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/libvirt/common.c b/ext/libvirt/common.c index cf7dd93..ca92088 100644 --- a/ext/libvirt/common.c +++ b/ext/libvirt/common.c @@ -24,7 +24,7 @@ #endif #include #include -#include +#include #include #include #include "common.h" diff --git a/ext/libvirt/domain.c b/ext/libvirt/domain.c index d665907..ecbbff6 100644 --- a/ext/libvirt/domain.c +++ b/ext/libvirt/domain.c @@ -23,7 +23,7 @@ #include #include /* we need to include st.h since ruby