Hello community, here is the log from the commit of package go1.11 for openSUSE:Factory checked in at 2019-10-25 18:38:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go1.11 (Old) and /work/SRC/openSUSE:Factory/.go1.11.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go1.11" Fri Oct 25 18:38:00 2019 rev:16 rq:741610 version:1.11.13 Changes: -------- --- /work/SRC/openSUSE:Factory/go1.11/go1.11.changes 2019-08-22 10:51:18.413708465 +0200 +++ /work/SRC/openSUSE:Factory/.go1.11.new.2990/go1.11.changes 2019-10-25 18:38:01.835664962 +0200 @@ -1,0 +2,7 @@ +Mon Oct 21 17:28:27 UTC 2019 - Stefan BrĂ¼ns <[email protected]> + +- Fix broken go_api evaluation (1.11 < 1.5, when evaluated as floats), + let RPM evaluate the expression, drop no longer required bc. +- Own the gdbinit.d directory, avoid the build dependency on gdb. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go1.11.spec ++++++ --- /var/tmp/diff_new_pack.EWDk51/_old 2019-10-25 18:38:03.127666178 +0200 +++ /var/tmp/diff_new_pack.EWDk51/_new 2019-10-25 18:38:03.135666186 +0200 @@ -63,8 +63,7 @@ %define go_api 1.11 # shared library support -%define shared_supported %(echo "%{go_api} >= 1.5" | bc -l) -%if %{shared_supported} +%if "%{rpm_vercmp %{go_api} 1.5}" > "0" %if %{with_gccgo} %define with_shared 1 %else @@ -133,10 +132,7 @@ BuildRequires: gcc-c++ %endif #BNC#818502 debug edit tool of rpm fails on i586 builds -BuildRequires: bc BuildRequires: rpm >= 4.11.1 -# for go.gdbinit, directory ownership -BuildRequires: gdb Requires(post): update-alternatives Requires(postun): update-alternatives Requires: gcc @@ -357,6 +353,7 @@ %{_libdir}/go/%{go_api} %dir %{_datadir}/go %{_datadir}/go/%{go_api} +%dir %{_sysconfdir}/gdbinit.d/ %config %{_sysconfdir}/gdbinit.d/go.gdb %ghost %{_sysconfdir}/alternatives/go %ghost %{_sysconfdir}/alternatives/gofmt
