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