Accepting request 749020 from home:jfkw:branches:devel:languages:go

- Update to version 15.0.12:
  * Drop ppc64-nopie.patch
  * golang.sh: integrate ppc64-nopie.patch -buildmode=pie only on ppc64
  * golang.sh: avoid excessive "rpm --eval..." calls
  * Install Bazel files in src directory
  * Replace rpmdev-vercmp by "sort -V" to remove rpmdev-vercmp dependency
  * Remove s build flag no longer supported in go 1.10 boo#776058
  * Packaging: improve _service tar_scm declarations add _servicedata

  the spec file.

OBS-URL: https://build.opensuse.org/request/show/749020
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/golang-packaging?expand=0&rev=66
This commit is contained in:
Jeff Kowalczyk 2019-11-16 06:42:21 +00:00 committed by Git OBS Bridge
parent cb4dd2324d
commit 75ea2a65a0
7 changed files with 27 additions and 27 deletions

View File

@ -4,9 +4,10 @@
<param name="scm">git</param>
<param name="filename">golang-packaging</param>
<param name="exclude">.git</param>
<param name="versionformat">15.0.11</param>
<param name="revision">v15.0.11</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">v15.0.12</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/golang-packaging</param>
<param name="changesrevision">7898ac7e21212888bd3a2ba014871bb4b48e5c0b</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1a16e0ed3a809cd8a8e98d1d4a42cd571c043c4909f5060bdda8b49d882d79b6
size 16444

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eff4ca70bfb986ea057bedcf27fbbc212303fd6e862b1d3a65cd97436e9e398a
size 16648

View File

@ -1,9 +1,21 @@
-------------------------------------------------------------------
Sat Nov 16 05:45:43 UTC 2019 - jkowalczyk@suse.com
- Update to version 15.0.12:
* Drop ppc64-nopie.patch
* golang.sh: integrate ppc64-nopie.patch -buildmode=pie only on ppc64
* golang.sh: avoid excessive "rpm --eval..." calls
* Install Bazel files in src directory
* Replace rpmdev-vercmp by "sort -V" to remove rpmdev-vercmp dependency
* Remove s build flag no longer supported in go 1.10 boo#776058
* Packaging: improve _service tar_scm declarations add _servicedata
-------------------------------------------------------------------
Wed Jun 13 11:02:18 UTC 2018 - jmassaguerpla@suse.com
- 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.
the spec file.
-------------------------------------------------------------------
Tue Jun 12 18:40:23 UTC 2018 - msuchanek@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package golang-packaging
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LLC.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,19 +12,18 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: golang-packaging
Version: 15.0.11
Version: 15.0.12
Release: 0
Summary: A toolchain to help packaging golang
License: GPL-3.0-only
Group: Development/Languages/Golang
Url: https://github.com/openSUSE/%{name}
URL: https://github.com/openSUSE/%{name}
Source: %{name}-%{version}.tar.xz
Patch: ppc64-nopie.patch
BuildRequires: rpm
BuildRequires: xz
@ -37,7 +36,6 @@ A toolchain to help packaging golang, written in bash.
%prep
%setup -q
%patch -p1
%build

View File

@ -1,15 +0,0 @@
--- 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