Compare commits

2 Commits

View File

@@ -61,7 +61,7 @@ BuildRequires: golang(API)
BuildRequires: golang-packaging
%endif
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150600
%if 0%{?suse_version} >= 1650 || 0%{?sle_version} >= 150700
# Go source packages are horribly broken on Leap (mismatching compiler versions between libraries and toolchain)
BuildRequires: golang-org-x-sys
%endif
@@ -77,7 +77,7 @@ Used by electron-builder but applicable not only for building Electron applicati
%prep
%autosetup -a1 -n app-builder-5.0.0-alpha.11
# remove bundled dependencies
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150700 || 0%{?fedora}
%if 0%{?suse_version} >= 1650 || 0%{?sle_version} >= 150700 || 0%{?fedora}
rm -rf vendor/golang.org/x/sys
%endif