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="$?"