From 99657d7a73b5418c473804972c643966b9c08bcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 18 May 2026 13:38:17 +0200 Subject: [PATCH] Use protobuf in version 3.x only This is part of https://fedoraproject.org/wiki/Changes/Protobuf_5.x/6.x This package does not sucessfully build with new protobuf per https://copr.fedorainfracloud.org/coprs/mochaa/protobuf/monitor/ so limiting to protobuf version 3. Once the protobuf is rebase this will automatically pick up compat package protobuf3 I am not bumping release as this does not need a rebuild now. --- python-torch.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-torch.spec b/python-torch.spec index f1567c6..94dd90e 100644 --- a/python-torch.spec +++ b/python-torch.spec @@ -180,7 +180,7 @@ BuildRequires: onnx-devel BuildRequires: openmpi-devel %endif %if %{with protobuf} -BuildRequires: protobuf-devel +BuildRequires: protobuf-devel < 4 %endif BuildRequires: sleef-devel BuildRequires: valgrind-devel