Hello community,
here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory
checked in at 2020-10-08 13:08:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old)
and /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-gem2rpm"
Thu Oct 8 13:08:25 2020 rev:28 rq:839453 version:0.10.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes
2019-07-02 10:49:34.323611142 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new.4249/rubygem-gem2rpm.changes
2020-10-08 13:09:37.207033148 +0200
@@ -1,0 +2,5 @@
+Mon Sep 28 00:25:24 UTC 2020 - Marcus Rueckert <[email protected]>
+
+- added support for 3.0.0
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-gem2rpm.spec ++++++
--- /var/tmp/diff_new_pack.ZfrHWH/_old 2020-10-08 13:09:38.383034213 +0200
+++ /var/tmp/diff_new_pack.ZfrHWH/_new 2020-10-08 13:09:38.387034216 +0200
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-gem2rpm
#
-# 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
@@ -31,6 +31,7 @@
%bcond_with ruby25
%bcond_with ruby26
%bcond_with ruby27
+%bcond_with ruby30
%bcond_with rubinius25
Name: rubygem-gem2rpm
@@ -733,6 +734,65 @@
%endif
%endif
+%if %{with ruby30}
+%package -n ruby3.0-rubygem-gem2rpm
+Summary: Generate rpm specfiles from gems
+Group: Development/Languages/Ruby
+Requires(post): update-alternatives
+Requires(preun): update-alternatives
+
+%description -n ruby3.0-rubygem-gem2rpm
+Generate source rpms and rpm spec files from a Ruby Gem.
+The spec file tries to follow the gem as closely as possible
+
+%package -n ruby3.0-rubygem-gem2rpm-doc
+Summary: RDoc documentation for %{mod_name}
+Group: Development/Languages/Ruby
+Requires: ruby3.0-rubygem-gem2rpm = %{version}
+
+%description -n ruby3.0-rubygem-gem2rpm-doc
+Documentation generated at gem installation time.
+Usually in RDoc and RI formats.
+
+
+%post -n ruby3.0-rubygem-gem2rpm
+/usr/sbin/update-alternatives --install \
+ %{_bindir}/gem2rpm gem2rpm
%{_bindir}/gem2rpm.ruby3.0-%{version} %{mod_weight}
+/usr/sbin/update-alternatives --install \
+ %{_bindir}/gem2rpm-%{version} gem2rpm-%{version}
%{_bindir}/gem2rpm.ruby3.0-%{version} %{mod_weight}
+/usr/sbin/update-alternatives --install \
+ %{_bindir}/gem2rpm.ruby3.0 gem2rpm.ruby3.0
%{_bindir}/gem2rpm.ruby3.0-%{version} %{mod_weight}
+
+%preun -n ruby3.0-rubygem-gem2rpm
+if [ "$1" = 0 ] ; then
+ /usr/sbin/update-alternatives --remove gem2rpm
%{_bindir}/gem2rpm.ruby3.0-%{version}
+ /usr/sbin/update-alternatives --remove gem2rpm-%{version}
%{_bindir}/gem2rpm.ruby3.0-%{version}
+ /usr/sbin/update-alternatives --remove gem2rpm.ruby3.0
%{_bindir}/gem2rpm.ruby3.0-%{version}
+fi
+
+%files -n ruby3.0-rubygem-gem2rpm
+%defattr(-,root,root,-)
+%{_docdir}/ruby3.0-rubygem-gem2rpm
+#{_bindir}/gem2rpm-opensuse
+%{_bindir}/gem2rpm.ruby3.0-%{version}
+%ghost %{_bindir}/gem2rpm.ruby3.0
+%ghost %{_bindir}/gem2rpm-%{version}
+%ghost %{_bindir}/gem2rpm
+%ghost %{_sysconfdir}/alternatives/gem2rpm
+%ghost %{_sysconfdir}/alternatives/gem2rpm.ruby3.0
+%ghost %{_sysconfdir}/alternatives/gem2rpm-%{version}
+# cache file
+%{_libdir}/ruby/gems/3.0.0/cache/gem2rpm-%{version}.gem
+%{_libdir}/ruby/gems/3.0.0/gems/gem2rpm-%{version}
+%{_libdir}/ruby/gems/3.0.0/specifications/gem2rpm-%{version}.gemspec
+
+%if %{with docs}
+%files -n ruby3.0-rubygem-gem2rpm-doc
+%defattr(-,root,root,-)
+%doc %{_libdir}/ruby/gems/3.0.0/doc/gem2rpm-%{version}
+%endif
+%endif
+
%if %{with rubinius25}
%package -n rbx2.5-rubygem-gem2rpm
# MANUAL