Tutorial based on my experience with rust2rpm.
Please don't suggest editing existing mock configs. Instead suggest to copy the config out and edit the copied config. mock supports arbitrary config file paths with -r. (For example: mock -r ~/fedora-26-x86_64-rust.cfg rebuild </path/to/package.src.rpm>)
-r
mock -r ~/fedora-26-x86_64-rust.cfg rebuild </path/to/package.src.rpm>
or we should probably even create mock-rust-cfgs and Supplements: mock so users will get that automagically
Supplements: mock
@ngompa Good point. I should probably revert that change on my machine as well :)
1 new commit added
Do you have any more comments to this PR? I think we should publish it, so more people know how to use rust2rpm.
@msehnout The custom rpm stuff will not be required for Fedora 27 and up, so make note that this is Fedora 26 specific.
done
@msehnout I will check this PR on this weekend, sorry for delay
Tutorial based on my experience with rust2rpm.