public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-axolotl] rawhide: Added protobuf-compiler BR and regenerated python protobuf files from
Date: Thu, 06 Aug 2026 20:15:31 GMT [thread overview]
Message-ID: <178604733157.1.6403278268029171752.rpms-python-axolotl-9e4fb4fa1ca3@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-axolotl
Branch : rawhide
Commit : 9e4fb4fa1ca339e1c8c8163e38e99d5dcb135884
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-02T00:33:10-03:00
Stats : +7/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-axolotl/c/9e4fb4fa1ca339e1c8c8163e38e99d5dcb135884?branch=rawhide
Log:
Added protobuf-compiler BR and regenerated python protobuf files from
proto sources during %prep to fix incompatible generated _pb2.py files
Resolves: rhbz#2504444
---
diff --git a/python-axolotl.spec b/python-axolotl.spec
index 7b3f81d..3782c22 100644
--- a/python-axolotl.spec
+++ b/python-axolotl.spec
@@ -14,6 +14,7 @@ Patch1: python-axolotl-remove-nose.patch
BuildArch: noarch
BuildRequires: python3-devel
+BuildRequires: protobuf-compiler
%global _description %{expand:
This is a ratcheting forward secrecy protocol
@@ -30,6 +31,12 @@ Summary: %{summary}
%prep
%autosetup -p1
+# Regenerate python protobuf files with system protoc to avoid compatibility issues with newer protobuf versions
+cp axolotl/protobuf/LocalStorageProtocol.proto axolotl/protobuf/storageprotos.proto
+cp axolotl/protobuf/WhisperTextProtocol.proto axolotl/protobuf/whisperprotos.proto
+protoc --proto_path=axolotl/protobuf --python_out=axolotl/state storageprotos.proto
+protoc --proto_path=axolotl/protobuf --python_out=axolotl/protocol whisperprotos.proto
+
%generate_buildrequires
%pyproject_buildrequires -t
reply other threads:[~2026-08-06 20:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178604733157.1.6403278268029171752.rpms-python-axolotl-9e4fb4fa1ca3@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox