Hello community, here is the log from the commit of package SUSEConnect for openSUSE:Factory checked in at 2019-02-08 12:02:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/SUSEConnect (Old) and /work/SRC/openSUSE:Factory/.SUSEConnect.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "SUSEConnect" Fri Feb 8 12:02:20 2019 rev:17 rq:671895 version:0.3.16 Changes: -------- --- /work/SRC/openSUSE:Factory/SUSEConnect/SUSEConnect.changes 2018-12-10 12:23:19.826826865 +0100 +++ /work/SRC/openSUSE:Factory/.SUSEConnect.new.28833/SUSEConnect.changes 2019-02-08 12:02:26.969724280 +0100 @@ -1,0 +2,9 @@ +Tue Feb 5 07:12:31 UTC 2019 - Stephan Kulow <[email protected]> + +- Replace --no-ri --no-rdoc with --no-document - these options + are obsolete since at least ruby 2.1 - and finally removed in + ruby 2.6 +- Only overwrite --bindir on fedora, it will overwrite --buildroot + (which needs to be combined on newer fedoras) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ SUSEConnect.spec ++++++ --- /var/tmp/diff_new_pack.risUoN/_old 2019-02-08 12:02:28.137723748 +0100 +++ /var/tmp/diff_new_pack.risUoN/_new 2019-02-08 12:02:28.137723748 +0100 @@ -64,10 +64,16 @@ %define ruby_version ruby2.5 %global gem_base /usr/share/gems %global debug_package %{nil} +%if 0%{?fedora} < 30 +%define gem_install_options --bindir %{_bindir} +%else +%define gem_install_options --bindir %{buildroot}%{_bindir} +%endif BuildRequires: ruby BuildRequires: rubygems %else %define ruby_version %{rb_default_ruby_suffix} +%define gem_install_options %{nil} BuildRequires: %{ruby_version} %endif @@ -100,7 +106,7 @@ %install mkdir -p %{buildroot}%{_sbindir} mkdir -p %{buildroot}%{_bindir} -gem install --verbose --local --build-root=%{buildroot} --no-user-install --bindir %{_bindir} -f --no-ri --no-rdoc ./%{mod_full_name}.gem +gem install --verbose --local --build-root=%{buildroot} --no-user-install -f --no-document %{gem_install_options} ./%{mod_full_name}.gem mv %{buildroot}%{_bindir}/%{name}* %{buildroot}%{_sbindir}/%{name} ln -s %{_sbindir}/%{name} %{buildroot}%{_bindir}/%{name}
