I've split this into two commits to make reviewing hopefully a bit easier.
First commit:
I moved two sections into more suitable places:
The RPM Macros documentation (which is quite verbose) moved to a top-level section more towards the bottom of the page.
The guidelines for dynamically generated BuildRequires moved from a subsection to a top-level section more towards the top of the page.
Second commit:
Cleanups for things that are now outdated or no longer necessary.
Simplifications for the Naming and Source guidelines that were just way too complicated.
Updates to account for changes in rust2rpm v27 and v28.
Notably, rust2rpm no longer supports generating (incomplete) spec files for "non-crate" projects - instead, I've just added two basic spec templates for two common "non-crate" package cases.
In total, cleanups result in about ~100 fewer lines of documentation, and the added templates add ~100 lines, the remaining diffstat is minor cleanups, formatting fixes, and moving things around.
I've split this into two commits to make reviewing hopefully a bit easier.
First commit:
I moved two sections into more suitable places:
Second commit:
Notably, rust2rpm no longer supports generating (incomplete) spec files for "non-crate" projects - instead, I've just added two basic spec templates for two common "non-crate" package cases.
In total, cleanups result in about ~100 fewer lines of documentation, and the added templates add ~100 lines, the remaining diffstat is minor cleanups, formatting fixes, and moving things around.