Use --verbose and --force when removing RECORD and REQUESTED files

This commit is contained in:
Lumir Balhar 2020-09-29 13:04:54 +02:00
parent efdfb4727f
commit c5d2f62b23

View File

@ -48,8 +48,8 @@ for site_dir in ${site_dirs[@]}; do
PYTHONPATH=%{_rpmconfigdir}/redhat \\
%{__python3} -B %{_rpmconfigdir}/redhat/pyproject_preprocess_record.py \\
--buildroot %{buildroot} --record ${distinfo}/RECORD --output %{pyproject_record}
rm ${distinfo}/RECORD
rm ${distinfo}/REQUESTED || :
rm -fv ${distinfo}/RECORD
rm -fv ${distinfo}/REQUESTED
done
done
lines=$(wc -l %{pyproject_ghost_distinfo} | cut -f1 -d" ")