From c5d2f62b23e0d719e5b6f7252a40109637166ffe Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Tue, 29 Sep 2020 13:04:54 +0200 Subject: [PATCH] Use --verbose and --force when removing RECORD and REQUESTED files --- macros.pyproject | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macros.pyproject b/macros.pyproject index 294d677..b4652ab 100644 --- a/macros.pyproject +++ b/macros.pyproject @@ -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" ")