Marcus Meissner 2022-04-06 07:35:54 +00:00 committed by Git OBS Bridge
parent efb1dcbc5d
commit fb6edb420c

View File

@ -96,6 +96,9 @@ install -d -m0755 %{buildroot}%{_localstatedir}/lib/parsec
# Move parsec to _libexecdir
mkdir -p %{buildroot}%{_libexecdir}
mv target/release/parsec %{buildroot}%{_libexecdir}
# currently delete it from bin
rm %{buildroot}%{_bindir}/parsec
# Clean-up
find %{buildroot} -name .crates2.json -delete
rm -rf %{buildroot}%{_datadir}/cargo/registry