contrib: pass "--noclean" to rpmbuild in "makerepo.sh"

Recent rpmbuild will delete the source directory on successful build.
With `makerepo.sh` that is bad, because we want that directory with the
git history. Pass "--noclean" to avoid that.
This commit is contained in:
Thomas Haller 2024-02-14 17:41:04 +01:00
parent cc7295698e
commit 06e039b18a
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -685,7 +685,7 @@ popd
if [[ $LOCAL != 0 ]]; then
rm -rf ./.makerepo.git/
mv "$DIRNAME/.git" ./.makerepo.git/
$FEDPKG $DIST local
$FEDPKG $DIST local -- --noclean
mv ./.makerepo.git/ "$DIRNAME/.git"
pushd "$DIRNAME"
git checkout -- .gitignore