create-mkspec.sh: Remove -n $NAME from %prep

%prep is passed -n <name> option. This is considered an error by rpm
Release 4.20.1-1.1. It is superfluous anyway, because the name is communicated to rpm
via %setup -n <name> later in the %prep section. Remove the -n option.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-03-26 16:58:07 +00:00
commit 144cb341b7

View file

@ -87,7 +87,7 @@ _cat <<- EOT
|echo "`cfg_value description`"
|echo ""
|# ---------------------------------------
|echo "%prep -n \$NAME-run"
|echo "%prep"
|echo "%setup -q -n \$NAME-\$V"
|echo ""
|echo "%build"