Remove the subshell in the cargo_install macro
Resolves: RHEL-67426
This commit is contained in:
parent
707934d3c6
commit
5d9bd7358c
@ -154,16 +154,13 @@ EOF}\
|
||||
# of a specific binary has been installed, but which conflicts between builds
|
||||
# of different Rust applications and is not needed when building RPM packages.
|
||||
%cargo_install\
|
||||
(\
|
||||
set -euo pipefail \
|
||||
%{shrink: \
|
||||
%{__cargo} install \
|
||||
%{__cargo_common_opts} \
|
||||
--profile rpm \
|
||||
--no-track \
|
||||
--path . \
|
||||
} \
|
||||
)
|
||||
%{shrink: \
|
||||
%{__cargo} install \
|
||||
%{__cargo_common_opts} \
|
||||
--profile rpm \
|
||||
--no-track \
|
||||
--path . \
|
||||
}
|
||||
|
||||
# cargo_license: print license information for all crate dependencies
|
||||
#
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: rust
|
||||
Version: 1.79.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: The Rust Programming Language
|
||||
License: (Apache-2.0 OR MIT) AND (Artistic-2.0 AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND Unicode-DFS-2016)
|
||||
# ^ written as: (rust itself) and (bundled libraries)
|
||||
@ -1139,6 +1139,9 @@ timeout -v 30m %{__x} test --no-fail-fast rustfmt || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Dec 06 2024 Josh Stone <jistone@redhat.com> - 1.79.0-3
|
||||
- Remove the subshell in the cargo_install macro
|
||||
|
||||
* Tue Aug 13 2024 Josh Stone <jistone@redhat.com> - 1.79.0-2
|
||||
- Disable jump threading of float equality
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user