Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rubygem-vagrant_cloud for
openSUSE:Factory checked in at 2024-09-05 15:46:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-vagrant_cloud (Old)
and /work/SRC/openSUSE:Factory/.rubygem-vagrant_cloud.new.10096 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-vagrant_cloud"
Thu Sep 5 15:46:03 2024 rev:12 rq:1198980 version:3.1.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-vagrant_cloud/rubygem-vagrant_cloud.changes
2024-02-15 21:00:20.123855944 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-vagrant_cloud.new.10096/rubygem-vagrant_cloud.changes
2024-09-05 15:46:07.177414370 +0200
@@ -1,0 +2,14 @@
+Thu Sep 5 12:10:14 UTC 2024 - ÐлÑÑ Ðндиго <[email protected]>
+
+- Bumped rexml to 3.3 instead 3.3.0.
+
+-------------------------------------------------------------------
+Thu Sep 5 07:00:12 UTC 2024 - Dan Äermák <[email protected]>
+
+- Bump rexml dependency
+
+ This is effectively https://github.com/hashicorp/vagrant_cloud/pull/87, but
+ since we cannot patch the gemspec directly, we have to resort to this ugly
+ hack and modify the gem metadata directly
+
+-------------------------------------------------------------------
@@ -100 +113,0 @@
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-vagrant_cloud.spec ++++++
--- /var/tmp/diff_new_pack.Rn3S3G/_old 2024-09-05 15:46:07.821440862 +0200
+++ /var/tmp/diff_new_pack.Rn3S3G/_new 2024-09-05 15:46:07.821440862 +0200
@@ -28,17 +28,15 @@
Release: 0
%define mod_name vagrant_cloud
%define mod_full_name %{mod_name}-%{version}
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: %{rubygem gem2rpm}
-BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
+BuildRequires: %{ruby}
+BuildRequires: %{rubygem gem2rpm}
URL: https://github.com/hashicorp/vagrant_cloud
-Source: https://rubygems.org/gems/%{mod_full_name}.gem
+Source0: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: vagrant_cloud-3.1.1.gem.sha256
Source2: gem2rpm.yml
Summary: Ruby library for the HashiCorp Vagrant Cloud API
License: MIT
-Group: Development/Languages/Ruby
%description
Ruby library for the HashiCorp Vagrant Cloud API.
@@ -48,6 +46,14 @@
%build
%install
+# MANUAL
+%gem_unpack
+sed -i 's|\(.*<rexml>.freeze, \)\["~> 3.2.5"|\1\["~> 3.3"|'
%{mod_full_name}.gemspec
+find -type f -print0 | xargs -0 touch -r %{SOURCE0}
+%gem_build
+# HACK: %%gem_install uses the gem from %%{_sourcedir} by default, so we
*must* put it back there
+mv %{mod_full_name}.gem %{_sourcedir}
+# /MANUAL
%gem_install \
--doc-files="LICENSE README.md" \
-f
++++++ gem2rpm.yml ++++++
--- /var/tmp/diff_new_pack.Rn3S3G/_old 2024-09-05 15:46:07.865442672 +0200
+++ /var/tmp/diff_new_pack.Rn3S3G/_new 2024-09-05 15:46:07.869442836 +0200
@@ -31,10 +31,13 @@
# - bar.desktop
# :gem_install_args: '....'
# ## used by gem2rpm
-# :pre_install: |-
-# %if 0%{?use_system_libev}
-# export USE_VENDORED_LIBEV="no"
-# %endif
+:pre_install: |-
+ %gem_unpack
+ sed -i 's|\(.*<rexml>.freeze, \)\["~> 3.2.5"|\1\["~> 3.3.0"|'
%{mod_full_name}.gemspec
+ find -type f -print0 | xargs -0 touch -r %{S:0}
+ %gem_build
+ # HACK: %%gem_install uses the gem from %%{_sourcedir} by default, so we
*must* put it back there
+ mv %{mod_full_name}.gem %{_sourcedir}/
# ## used by gem2rpm
# :post_install: |-
# # delete custom files here or do other fancy stuff