Accepting request 1125606 from home:ojkastl_buildservice:Branch_devel_tools_scm

adapt BuildRequires to allow building on Fedora/RHEL/CentOS/Almalinux/RockyLinux

OBS-URL: https://build.opensuse.org/request/show/1125606
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/glab?expand=0&rev=39
This commit is contained in:
Johannes Kastl 2023-11-14 05:55:23 +00:00 committed by Git OBS Bridge
parent bdd3f838cd
commit c48a48ad38
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Nov 10 09:33:35 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- adapt BuildRequires to allow building on
Fedora/RHEL/CentOS/Almalinux/RockyLinux
- BuildRequire go1.19 on openSUSE
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 07 07:37:25 UTC 2023 - kastl@b1-systems.de Tue Nov 07 07:37:25 UTC 2023 - kastl@b1-systems.de

View File

@ -29,7 +29,11 @@ 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 BuildRequires: golang-packaging
BuildRequires: golang(API) >= 1.18 %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?almalinux_version} || 0%{?rocky_version}
BuildRequires: golang >= 1.19
%else
BuildRequires: golang(API) >= 1.19
%endif
Suggests: glab-doc Suggests: glab-doc
%description %description