#291 fedpkg local: do not build from the repository directory
Opened by ignatenkobrain. Modified

Rather build in some tmp dir and then move it into current dir.

Basically now you can't build any rust packages from git repo:

+ /usr/bin/cargo package -l
+ xargs /usr/bin/cp --parents -a -t /home/brain/rpmbuild/BUILDROOT/rust-void-1.0.2-7.fc30.x86_64/usr/share/cargo/registry/void-1.0.2
error: 4 files in the working directory contain changes that were not yet committed into git:
Cargo.toml
Cargo.toml.orig
README.md
src/lib.rs
to proceed despite this, pass the `--allow-dirty` flag
/usr/bin/cp: missing file operand
Try '/usr/bin/cp --help' for more information.

Metadata