packaging #9

Open
ignatenkobrain wants to merge 2 commits from ignatenko/packaging into master
Contributor

Signed-off-by: Igor Gnatenko ignatenkobrain@fedoraproject.org

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Owner

The given library example uses rust-foo for the srpm and rust-foo-devel.

Also, what happens if a library-only or binary-only crate later becomes dual-purpose?

The given library example uses `rust-foo` for the srpm and `rust-foo-devel`. Also, what happens if a library-only or binary-only crate later becomes dual-purpose?
Author
Contributor

as in other ecosystems, we rename it

as in other ecosystems, we rename it
Owner

Most ecosystems have main generic package name, and everything is subpackages underneath. That way, you can avoid the renaming process.

So I would go with the source package being rust-foo in all cases.

Most ecosystems have main generic package name, and everything is subpackages underneath. That way, you can avoid the renaming process. So I would go with the source package being `rust-foo` in all cases.
Owner

I would suggest an inline example here.

I would suggest an inline example here.
Owner

What about guidelines for how BuildRequires for crates should be structured? It seems like a specific case of what we do for Dependencies.

Alternatively, I think it might make sense to fold in BuildRequires section into Dependencies in general. It's really a subtopic of it anyway...

What about guidelines for how `BuildRequires` for crates should be structured? It seems like a specific case of what we do for Dependencies. Alternatively, I think it might make sense to fold in BuildRequires section into Dependencies in general. It's really a subtopic of it anyway...
Owner

I suggest source package name should always be rust-%{crate} for this case.

I suggest source package name should *always* be `rust-%{crate}` for this case.
Author
Contributor

rebased

rebased
Contributor

I think we should use Google docs instead of git for faster collaboration, since we have only one week to prepare these guidelines. Of course I expect to switch back after we are done.

We are discussing changes for this PR here, if you want to contribute:
https://docs.google.com/document/d/1yx6TmybWdu82geF7H47JjowYf6_x6NaIT2UJ_znUtYM/edit?usp=sharing

I think we should use Google docs instead of git for faster collaboration, since we have only one week to prepare these guidelines. Of course I expect to switch back after we are done. We are discussing changes for this PR here, if you want to contribute: https://docs.google.com/document/d/1yx6TmybWdu82geF7H47JjowYf6_x6NaIT2UJ_znUtYM/edit?usp=sharing
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No project
No assignees
4 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!9
No description provided.