The new version should match the original intent we had more closely (and is not as strict).
It should also better match what people actually need to do in some cases.
I also added a few more sentences about Rust packages that use vendored dependencies:
that they are not allowed to ship -devel packages with Rust library sources, because they would be broken (the dependencies of those -devel packages would often only be satisfiable by the vendored dependencies, but those are not shipped)
since they can't ship -devel packages with Rust library sources, they may follow different guidelines for package naming / package sources
Last part is that I added some documentation for the %cargo_install_lib and %cargo_install_bin macros that are new in rust-packaging v26. They are now the officially sanctioned way to control the behaviour of the %cargo_install macro (instead of messing with the implementation details of the macro by overriding %__cargo_is_lib and / or %__cargo_is_bin).
I tried to clarify a few things that people found confusing in the current package naming / package source guidelines for Rust crates.
One notable change is that this sentence is relaxed a bit:
The new version should match the original intent we had more closely (and is not as strict).
It should also better match what people actually need to do in some cases.
I also added a few more sentences about Rust packages that use vendored dependencies:
-develpackages with Rust library sources, because they would be broken (the dependencies of those -devel packages would often only be satisfiable by the vendored dependencies, but those are not shipped)-develpackages with Rust library sources, they may follow different guidelines for package naming / package sourcesLast part is that I added some documentation for the
%cargo_install_liband%cargo_install_binmacros that are new inrust-packagingv26. They are now the officially sanctioned way to control the behaviour of the%cargo_installmacro (instead of messing with the implementation details of the macro by overriding%__cargo_is_liband / or%__cargo_is_bin).