pck-update.in: don't archive any SRPMS with name matching SPEC_OBSOLETES as obsoletes refer to RPM names not SRPMS

This to support exclusive architecture legacy packages e.g. libsuitesparse4 (with ExclusiveArch: arm) obsoletes libsuitesparse (which does not build anymore on this target).
To be checked if this may break some other successful cases, although the problems in keeping a to-be-obsoleted package are less than archiving a to-be-kept one.
This commit is contained in:
Silvan Calarco 2020-02-01 02:13:12 +01:00
parent 0372675fbd
commit 169dcf8bb9

View File

@ -2598,7 +2598,7 @@ calculate the md5/sha1 hashing values""${NORM}"
--urlnum "$ftp_server_upload_num" \ --urlnum "$ftp_server_upload_num" \
--proxy "$proxy" \ --proxy "$proxy" \
--proxy-user "$proxy_user" \ --proxy-user "$proxy_user" \
"$pck_name" ${SPEC_OBSOLETES[@]} "$pck_name"
# FIXME: `$?' is nonzero if the argument of `--urllist' is ""; # FIXME: `$?' is nonzero if the argument of `--urllist' is "";
# this generally happens with a buggy configuration file but we # this generally happens with a buggy configuration file but we
# do not stop the execution here with an errors condition # do not stop the execution here with an errors condition