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

- Update to version 15.0.16:
  * Update CHANGELOG file
  * Don't throw an error on prep if  does not exist.
  * Enable -buildmode=pie on riscv64

- Replace %doc COPYING conditional for 0%{?suse_version} < 1500.
  Use only %license COPYING as per rpmlint, with no conditional.

- Fixed if statement in spec file.

OBS-URL: https://build.opensuse.org/request/show/950343
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/golang-packaging?expand=0&rev=73
This commit is contained in:
Jeff Kowalczyk 2022-02-01 06:16:09 +00:00 committed by Git OBS Bridge
parent 835ead334e
commit 23c90a7ac9
6 changed files with 27 additions and 12 deletions

View File

@ -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.15</param>
<param name="revision">v15.0.16</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/golang-packaging</param>
<param name="changesrevision">38e4ce0961fcaaa564cc6b9e68ef1d6602baf18a</param></service></servicedata>
<param name="changesrevision">8ef5013b774130cb0855932a56237e8e0b0d7706</param></service></servicedata>

View File

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

View File

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

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Tue Feb 01 05:39:58 UTC 2022 - jkowalczyk@suse.com
- Update to version 15.0.16:
* Update CHANGELOG file
* Don't throw an error on prep if does not exist.
* Enable -buildmode=pie on riscv64
-------------------------------------------------------------------
Tue Feb 1 05:21:14 UTC 2022 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Replace %doc COPYING conditional for 0%{?suse_version} < 1500.
Use only %license COPYING as per rpmlint, with no conditional.
-------------------------------------------------------------------
Wed Jan 19 20:50:40 UTC 2022 - Stefan Bluhm <stefan.bluhm@clacee.eu>
- Fixed if statement in spec file.
-------------------------------------------------------------------
Fri Nov 13 15:17:44 UTC 2020 - jkowalczyk@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package golang-packaging
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# 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.15
Version: 15.0.16
Release: 0
Summary: A toolchain to help packaging golang
License: GPL-3.0-only
@ -56,17 +56,13 @@ install -m0644 golang.attr %{buildroot}%{_prefix}/lib/rpm/fileattrs/
%files
%defattr(-,root,root)
%doc README.md CHANGELOG
%if 0%{?suse_version} < 1500
%doc COPYING
%else
%license COPYING
%endif%
%{_prefix}/lib/rpm/golang.prov
%{_prefix}/lib/rpm/golang.req
%{_prefix}/lib/rpm/golang.sh
%config %{_sysconfdir}/rpm/macros.go
%if %{?suse_version} >= 1320
%if 0%{?suse_version} >= 1320
%{_prefix}/lib/rpm/fileattrs/golang.attr
%endif