Hello community,

here is the log from the commit of package golang-packaging for 
openSUSE:Factory checked in at 2018-02-15 13:22:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-packaging (Old)
 and      /work/SRC/openSUSE:Factory/.golang-packaging.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "golang-packaging"

Thu Feb 15 13:22:21 2018 rev:22 rq:576767 version:15.0.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/golang-packaging/golang-packaging.changes        
2017-10-02 16:48:30.682327690 +0200
+++ /work/SRC/openSUSE:Factory/.golang-packaging.new/golang-packaging.changes   
2018-02-15 13:22:25.450693680 +0100
@@ -1,0 +2,15 @@
+Mon Feb 12 16:45:42 UTC 2018 - [email protected]
+
+- Update to version 15.0.8:
+  * Fix Requires/Provides issue with split packages
+  * Remove unused variables
+  * Bump version to v15.0.5
+  * *: always use -buildmode=pie
+  * bump version to v15.0.6
+  * fix changelog
+  * golang.sh: Fix arch for aarch64
+  * bump version to v15.0.7
+  * Fix the handling of quoted extra args
+  * Bump version 15.0.8
+
+-------------------------------------------------------------------

Old:
----
  golang-packaging-15.0.7.tar.xz

New:
----
  golang-packaging-15.0.8.tar.xz

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

Other differences:
------------------
++++++ golang-packaging.spec ++++++
--- /var/tmp/diff_new_pack.cXMDez/_old  2018-02-15 13:22:25.982674353 +0100
+++ /var/tmp/diff_new_pack.cXMDez/_new  2018-02-15 13:22:25.986674209 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package golang-packaging
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -17,7 +17,7 @@
 
 
 Name:           golang-packaging
-Version:        15.0.7
+Version:        15.0.8
 Release:        0
 Summary:        A toolchain to help packaging golang
 License:        GPL-3.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.cXMDez/_old  2018-02-15 13:22:26.014673192 +0100
+++ /var/tmp/diff_new_pack.cXMDez/_new  2018-02-15 13:22:26.014673192 +0100
@@ -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.7</param>
-    <param name="revision">v15.0.7</param>
+    <param name="versionformat">15.0.8</param>
+    <param name="revision">v15.0.8</param>
     <param name="changesgenerate">enable</param>
   </service>
   <service name="recompress" mode="disabled">

++++++ golang-packaging-15.0.7.tar.xz -> golang-packaging-15.0.8.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/golang-packaging-15.0.7/CHANGELOG 
new/golang-packaging-15.0.8/CHANGELOG
--- old/golang-packaging-15.0.7/CHANGELOG       2017-08-30 09:55:20.000000000 
+0200
+++ new/golang-packaging-15.0.8/CHANGELOG       2018-02-12 17:38:45.000000000 
+0100
@@ -1,3 +1,7 @@
+== update version 15.0.8 ==
+
+  * Fix the handling of quoted extra args to the gobuild and gotest macros.
+
 == update version 15.0.7 ==
 
   * golang.sh: Fix arch for aarch64
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/golang-packaging-15.0.7/golang.sh 
new/golang-packaging-15.0.8/golang.sh
--- old/golang-packaging-15.0.7/golang.sh       2017-08-30 09:55:20.000000000 
+0200
+++ new/golang-packaging-15.0.8/golang.sh       2018-02-12 17:38:45.000000000 
+0100
@@ -128,20 +128,22 @@
   fi
 
   local build_flags="-s -v -p 4 -x -buildmode=pie"
-  local extra_flags="${@:1:$last}"
+  local extra_flags=(
+    "${@:1:$last}"
+  )
 
   case "${modifier}" in
   "...")
     GOPATH=$(get_build_path):$(get_buildcontrib_path) GOBIN=$(get_gobin_path) 
go \
-      install ${build_flags} ${extra_flags} $(get_import_path)...
+      install ${build_flags} "${extra_flags[@]}" $(get_import_path)...
     ;;
   "")
     GOPATH=$(get_build_path):$(get_buildcontrib_path) GOBIN=$(get_gobin_path) 
go \
-      install ${build_flags} ${extra_flags} $(get_import_path)
+      install ${build_flags} "${extra_flags[@]}" $(get_import_path)
     ;;
   *)
     GOPATH=$(get_build_path):$(get_buildcontrib_path) GOBIN=$(get_gobin_path) 
go \
-      install ${build_flags} ${extra_flags} $(get_import_path)/${modifier}
+      install ${build_flags} "${extra_flags[@]}" $(get_import_path)/${modifier}
     ;;
   esac
 }
@@ -194,10 +196,12 @@
     local last=$(($#-1))
   fi
 
-  local extra_flags="${@:1:$last}"
+  local extra_flags=(
+    "${@:1:$last}"
+  )
 
   GOPATH=$(get_build_path):$(get_buildcontrib_path) GOBIN=$(get_gobin_path) go 
\
-    test ${extra_flags} -x ${modifier}
+    test "${extra_flags[@]}" -x ${modifier}
 }
 
 process_filelist() {
@@ -225,28 +229,28 @@
 
   case "${action}" in
   "--arch"|"arch")
-    process_arch ${@:2}
+    process_arch "${@:2}"
     ;;
   "--prep"|"prep")
-    process_prepare ${@:2}
+    process_prepare "${@:2}"
     ;;
   "--build"|"build")
-    process_build ${@:2}
+    process_build "${@:2}"
     ;;
   "--install"|"install")
-    process_install ${@:2}
+    process_install "${@:2}"
     ;;
   "--source"|"source")
-    process_source ${@:2}
+    process_source "${@:2}"
     ;;
   "--test"|"test")
-    process_test ${@:2}
+    process_test "${@:2}"
     ;;
   "--filelist"|"filelist")
-    process_filelist ${@:2}
+    process_filelist "${@:2}"
     ;;
   "--godoc"|"godoc")
-    process_godoc ${@:2}
+    process_godoc "${@:2}"
     ;;
   *)
     echo "Please specify a valid method: arch, prep, build, install, source, 
test, filelist, godoc" >&2
@@ -254,4 +258,4 @@
   esac
 }
 
-main $@
+main "$@"


Reply via email to