#215 sort binaries by name in generated spec files
Opened 3 months ago by decathorpe. Modified 2 months ago

If a crate provides multiple binaries, the order in which they are listed in %files -n %{crate} is randomized every time rust2rpm is run. It would be better to sort them alphabetically.

Metadata Update from @decathorpe:
- Issue set to the milestone: 23

3 months ago

Couldn't you just replace


{% for bin in bins %}

with {% for bin in bins | sort %}?

Possibly, yes. Just wanted to file the issue so I don't forget about it :)

Login to comment on this ticket.