Skip to content

Commit

Permalink
golang: ping golang < 1.23 to package that do not build with latest go
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Falak R Wani <[email protected]>
  • Loading branch information
mfrw committed Oct 28, 2024
1 parent 6604ad7 commit 7372623
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion SPECS/containerd/containerd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Patch3: CVE-2023-47108.patch
%{?systemd_requires}

BuildRequires: git
BuildRequires: golang <= 1.22.99
BuildRequires: golang < 1.23
BuildRequires: go-md2man
BuildRequires: make
BuildRequires: systemd-rpm-macros
Expand Down
2 changes: 1 addition & 1 deletion SPECS/gh/gh.spec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Source0: https://github.com/cli/cli/archive/refs/tags/v%{version}.tar.gz#
# - For the value of "--mtime" use the date "2021-04-26 00:00Z" to simplify future updates.
Source1: %{name}-%{version}-vendor.tar.gz

BuildRequires: golang <= 1.22.99
BuildRequires: golang < 1.23
BuildRequires: git
Requires: git
%global debug_package %{nil}
Expand Down
2 changes: 1 addition & 1 deletion SPECS/ig/ig.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Group: Tools/Container
URL: https://github.com/inspektor-gadget/inspektor-gadget
Source0: https://github.com/inspektor-gadget/inspektor-gadget/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: %{name}-%{version}-govendor-v1.tar.gz
BuildRequires: golang <= 1.22.99
BuildRequires: golang < 1.23


%description
Expand Down
2 changes: 1 addition & 1 deletion SPECS/libguestfs/libguestfs.spec
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ BuildRequires: php-devel
%endif

%ifarch %{golang_arches}
BuildRequires: golang <= 1.22.99
BuildRequires: golang < 1.23
%endif

%ifarch x86_64
Expand Down
2 changes: 1 addition & 1 deletion SPECS/moby-containerd-cc/moby-containerd-cc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Patch2: fix_cc_tests_for_golang1.21.patch
%{?systemd_requires}

BuildRequires: git
BuildRequires: golang <= 1.22.99
BuildRequires: golang < 1.23
BuildRequires: go-md2man
BuildRequires: make
BuildRequires: systemd-rpm-macros
Expand Down
2 changes: 1 addition & 1 deletion SPECS/runc/runc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ URL: https://github.com/opencontainers/runc
Source0: https://github.com/opencontainers/runc/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: git
BuildRequires: go-md2man
BuildRequires: golang <= 1.22.99
BuildRequires: golang < 1.23
BuildRequires: libseccomp-devel
BuildRequires: make
Requires: glibc
Expand Down
2 changes: 1 addition & 1 deletion SPECS/vitess/vitess.spec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Source0: %{name}-%{version}.tar.gz
#
Source1: %{name}-%{version}-vendor.tar.gz
Patch0: CVE-2017-14623.patch
BuildRequires: golang <= 1.22.99
BuildRequires: golang < 1.23

%description
Vitess is a database clustering system for horizontal scaling of MySQL through
Expand Down

0 comments on commit 7372623

Please sign in to comment.