Hello community,

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

Package is "golang-packaging"

Fri Jun 22 13:15:33 2018 rev:24 rq:616520 version:15.0.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/golang-packaging/golang-packaging.changes        
2018-06-02 11:56:33.310301985 +0200
+++ /work/SRC/openSUSE:Factory/.golang-packaging.new/golang-packaging.changes   
2018-06-22 13:15:37.786489228 +0200
@@ -1,0 +2,19 @@
+Wed Jun 13 11:02:18 UTC 2018 - [email protected]
+
+- We don't need to require rpmdev, because we updated to 15.0.11
+  to remove that requirement. I missed to remove the req from
+  the spec file. 
+
+-------------------------------------------------------------------
+Tue Jun 12 18:40:23 UTC 2018 - [email protected]
+
+- fix ppc64 (be) build. No pie baking support there.
+  + ppc64-nopie.patch
+
+-------------------------------------------------------------------
+Mon Jun 11 15:28:42 UTC 2018 - [email protected]
+
+- Update to version 15.0.11:
+  * Replace rpmdev-vercmp by "sort -V" to remove rpmdev-vercmp dependency
+
+-------------------------------------------------------------------

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

New:
----
  golang-packaging-15.0.11.tar.xz
  ppc64-nopie.patch

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

Other differences:
------------------
++++++ golang-packaging.spec ++++++
--- /var/tmp/diff_new_pack.9pOtY8/_old  2018-06-22 13:15:39.858412398 +0200
+++ /var/tmp/diff_new_pack.9pOtY8/_new  2018-06-22 13:15:39.902410767 +0200
@@ -17,18 +17,18 @@
 
 
 Name:           golang-packaging
-Version:        15.0.10
+Version:        15.0.11
 Release:        0
 Summary:        A toolchain to help packaging golang
 License:        GPL-3.0-only
 Group:          Development/Languages/Golang
 Url:            https://github.com/openSUSE/%{name}
 Source:         %{name}-%{version}.tar.xz
+Patch:          ppc64-nopie.patch
 
 BuildRequires:  rpm
 BuildRequires:  xz
 Requires:       go
-Requires:       rpmdevtools
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
@@ -37,6 +37,7 @@
 
 %prep
 %setup -q
+%patch -p1
 
 %build
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.9pOtY8/_old  2018-06-22 13:15:40.290396380 +0200
+++ /var/tmp/diff_new_pack.9pOtY8/_new  2018-06-22 13:15:40.318395342 +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.10</param>
-    <param name="revision">v15.0.10</param>
+    <param name="versionformat">15.0.11</param>
+    <param name="revision">v15.0.11</param>
     <param name="changesgenerate">enable</param>
   </service>
   <service name="recompress" mode="disabled">

++++++ golang-packaging-15.0.10.tar.xz -> golang-packaging-15.0.11.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/golang-packaging-15.0.10/golang.sh 
new/golang-packaging-15.0.11/golang.sh
--- old/golang-packaging-15.0.10/golang.sh      2018-05-31 17:23:12.000000000 
+0200
+++ new/golang-packaging-15.0.11/golang.sh      2018-06-11 16:17:13.000000000 
+0200
@@ -11,8 +11,7 @@
 #   version_lt 1.9.3 1.10 && echo "yes"
 # will echo "yes"
 version_lt() {
- rpmdev-vercmp $1 $2 > /dev/null
- [ $? == 12 ] #rpmdev-vercmp returns 12 if the first version is less than the 
second
+  [ $(printf "$1\n$2" | sort -V  | head -n1) == $1 ]
 }
 
 store_buildroot_path() {

++++++ ppc64-nopie.patch ++++++
--- golang-packaging-15.0.11/golang.sh~ 2018-06-11 16:17:13.000000000 +0200
+++ golang-packaging-15.0.11/golang.sh  2018-06-12 20:35:41.617659481 +0200
@@ -139,7 +139,11 @@
     local last=$(($#-1))
   fi
 
-  local build_flags="-v -p 4 -x -buildmode=pie"
+  local build_flags="-v -p 4 -x"
+  case "$(uname -m)" in
+    ppc64) ;;
+    *) build_flags="$build_flags -buildmode=pie" ;;
+  esac
   # Add s flag if go is older than 1.10.
   # s flag is an openSUSE flag to fix
   #  https://bugzilla.suse.com/show_bug.cgi?id=776058

Reply via email to