From c48a48ad387f0614f1f8ac67be9ce7208bb00797cd74693cb9ae6eb0440d935e Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Tue, 14 Nov 2023 05:55:23 +0000 Subject: [PATCH] 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 --- glab.changes | 7 +++++++ glab.spec | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/glab.changes b/glab.changes index 25953b8..f977b8b 100644 --- a/glab.changes +++ b/glab.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Nov 10 09:33:35 UTC 2023 - Johannes Kastl + +- 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 diff --git a/glab.spec b/glab.spec index 74c28fc..2f5c9c2 100644 --- a/glab.spec +++ b/glab.spec @@ -29,7 +29,11 @@ URL: https://gitlab.com/gitlab-org/cli Source0: %{name}-%{version}.tar.gz Source1: vendor.tar.gz 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 %description