data: Cargo doesn't escape paths with space
When building matrixmultiply v0.2.2: BUILDSTDERR: /usr/bin/cp: cannot stat 'spare': No such file or directory BUILDSTDERR: /usr/bin/cp: failed to get attributes of 'kernels': No such file or directory Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
00c0c5cec9
commit
84a73bfa24
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ if %__cargo_is_lib; then \
|
||||||
CRATE_VERSION=$(%__cargo_inspector --version Cargo.toml) \
|
CRATE_VERSION=$(%__cargo_inspector --version Cargo.toml) \
|
||||||
REG_DIR=%{buildroot}%{cargo_registry}/$CRATE_NAME-$CRATE_VERSION \
|
REG_DIR=%{buildroot}%{cargo_registry}/$CRATE_NAME-$CRATE_VERSION \
|
||||||
%{__mkdir} -p $REG_DIR \
|
%{__mkdir} -p $REG_DIR \
|
||||||
%{__cargo} package -l | xargs %{__cp} --parents -a -t $REG_DIR \
|
%{__cargo} package -l | xargs -d '\n' %{__cp} --parents -a -t $REG_DIR \
|
||||||
%if ! %{with check} \
|
%if ! %{with check} \
|
||||||
%{__cp} -a Cargo.toml.orig $REG_DIR/Cargo.toml \
|
%{__cp} -a Cargo.toml.orig $REG_DIR/Cargo.toml \
|
||||||
%endif \
|
%endif \
|
||||||
|
|
Loading…
Reference in a new issue