Author: glen Date: Wed Mar 14 09:37:24 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - display installable pkgs earlier
---- Files affected: SPECS: builder (1.496 -> 1.497) ---- Diffs: ================================================================ Index: SPECS/builder diff -u SPECS/builder:1.496 SPECS/builder:1.497 --- SPECS/builder:1.496 Thu Mar 8 09:04:53 2007 +++ SPECS/builder Wed Mar 14 10:37:19 2007 @@ -1612,17 +1612,18 @@ if [ "${FETCH_BUILD_REQUIRES}" = "yes" ]; then update_shell_title "fetch build requires" if [ "$FETCH_BUILD_REQUIRES_RPMGETDEPS" = "yes" ]; then - local CONF=$(rpm-getdeps $BCOND $SPECFILE 2> /dev/null | awk '/^\-/ { print $3 } ' | _rpm_cnfl_check | xargs) + # TODO: Conflicts list doesn't check versions + local CNFL=$(rpm-getdeps $BCOND $SPECFILE 2> /dev/null | awk '/^\-/ { print $3 } ' | _rpm_cnfl_check | xargs) local DEPS=$(rpm-getdeps $BCOND $SPECFILE 2> /dev/null | awk '/^\+/ { print $3 } ' | _rpm_prov_check | xargs) - update_shell_title "poldek: update indexes" - if [ -n "$CONF" ] || [ -n "$DEPS" ]; then + update_shell_title "poldek: install $DEPS; remove $CNFL" + if [ -n "$CNFL" ] || [ -n "$DEPS" ]; then $SU_SUDO /usr/bin/poldek -q --update || $SU_SUDO /usr/bin/poldek -q --upa fi - if [ -n "$CONF" ]; then - update_shell_title "uninstall conflicting packages: $CONF" - echo "Trying to uninstall conflicting packages ($CONF):" - $SU_SUDO /usr/bin/poldek --noask --nofollow -ev $CONF + if [ -n "$CNFL" ]; then + update_shell_title "uninstall conflicting packages: $CNFL" + echo "Trying to uninstall conflicting packages ($CNFL):" + $SU_SUDO /usr/bin/poldek --noask --nofollow -ev $CNFL fi while [ "$DEPS" ]; do ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/builder?r1=1.496&r2=1.497&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit