Hello community, here is the log from the commit of package golang-packaging for openSUSE:Factory checked in at 2017-07-30 11:23:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/golang-packaging (Old) and /work/SRC/openSUSE:Factory/.golang-packaging.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-packaging" Sun Jul 30 11:23:58 2017 rev:20 rq:510328 version:15.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/golang-packaging/golang-packaging.changes 2017-06-09 15:55:47.801309584 +0200 +++ /work/SRC/openSUSE:Factory/.golang-packaging.new/golang-packaging.changes 2017-07-30 11:23:59.646061486 +0200 @@ -1,0 +2,11 @@ +Wed Jun 28 11:55:26 UTC 2017 - th...@suse.de + +- Update to version 15.0.5: + * set correct modifier if no arguments are provided + * Remove duplicates when finding Requires + * fix GOPATH and macros + * Fix Provides and Requires for some builds + * Fix Requires/Provides issue with split packages + * Remove unused variables + +------------------------------------------------------------------- Old: ---- golang-packaging-15.0.4.tar.xz New: ---- golang-packaging-15.0.5.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ golang-packaging.spec ++++++ --- /var/tmp/diff_new_pack.eZcIi0/_old 2017-07-30 11:24:02.589646123 +0200 +++ /var/tmp/diff_new_pack.eZcIi0/_new 2017-07-30 11:24:02.601644429 +0200 @@ -17,7 +17,7 @@ Name: golang-packaging -Version: 15.0.4 +Version: 15.0.5 Release: 0 Summary: A toolchain to help packaging golang License: GPL-3.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.eZcIi0/_old 2017-07-30 11:24:02.669634835 +0200 +++ /var/tmp/diff_new_pack.eZcIi0/_new 2017-07-30 11:24:02.669634835 +0200 @@ -4,8 +4,8 @@ <param name="scm">git</param> <param name="filename">golang-packaging</param> <param name="exclude">.git</param> - <param name="versionformat">15.0.4</param> - <param name="revision">v15.0.4</param> + <param name="versionformat">15.0.5</param> + <param name="revision">v15.0.5</param> <param name="changesgenerate">enable</param> </service> <service name="recompress" mode="disabled"> ++++++ golang-packaging-15.0.4.tar.xz -> golang-packaging-15.0.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/golang-packaging-15.0.4/CHANGELOG new/golang-packaging-15.0.5/CHANGELOG --- old/golang-packaging-15.0.4/CHANGELOG 2017-06-06 17:37:25.000000000 +0200 +++ new/golang-packaging-15.0.5/CHANGELOG 2017-06-28 13:53:39.000000000 +0200 @@ -1,3 +1,8 @@ +== update version 15.0.5 == + + * Fix Requires/Provides issue with split packages + * Remove unused variables + == update version 15.0.4 == * Include go API version in GOPATH and macros diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/golang-packaging-15.0.4/golang.prov new/golang-packaging-15.0.5/golang.prov --- old/golang-packaging-15.0.4/golang.prov 2017-06-06 17:37:25.000000000 +0200 +++ new/golang-packaging-15.0.5/golang.prov 2017-06-28 13:53:39.000000000 +0200 @@ -4,11 +4,21 @@ export RPM_BUILD_ROOT="$(cat /tmp/buildrootpath.txt)" fi -export GOPATH="${RPM_BUILD_ROOT}/usr/share/go/$(rpm --eval %go_api_ver)/contrib:${GOPATH}" +# Exclude the existing contrib directory from GOPATH, otherwise the underlying +# packages may be marked as provided packages which might be incorrect. +tmpgopath= +for entry in $(echo "${GOPATH}" | tr ':' '\n'); do + [[ -z "${entry}" || "${entry}" =~ 'contrib' ]] && continue + if [[ -z "${tmpgopath}" ]]; then + tmpgopath="${entry}" + else + tmpgopath="${tmpgopath}:${entry}" + fi +done +export GOPATH="${RPM_BUILD_ROOT}/usr/share/go/$(rpm --eval %go_api_ver)/contrib:${tmpgopath}" export GO15VENDOREXPERIMENT=1 IMPORT="$(cat /tmp/importpath.txt)" -CHECK="${GOPATH}/src/${IMPORT}" # Read from STDIN to not cause a broken pipe while read INPUT; do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/golang-packaging-15.0.4/golang.req new/golang-packaging-15.0.5/golang.req --- old/golang-packaging-15.0.4/golang.req 2017-06-06 17:37:25.000000000 +0200 +++ new/golang-packaging-15.0.5/golang.req 2017-06-28 13:53:39.000000000 +0200 @@ -4,19 +4,23 @@ export RPM_BUILD_ROOT="$(cat /tmp/buildrootpath.txt)" fi -export GOPATH="${RPM_BUILD_ROOT}/usr/share/go/$(rpm --eval %go_api_ver)/contrib:${GOPATH}" +# Exclude the existing contrib directory from GOPATH, otherwise there might be +# incorrect requirements listed. +tmpgopath= +for entry in $(echo "${GOPATH}" | tr ':' '\n'); do + [[ -z "${entry}" || "${entry}" =~ 'contrib' ]] && continue + if [[ -z "${tmpgopath}" ]]; then + tmpgopath="${entry}" + else + tmpgopath="${tmpgopath}:${entry}" + fi +done +export GOPATH="${RPM_BUILD_ROOT}/usr/share/go/$(rpm --eval %go_api_ver)/contrib:${tmpgopath}" export GO15VENDOREXPERIMENT=1 IMPORT="$(cat /tmp/importpath.txt)" -CHECK="${GOPATH}/src/${IMPORT}" - -# /home/abuild/rpmbuild/BUILDROOT/golang-github-codegangsta-cli-1.17.1+git20160828.599ee69-0.x86_64/usr/share/go/contrib/src/github.com/codegangsta/cli -# /home/abuild/rpmbuild/BUILDROOT/golang-github-codegangsta-cli-1.17.1+git20160828.599ee69-0.x86_64/usr/share/go/contrib/src/github.com/codegangsta/cli/altsrc while read INPUT; do - # if [[ -d ${INPUT} ]] && [[ ${INPUT} == ${CHECK}* ]]; then - # echo "golang(${INPUT#${CHECK}/})" - # fi : done