Commit 169dcf8bb993c81ed9e0e9f8a092cf859a70f33f

Authored by Silvan Calarco
1 parent 0372675fbd
Exists in master

pck-update.in: don't archive any SRPMS with name matching SPEC_OBSOLETES as obso…

…letes 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.

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

plugins/pck-update.in
... ... @@ -2598,7 +2598,7 @@
2598 2598 --urlnum "$ftp_server_upload_num" \
2599 2599 --proxy "$proxy" \
2600 2600 --proxy-user "$proxy_user" \
2601   - "$pck_name" ${SPEC_OBSOLETES[@]}
  2601 + "$pck_name"
2602 2602 # FIXME: `$?' is nonzero if the argument of `--urllist' is "";
2603 2603 # this generally happens with a buggy configuration file but we
2604 2604 # do not stop the execution here with an errors condition