#15 drop usage of %version_no_tilde macro from %crate_instdir
Closed by decathorpe. Opened by decathorpe.

Spec files generated by latest versions of rust2rpm no longer rely on the %version_no_tilde macro, and instead define a %crate_version macro. This is more robust, since it does not rely on the translation from RPM Version back to the original SemVer string (which might or might not be complete / correct).

The only place where the %version_no_tilde macro is still used seems to be the %crate_instdir macro, where it could be replaced as well:

  • if %crate_version is defined, use it as the version
  • if %crate_version is not defined, fall back to %version

Fixed in commit https://pagure.io/fedora-rust/rust-packaging/c/bfd926d22d95c8c7c3be32cc0f66c3ac18411571?branch=main

Metadata Update from @decathorpe:
- Issue status updated to: Closed (was: Open)

Metadata