Hello community,

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

Package is "golang-packaging"

Sun Nov 15 15:22:39 2020 rev:27 rq:848370 version:15.0.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/golang-packaging/golang-packaging.changes        
2020-06-11 14:37:33.372064494 +0200
+++ 
/work/SRC/openSUSE:Factory/.golang-packaging.new.24930/golang-packaging.changes 
    2020-11-15 15:24:24.647324252 +0100
@@ -1,0 +2,14 @@
+Fri Nov 13 15:17:44 UTC 2020 - [email protected]
+
+- Update to version 15.0.15:
+  * Only create directories that do not yet exist
+  * filelelist can try to access source_dir independently
+
+-------------------------------------------------------------------
+Wed Nov 11 17:59:12 UTC 2020 - [email protected]
+
+- Update to version 15.0.14:
+  * Ensure to touch $RPM_BUILD_ROOT only in the various install phases
+  * Add support for riscv64
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ golang-packaging.spec ++++++
--- /var/tmp/diff_new_pack.sG2PXh/_old  2020-11-15 15:24:25.611325283 +0100
+++ /var/tmp/diff_new_pack.sG2PXh/_new  2020-11-15 15:24:25.615325288 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           golang-packaging
-Version:        15.0.13
+Version:        15.0.15
 Release:        0
 Summary:        A toolchain to help packaging golang
 License:        GPL-3.0-only

++++++ _service ++++++
--- /var/tmp/diff_new_pack.sG2PXh/_old  2020-11-15 15:24:25.647325322 +0100
+++ /var/tmp/diff_new_pack.sG2PXh/_new  2020-11-15 15:24:25.647325322 +0100
@@ -5,7 +5,7 @@
     <param name="filename">golang-packaging</param>
     <param name="exclude">.git</param>
     <param name="versionformat">@PARENT_TAG@</param>
-    <param name="revision">v15.0.13</param>
+    <param name="revision">v15.0.15</param>
     <param name="changesgenerate">enable</param>
     <param name="versionrewrite-pattern">v(.*)</param>
   </service>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.sG2PXh/_old  2020-11-15 15:24:25.671325348 +0100
+++ /var/tmp/diff_new_pack.sG2PXh/_new  2020-11-15 15:24:25.671325348 +0100
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/openSUSE/golang-packaging</param>
-              <param 
name="changesrevision">5282fde8ea690a38a01b6f274ab7d744808e5b60</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">38e4ce0961fcaaa564cc6b9e68ef1d6602baf18a</param></service></servicedata>
\ No newline at end of file

++++++ golang-packaging-15.0.13.tar.xz -> golang-packaging-15.0.15.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/golang-packaging-15.0.13/golang.sh 
new/golang-packaging-15.0.15/golang.sh
--- old/golang-packaging-15.0.13/golang.sh      2020-05-29 20:02:37.000000000 
+0200
+++ new/golang-packaging-15.0.15/golang.sh      2020-11-13 16:12:42.000000000 
+0100
@@ -112,22 +112,6 @@
 
   echo "Copying deps to $(get_buildcontrib_path)"
   cp -rpT $(get_gocontrib_path)/src $(get_buildcontrib_path)/src
-
-  local contrib_dir=${RPM_BUILD_ROOT}$(get_contrib_path)
-  echo "Creating contrib path ${contrib_dir}"
-  mkdir -p ${contrib_dir}
-
-  local source_dir=${RPM_BUILD_ROOT}$(get_source_path)
-  echo "Creating source path ${source_dir}"
-  mkdir -p ${source_dir}
-
-  local tool_dir=${RPM_BUILD_ROOT}$(get_tool_path)
-  echo "Creating tool path ${tool_dir}"
-  mkdir -p ${tool_dir}
-
-  local binary_dir=${RPM_BUILD_ROOT}$(get_binary_path)
-  echo "Creating binary path ${binary_dir}"
-  mkdir -p ${binary_dir}
 }
 
 process_build() {
@@ -144,7 +128,7 @@
 
   local build_flags="-v -p 4 -x"
   case "$(uname -m)" in
-    ppc64) ;;
+    ppc64|riscv64) ;;
     *) build_flags="$build_flags -buildmode=pie" ;;
   esac
   # Add s flag if go is older than 1.10.
@@ -179,6 +163,24 @@
 process_install() {
   check_import_path
 
+  local contrib_dir=${RPM_BUILD_ROOT}$(get_contrib_path)
+  [ -d ${contrib_dir} ] || (
+  echo "Creating contrib path ${contrib_dir}"
+  mkdir -p ${contrib_dir}
+  )
+
+  local tool_dir=${RPM_BUILD_ROOT}$(get_tool_path)
+  [ -d ${tool_dir} ] || (
+  echo "Creating tool path ${tool_dir}"
+  mkdir -p ${tool_dir}
+  )
+
+  local binary_dir=${RPM_BUILD_ROOT}$(get_binary_path)
+  [ -d ${binary_dir} ] || (
+  echo "Creating binary path ${binary_dir}"
+  mkdir -p ${binary_dir}
+  )
+
   for file in $(find $(get_gobin_path) -type f); do
     echo "Copying $(basename ${file}) to ${RPM_BUILD_ROOT}$(get_binary_path)"
     install -D -m0755 ${file} ${RPM_BUILD_ROOT}$(get_binary_path)
@@ -186,6 +188,12 @@
 }
 
 process_source() {
+  local source_dir=${RPM_BUILD_ROOT}$(get_source_path)
+  [ -d ${source_dir} ] || (
+  echo "Creating source path ${source_dir}"
+  mkdir -p ${source_dir}
+  )
+
   echo "This will copy all *.go, *.s, *.h, BUILD, BUILD.bazel and WORKSPACE 
files in $(get_build_path)/src without resources"
 
   local files=$(find $(get_build_path)/src \
@@ -231,6 +239,12 @@
 
   rm -f ${file_list}
 
+  local source_dir=${RPM_BUILD_ROOT}$(get_source_path)
+  [ -d ${source_dir} ] || (
+  echo "Creating source path ${source_dir}"
+  mkdir -p ${source_dir}
+  )
+
   for path in $(find ${RPM_BUILD_ROOT}$(get_source_path)); do
     local destination=${path#${RPM_BUILD_ROOT}}
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/golang-packaging-15.0.13/macros.go 
new/golang-packaging-15.0.15/macros.go
--- old/golang-packaging-15.0.13/macros.go      2020-05-29 20:02:37.000000000 
+0200
+++ new/golang-packaging-15.0.15/macros.go      2020-11-13 16:12:42.000000000 
+0100
@@ -24,7 +24,7 @@
 %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
 
 %go_exclusivearch \
-ExclusiveArch: aarch64 %ix86 x86_64 %arm ppc64 ppc64le s390x
+ExclusiveArch: aarch64 %ix86 x86_64 %arm ppc64 ppc64le s390x riscv64
 
 %go_provides \
 %if 0%{?suse_version} <= 1110 \
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to