Update to 3.10.6. Fixes rhbz#2291190

This commit is contained in:
Benjamin A. Beasley 2024-07-12 14:38:10 -04:00
commit e5307353bb
3 changed files with 14 additions and 5 deletions

1
.gitignore vendored
View file

@ -10,3 +10,4 @@
/orjson-3.9.13.tar.gz
/orjson-3.10.1.tar.gz
/orjson-3.10.3.tar.gz
/orjson-3.10.6.tar.gz

View file

@ -8,8 +8,8 @@
%bcond tests 1
Name: python-orjson
Version: 3.10.3
Release: 3%{?dist}
Version: 3.10.6
Release: 1%{?dist}
Summary: Fast, correct Python JSON library
License: Apache-2.0 OR MIT
@ -44,13 +44,14 @@ Summary: %{summary}
# (Apache-2.0 OR MIT) AND BSD-3-Clause
# Apache-2.0 OR BSL-1.0
# Apache-2.0 OR MIT
# BSD-2-Clause OR Apache-2.0 OR MIT
# BSL-1.0
# MIT
# MIT OR Apache-2.0 (duplicate)
License: %{shrink:
(Apache-2.0 OR MIT) AND
BSD-3-Clause AND
(Apache-2.0 OR BSL-1.0) AND
(BSD-2-Clause OR Apache-2.0 OR MIT) AND
BSL-1.0 AND
MIT
}
@ -68,6 +69,10 @@ 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 unwind feature, which is not useful here: the comment above it says
# “Avoid bundling libgcc on musl.”
tomcli-set Cargo.toml del 'features.unwind'
tomcli-set Cargo.toml del 'dependencies.unwinding'
# Remove strict dependencies
sed -Ei 's|(version = ")=|\1|' Cargo.toml
# Remove bundled rust crates
@ -112,6 +117,9 @@ export RUSTFLAGS='%{build_rustflags}'
%changelog
* Mon Jul 22 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 3.10.6-1
- Update to 3.10.6. Fixes rhbz#2291190.
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (orjson-3.10.3.tar.gz) = 7c29ca375e18170088bfbd0adf58be0291668c77bdae30f74568731350ac384f70430fe3e52ff29733959685cd02bac33ddaae035b9f35824c8daf3c80419506
SHA512 (orjson-3.10.6.tar.gz) = a3b6bfe4c9611ae62476490ccf9378135df2a714743df2252d247c8bf5724943d5717d2821d22305a854426e2be38cb9d40067aa892035414e8db5b26f1d90fb