"How to" page with packaging tutorial. #11

Open
msehnout wants to merge 4 commits from master into master
Contributor

Tutorial based on my experience with rust2rpm.

Tutorial based on my experience with rust2rpm.
Owner

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

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

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

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

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

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

1 new commit added

  • Don't modify system mock config file
**1 new commit added** * Don't modify system mock config file
Author
Contributor

1 new commit added

  • how to use rpmbuild with local sources
**1 new commit added** * how to use rpmbuild with local sources
Author
Contributor

Do you have any more comments to this PR? I think we should publish it, so more people know how to use rust2rpm.

Do you have any more comments to this PR? I think we should publish it, so more people know how to use rust2rpm.
Owner

@msehnout The custom rpm stuff will not be required for Fedora 27 and up, so make note that this is Fedora 26 specific.

@msehnout The custom rpm stuff will not be required for Fedora 27 and up, so make note that this is Fedora 26 specific.
Author
Contributor

done

done
Author
Contributor

1 new commit added

  • note about f26 repos
**1 new commit added** * note about f26 repos
Contributor

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

@msehnout I will check this PR on this weekend, sorry for delay
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No project
No assignees
3 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rust/sig-archive!11
No description provided.