This PR contains two commits that change two macros to respect the %crate_version macro set by recent versions of rust2rpm:
%crates_source: respect %crate_version without having to supply it as an argument manually, and simplify code (the %real_crate macro is not used anywhere in the Rust RPM macros or in Fedora packages)
%crate_instdir: rely on %crate_version if it is defined, fall back to %version if it is not defined. This removes the last usage of the %version_no_tilde macro in the Rust macros, in preparation to have rust2rpm no longer use it when generating spec files for Rust crates, and for the macro definition to be moved to another project.
This PR contains two commits that change two macros to respect the %crate_version macro set by recent versions of rust2rpm:
%crates_source: respect%crate_versionwithout having to supply it as an argument manually, and simplify code (the%real_cratemacro is not used anywhere in the Rust RPM macros or in Fedora packages)%crate_instdir: rely on%crate_versionif it is defined, fall back to%versionif it is not defined. This removes the last usage of the%version_no_tildemacro in the Rust macros, in preparation to have rust2rpm no longer use it when generating spec files for Rust crates, and for the macro definition to be moved to another project.