#6 Correct %__cargo and %__cargo_to_rpm paths
Merged by decathorpe. Opened by yselkowitz.
fedora-rust/ yselkowitz/rust-packaging main  into  main

Download 6.patch

%{_bindir} should not be used like this in specfiles or macros. It breaks flatpak builds. (See commit 3df6ad1259c1741656affc26512f81631e9148f5 where this was previous fixed for rustc/rustdoc.)

Relates: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_dependencies

Once merged, if a new release is not imminent, then I plan to file a backport PR to the Fedora package.

You're right, %_bindir shouldn't be used here. I must have forgotten about this when I last changed these files. Looks good to me, thanks.

I'm not sure if this warrants a new release, the RPM macros here are pretty slow-moving. So a PR for the Fedora package sounds good to me.

Pull-Request has been merged by decathorpe

Filed https://src.fedoraproject.org/rpms/rust-packaging/pull-request/8

Metadata