Hello community,

here is the log from the commit of package rubygem-gem2rpm for openSUSE:Factory 
checked in at 2017-09-15 21:02:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-gem2rpm (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-gem2rpm"

Fri Sep 15 21:02:28 2017 rev:23 rq:523220 version:0.10.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-gem2rpm/rubygem-gem2rpm.changes  
2016-11-20 18:17:14.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-gem2rpm.new/rubygem-gem2rpm.changes     
2017-09-15 21:02:30.793764878 +0200
@@ -1,0 +2,5 @@
+Wed Aug  9 10:09:18 UTC 2017 - [email protected]
+
+- add ruby 2.5 support
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ rubygem-gem2rpm.spec ++++++
--- /var/tmp/diff_new_pack.nGcODz/_old  2017-09-15 21:02:32.137576243 +0200
+++ /var/tmp/diff_new_pack.nGcODz/_new  2017-09-15 21:02:32.149574558 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-gem2rpm
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,7 @@
 %bcond_with     ruby22
 %bcond_with     ruby23
 %bcond_with     ruby24
+%bcond_with     ruby25
 %bcond_with     rubinius25
 
 Name:           rubygem-gem2rpm
@@ -74,6 +75,7 @@
 Patch24:        0024-add-ability-to-provide-alternative-main-Source.patch
 Patch25:        0025-allow-running-commands-after-patching.patch
 Patch26:        0026-use-https-instead-of-http-for-rubygems.org.patch
+# Patch27:        enhances.patch
 Summary:        Generate rpm specfiles from gems
 License:        GPL-2.0+
 Group:          Development/Languages/Ruby
@@ -111,6 +113,7 @@
 %patch24 -p1
 %patch25 -p1
 %patch26 -p1
+#patch27 -p1
 %build
 %gem_build
 
@@ -513,6 +516,62 @@
 %doc %{_libdir}/ruby/gems/2.4.0/doc/gem2rpm-%{version}
 %endif
 
+%if %{with ruby25}
+%package -n ruby2.5-rubygem-gem2rpm
+Summary:        Generate rpm specfiles from gems
+Group:          Development/Languages/Ruby
+PreReq:         update-alternatives
+
+%description -n ruby2.5-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 ruby2.5-rubygem-gem2rpm-doc
+Summary:        RDoc documentation for %{mod_name}
+Group:          Development/Languages/Ruby
+Requires:       ruby2.5-rubygem-gem2rpm = %{version}
+
+%description -n ruby2.5-rubygem-gem2rpm-doc
+Documentation generated at gem installation time.
+Usually in RDoc and RI formats.
+
+
+%post -n ruby2.5-rubygem-gem2rpm
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/gem2rpm         gem2rpm         
%{_bindir}/gem2rpm.ruby2.5-%{version} %{mod_weight}
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/gem2rpm-%{version}   gem2rpm-%{version}   
%{_bindir}/gem2rpm.ruby2.5-%{version} %{mod_weight}
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/gem2rpm.ruby2.5 gem2rpm.ruby2.5 
%{_bindir}/gem2rpm.ruby2.5-%{version} %{mod_weight}
+
+%preun -n ruby2.5-rubygem-gem2rpm
+if [ "$1" = 0 ] ; then
+    /usr/sbin/update-alternatives --remove gem2rpm          
%{_bindir}/gem2rpm.ruby2.5-%{version}
+    /usr/sbin/update-alternatives --remove gem2rpm-%{version}    
%{_bindir}/gem2rpm.ruby2.5-%{version}
+    /usr/sbin/update-alternatives --remove gem2rpm.ruby2.5  
%{_bindir}/gem2rpm.ruby2.5-%{version}
+fi
+
+%files -n ruby2.5-rubygem-gem2rpm
+%defattr(-,root,root,-)
+%{_docdir}/ruby2.5-rubygem-gem2rpm
+#{_bindir}/gem2rpm-opensuse
+%{_bindir}/gem2rpm.ruby2.5-%{version}
+%ghost %{_bindir}/gem2rpm.ruby2.5
+%ghost %{_bindir}/gem2rpm-%{version}
+%ghost %{_bindir}/gem2rpm
+%ghost %{_sysconfdir}/alternatives/gem2rpm
+%ghost %{_sysconfdir}/alternatives/gem2rpm.ruby2.5
+%ghost %{_sysconfdir}/alternatives/gem2rpm-%{version}
+# cache file
+%{_libdir}/ruby/gems/2.5.0/cache/gem2rpm-%{version}.gem
+%{_libdir}/ruby/gems/2.5.0/gems/gem2rpm-%{version}
+%{_libdir}/ruby/gems/2.5.0/specifications/gem2rpm-%{version}.gemspec
+
+%files -n ruby2.5-rubygem-gem2rpm-doc
+%defattr(-,root,root,-)
+%doc %{_libdir}/ruby/gems/2.5.0/doc/gem2rpm-%{version}
+%endif
+
 %if %{with rubinius25}
 %package -n rbx2.5-rubygem-gem2rpm
 # MANUAL


Reply via email to