From f89da44c7bd0c0f3c170afc61c01b57268e3f7c0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 16 Mar 2021 21:35:00 +0100 Subject: [PATCH] pck-update: remove --nodeps to build commands to fix build requirements being skipped. Not sure why it worked before and maybe this broke since rpm 4.16 --- plugins/pck-update.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/pck-update.in b/plugins/pck-update.in index 91f677f..33ac05a 100644 --- a/plugins/pck-update.in +++ b/plugins/pck-update.in @@ -2167,18 +2167,20 @@ $SRPM_SPECFILE_WITH_PATH $USER_RPMDEFINE_OPTS 2>&1" notify.note "${NOTE}"$"building the srpm package""${NORM}..." # as the dependencies check is done before, it is safe to pass # --nodeps to non-simulated build commands. + # NOTE: it seems that since rpm 4.16 above is not true thus + # --nodeps has been removed from build commands eval "\ -rpmbuild -bs $USER_RPMDEFINE_OPTS $rpmbuild_opts --nodeps \ +rpmbuild -bs $USER_RPMDEFINE_OPTS $rpmbuild_opts \ $SRPM_SPECFILE_WITH_PATH 2>&1" elif [ "$nosrpm" = 1 ]; then notify.note "${NOTE}"$"building the rpm packages""${NORM}..." eval "\ -rpmbuild -bb $USER_RPMDEFINE_OPTS $rpmbuild_opts --nodeps \ +rpmbuild -bb $USER_RPMDEFINE_OPTS $rpmbuild_opts \ $SRPM_SPECFILE_WITH_PATH 2>&1" else notify.note "${NOTE}"$"building rpm and srpm packages""${NORM}..." eval "\ -rpmbuild -ba $USER_RPMDEFINE_OPTS $rpmbuild_opts --nodeps \ +rpmbuild -ba $USER_RPMDEFINE_OPTS $rpmbuild_opts \ $SRPM_SPECFILE_WITH_PATH 2>&1" fi local rpmbuild_retcode="$?"