#11 "How to" page with packaging tutorial.
Opened by msehnout. Modified
fedora-rust/ msehnout/sig master  into  master

Download 11.patch

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>)

or we should probably even create mock-rust-cfgs and Supplements: mock so users will get that automagically

@ngompa Good point. I should probably revert that change on my machine as well :)

1 new commit added

  • Don't modify system mock config file

1 new commit added

  • how to use rpmbuild with local sources

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.

1 new commit added

  • note about f26 repos

@msehnout I will check this PR on this weekend, sorry for delay

Metadata