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

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.

Log in to comment on this ticket.

Metadata