From 169dcf8bb993c81ed9e0e9f8a092cf859a70f33f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 1 Feb 2020 02:13:12 +0100 Subject: [PATCH] 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. --- plugins/pck-update.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pck-update.in b/plugins/pck-update.in index 02857cd..a3660e8 100644 --- a/plugins/pck-update.in +++ b/plugins/pck-update.in @@ -2598,7 +2598,7 @@ calculate the md5/sha1 hashing values""${NORM}" --urlnum "$ftp_server_upload_num" \ --proxy "$proxy" \ --proxy-user "$proxy_user" \ - "$pck_name" ${SPEC_OBSOLETES[@]} + "$pck_name" # FIXME: `$?' is nonzero if the argument of `--urllist' is ""; # this generally happens with a buggy configuration file but we # do not stop the execution here with an errors condition