This commit is contained in:
Felix Niederwanger 2025-02-18 20:59:16 +01:00
parent c40efec44f
commit db44996521
Signed by: ph03nix
GPG Key ID: 31860289A704FB3C
10 changed files with 86 additions and 12 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
/goreleaser
/_build*
/goreleaser-*.*.*.tar.gz

View File

@ -1,9 +0,0 @@
MIT License
Copyright (c) 2025 ph03nix
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,3 +0,0 @@
# goreleaser
Release engineering, simplified

17
_service Normal file
View File

@ -0,0 +1,17 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/goreleaser/goreleaser.git</param>
<param name="scm">git</param>
<param name="revision">main</param>
<param name="version">v2.7.0</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual"/>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="go_modules" mode="manual"/>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/goreleaser/goreleaser.git</param>
<param name="changesrevision">58a3aec7995a4ab56696133a5a44edc1e588c20b</param></service></servicedata>

BIN
goreleaser-2.7.0.obscpio Normal file

Binary file not shown.

4
goreleaser.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Feb 18 19:24:57 UTC 2025 - Felix Niederwanger <felix.niederwanger@suse.de>
- Kickoff with version 2.7.0

4
goreleaser.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: goreleaser
version: 2.7.0
mtime: 1739867581
commit: 58a3aec7995a4ab56696133a5a44edc1e588c20b

54
goreleaser.spec Normal file
View File

@ -0,0 +1,54 @@
#
# spec file for package goreleaser
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: goreleaser
Version: 2.7.0
Release: 0
Summary: Go release engineering tool
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License: MIT
URL: https://goreleaser.com/
Source: goreleaser-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: golang(API) >= 1.24
%description
goreleaser is a modern buildsystem for golang.
%prep
%autosetup -D -a 1
%build
%ifnarch ppc64
export GOFLAGS="-buildmode=pie"
%endif
go build
%install
install -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
%check
# Tests are currently broken because they require network.
#go test ./...
%files
%doc README.md
%license LICENSE.md
%{_bindir}/%{name}
%changelog

BIN
vendor.tar.gz Normal file

Binary file not shown.