Update to 3.10.3. Fixes rhbz#2278078.

This commit is contained in:
Benjamin A. Beasley 2024-06-01 08:32:49 -04:00
commit 35560182ee
3 changed files with 10 additions and 4 deletions

View file

@ -8,8 +8,8 @@
%bcond tests 1
Name: python-orjson
Version: 3.10.1
Release: 2%{?dist}
Version: 3.10.3
Release: 1%{?dist}
Summary: Fast, correct Python JSON library
License: Apache-2.0 OR MIT
@ -52,8 +52,10 @@ License: %{shrink:
%autosetup -p1 -n orjson-%{version}
%cargo_prep
# Remove unstable feature that requires rust nightly
# Remove unstable features that require rust nightly; the avx512 feature also
# requires the x86_64 architecture
tomcli-set Cargo.toml del 'features.unstable-simd'
tomcli-set Cargo.toml del 'features.avx512'
# Remove no-panic feature
tomcli-set Cargo.toml del 'features.no-panic'
# Remove strict dependencies
@ -99,6 +101,9 @@ export RUSTFLAGS='%{build_rustflags}'
%changelog
* Sat Jun 01 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 3.10.3-1
- Update to 3.10.3. Fixes rhbz#2278078.
* Fri May 24 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 3.10.1-2
- Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces