Hello community, here is the log from the commit of package go1.9 for openSUSE:Factory checked in at 2019-10-25 18:38:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go1.9 (Old) and /work/SRC/openSUSE:Factory/.go1.9.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go1.9" Fri Oct 25 18:38:06 2019 rev:9 rq:741611 version:1.9.7 Changes: -------- --- /work/SRC/openSUSE:Factory/go1.9/go1.9.changes 2019-06-27 15:23:09.441170240 +0200 +++ /work/SRC/openSUSE:Factory/.go1.9.new.2990/go1.9.changes 2019-10-25 18:38:07.627670415 +0200 @@ -1,0 +2,6 @@ +Mon Oct 21 17:26:58 UTC 2019 - Stefan BrĂ¼ns <[email protected]> + +- Let RPM evaluate the go_api version compare, drop no longer required bc. +- Own the gdbinit.d directory, avoid the build dependency on gdb. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go1.9.spec ++++++ --- /var/tmp/diff_new_pack.qcbbJ9/_old 2019-10-25 18:38:08.443671183 +0200 +++ /var/tmp/diff_new_pack.qcbbJ9/_new 2019-10-25 18:38:08.447671187 +0200 @@ -59,8 +59,7 @@ %define go_api 1.9 # 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 @@ -139,10 +138,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 @@ -369,6 +365,7 @@ %{_libdir}/go/%{go_api} %{_datadir}/go %{_datadir}/go/%{go_api} +%dir %{_sysconfdir}/gdbinit.d/ %config %{_sysconfdir}/gdbinit.d/go.gdb %ghost %{_sysconfdir}/alternatives/go %ghost %{_sysconfdir}/alternatives/gofmt
