SHA256
1
0
forked from pool/glab

Accepting request 1163800 from home:computersalat:devel:scm

fix deps

OBS-URL: https://build.opensuse.org/request/show/1163800
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/glab?expand=0&rev=45
This commit is contained in:
Johannes Kastl 2024-04-03 17:50:36 +00:00 committed by Git OBS Bridge
parent d1706a9d7b
commit 9691449b99
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Mar 31 18:28:24 UTC 2024 - chris@computersalat.de
- fix deps
* BuildRequires: golang-packaging
is not available for RedHat & Co
* build: upgrade go version from 1.19 to 1.21
https://gitlab.com/gitlab-org/cli/-/releases
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 08 16:53:10 UTC 2024 - opensuse_buildservice@ojkastl.de Fri Mar 08 16:53:10 UTC 2024 - opensuse_buildservice@ojkastl.de

View File

@ -28,11 +28,11 @@ Group: Development/Tools/Other
URL: https://gitlab.com/gitlab-org/cli URL: https://gitlab.com/gitlab-org/cli
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz Source1: vendor.tar.gz
BuildRequires: golang-packaging
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?almalinux_version} || 0%{?rocky_version} %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?almalinux_version} || 0%{?rocky_version}
BuildRequires: golang >= 1.19 BuildRequires: golang >= 1.21
%else %else
BuildRequires: golang(API) >= 1.19 BuildRequires: golang-packaging
BuildRequires: golang(API) >= 1.21
%endif %endif
Suggests: glab-doc Suggests: glab-doc