diff --git a/parsec.spec b/parsec.spec index 16d38e6..cff942a 100644 --- a/parsec.spec +++ b/parsec.spec @@ -101,8 +101,8 @@ install -d -m0755 %{buildroot}%{_localstatedir}/lib/parsec mkdir -p %{buildroot}%{_libexecdir} mv target/release/parsec %{buildroot}%{_libexecdir} -# currently delete it from bin -rm %{buildroot}%{_bindir}/parsec +# currently delete it from bin if there +rm -f %{buildroot}%{_bindir}/parsec # Clean-up find %{buildroot} -name .crates2.json -delete rm -rf %{buildroot}%{_datadir}/cargo/registry