diff --git a/suseconnect-ng.spec b/suseconnect-ng.spec index 6fc7fcd..3905682 100644 --- a/suseconnect-ng.spec +++ b/suseconnect-ng.spec @@ -35,13 +35,12 @@ Source1: %name-rpmlintrc # Build against latest golang in Tumbleweed and # go1.18-openssl on all other distributions -%if 0%{?suse_version} >= 1600 +%if 0%{?suse_version} > 1600 BuildRequires: golang(API) %else BuildRequires: go1.18-openssl %endif -BuildRequires: golang-packaging BuildRequires: ruby-devel BuildRequires: zypper