https://bugzilla.redhat.com/show_bug.cgi?id=2256631
--- Comment #6 from Ben Beasley code@musicinmybrain.net --- Thanks for the update. The Summary looks good. You still need to copy the LICENSE file into the source tree and add it to the %files list so that it is present in the -devel subpackage.
%prep %autosetup -n %{crate}-%{version} -p1 cp -p '%{SOURCE1}' . %cargo_prep
and
%files devel %license LICENSE %doc %{crate_instdir}/README.md %{crate_instdir}/
It wouldn’t hurt to link https://github.com/huggingface/safetensors/pull/416 in a spec-file comment above the added Source1.