Hello community,

here is the log from the commit of package rubygem-vagrant_cloud for 
openSUSE:Leap:15.2 checked in at 2020-02-13 14:41:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/rubygem-vagrant_cloud (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.rubygem-vagrant_cloud.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-vagrant_cloud"

Thu Feb 13 14:41:12 2020 rev:5 rq:774111 version:2.0.3

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/rubygem-vagrant_cloud/rubygem-vagrant_cloud.changes
    2020-01-30 15:46:54.241290520 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.rubygem-vagrant_cloud.new.26092/rubygem-vagrant_cloud.changes
 2020-02-13 14:41:13.813669589 +0100
@@ -1,0 +2,5 @@
+Wed Feb 12 11:09:45 UTC 2020 - Dan Čermák <[email protected]>
+
+- Unrestrict rest_client version dependency
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-vagrant_cloud.spec ++++++
--- /var/tmp/diff_new_pack.mq59k6/_old  2020-02-13 14:41:14.353669886 +0100
+++ /var/tmp/diff_new_pack.mq59k6/_new  2020-02-13 14:41:14.357669888 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-vagrant_cloud
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,28 +16,26 @@
 #
 
 
+%define mod_name vagrant_cloud
+%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-vagrant_cloud
 Version:        2.0.3
 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
-Url:            https://github.com/hashicorp/vagrant_cloud
-Source:         https://rubygems.org/gems/%{mod_full_name}.gem
-Source1:        gem2rpm.yml
 Summary:        Ruby library for the HashiCorp Vagrant Cloud API
 License:        MIT
 Group:          Development/Languages/Ruby
+URL:            https://github.com/hashicorp/vagrant_cloud
+Source:         https://rubygems.org/gems/%{mod_full_name}.gem
+Source1:        gem2rpm.yml
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{ruby}
+BuildRequires:  ruby-macros >= 5
 
 %description
 Ruby library for the HashiCorp Vagrant Cloud API.
@@ -47,6 +45,14 @@
 %build
 
 %install
+# MANUAL
+%gem_unpack
+sed -i 's|\(.*<rest-client>.freeze, \)\["~> 2.0.2"\]|\1\["~> 2.0"\]|' 
%{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.mq59k6/_old  2020-02-13 14:41:14.409669917 +0100
+++ /var/tmp/diff_new_pack.mq59k6/_new  2020-02-13 14:41:14.409669917 +0100
@@ -30,7 +30,13 @@
 # - bar.desktop
 # :gem_install_args: '....'
 # ## used by gem2rpm
-# :pre_install: |-
+:pre_install: |-
+  %gem_unpack
+  sed -i 's|\(.*<rest-client>.freeze, \)\["~> 2.0.2"\]|\1\["~> 2.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}/
 #   %if 0%{?use_system_libev}
 #   export USE_VENDORED_LIBEV="no"
 #   %endif


Reply via email to