diff --git a/python-orjson.spec b/python-orjson.spec index ddddd97..f864546 100644 --- a/python-orjson.spec +++ b/python-orjson.spec @@ -31,6 +31,12 @@ BuildRequires: %{py3_dist pandas} BuildRequires: %{py3_dist psutil} BuildRequires: rust-packaging +# The Python extension module now gets a SONAME of liborjson.so; we +# must ensure it is not used to generate automatic Provides. See: +# Rust 1.81+ implicitly / automatically sets soname on cdylib targets +# https://bugzilla.redhat.com/show_bug.cgi?id=2314879 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/AutoProvidesAndRequiresFiltering/#_filtering_provides_and_requires_after_scanning +%global __provides_exclude ^liborjson\\.so.*$ %global _description %{expand: orjson is a fast, correct Python JSON library supporting dataclasses,