Remove workarounds for older versions of tomcli
This commit is contained in:
parent
26737d07f0
commit
c57085d2d0
1 changed files with 3 additions and 7 deletions
|
|
@ -38,7 +38,7 @@ Source1: get_source
|
|||
Patch: %{url}/pull/207/commits/217c375c2a2f96e28a1b3987f0eb5c730b4b361e.patch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: tomcli
|
||||
BuildRequires: tomcli >= 0.8.0
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
|
||||
%if %{with tests}
|
||||
|
|
@ -95,9 +95,7 @@ tomcli set Cargo.toml del 'features.wasm32-compat'
|
|||
# extension with the default features, and we only want maturin to check
|
||||
# dependencies for those features.
|
||||
blosc2_isal_features="$(
|
||||
# Once EPEL10 has tomcli>=0.8.0, we can use (without sed):
|
||||
# tomcli get Cargo.toml features -F newline-keys
|
||||
tomcli get Cargo.toml features -F toml | sed -r 's/ = .*//' |
|
||||
tomcli get Cargo.toml features -F newline-keys |
|
||||
grep -E 'blosc2|ideflate|igzip|isal|izlib' |
|
||||
tr '\n' ' '
|
||||
)"
|
||||
|
|
@ -109,9 +107,7 @@ done
|
|||
# Downstream-only: remove all the static-linking features, and make the
|
||||
# dynamic-linking ones default, as we do in rust-libcramjam.
|
||||
static_features="$(
|
||||
# Once EPEL10 has tomcli>=0.8.0, we can use (without sed):
|
||||
# tomcli get Cargo.toml features -F newline-keys
|
||||
tomcli get Cargo.toml features -F toml | sed -r 's/ = .*//' |
|
||||
tomcli get Cargo.toml features -F newline-keys |
|
||||
grep -E '.-static$' |
|
||||
tr '\n' ' '
|
||||
)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue