Accepting request 616520 from devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/616520 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-packaging?expand=0&rev=24
This commit is contained in:
commit
fc4e19a0c1
4
_service
4
_service
@ -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">
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:14964961feb384becc2942b43999a09ded930bae620ceb082413c0e1192ee49a
|
||||
size 16452
|
3
golang-packaging-15.0.11.tar.xz
Normal file
3
golang-packaging-15.0.11.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1a16e0ed3a809cd8a8e98d1d4a42cd571c043c4909f5060bdda8b49d882d79b6
|
||||
size 16444
|
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 12 18:40:23 UTC 2018 - msuchanek@suse.com
|
||||
|
||||
- fix ppc64 (be) build. No pie baking support there.
|
||||
+ ppc64-nopie.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 11 15:28:42 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 15.0.11:
|
||||
* Replace rpmdev-vercmp by "sort -V" to remove rpmdev-vercmp dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 31 15:24:50 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
|
@ -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 @@ A toolchain to help packaging golang, written in bash.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
|
||||
|
15
ppc64-nopie.patch
Normal file
15
ppc64-nopie.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- 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
|
Loading…
x
Reference in New Issue
Block a user