From bf14431431b0d3996cbed13b27e483f4fd777d89 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 6 Dec 2001 17:43:07 +0000 Subject: 3.0 of urpmi. --- urpmi.spec | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'urpmi.spec') diff --git a/urpmi.spec b/urpmi.spec index 0a5ea43b..5b2347ca 100644 --- a/urpmi.spec +++ b/urpmi.spec @@ -1,8 +1,8 @@ %define group System/Configuration/Packaging Name: urpmi -Version: 2.2 -Release: 2mdk +Version: 3.0 +Release: 1mdk License: GPL Source0: %{name}.tar.bz2 Source1: %{name}.logrotate @@ -27,7 +27,7 @@ gurpmi is a graphical front-end to urpmi %package -n autoirpm Summary: Auto install of rpm on demand -Requires: sh-utils urpmi gurpmi xtest gmessage gurpmi +Requires: sh-utils urpmi gurpmi xtest gmessage gurpmi perl Group: %{group} %description -n autoirpm @@ -84,8 +84,13 @@ fi exit 0 %post -[ -z "$DURING_INSTALL" -a -f /var/lib/urpmi/depslist ] && %{_sbindir}/urpmi.update -a -rm -f /var/lib/urpmi/depslist +cd /var/lib/urpmi +rm -f compss provides depslist* +misconfigured=0 +for hdlist in hdlist.*; do + [ -s synthesis.$hdlist ] || misconfigured=1 +done +[ -z "$DURING_INSTALL" -a "$misconfigured" -ge 1 ] && rm -f synthesis.hdlist.* && %{_sbindir}/urpmi.update -a %preun -n autoirpm [ -x %{_sbindir}/autoirpm.uninstall ] && %{_sbindir}/autoirpm.uninstall @@ -129,6 +134,12 @@ rm -f /var/lib/urpmi/depslist %changelog +* Thu Dec 6 2001 François Pons 3.0-1mdk +- 3.0 so urpm library interface change and method removal. +- depslist*, compss, provides are obsoleted, synthesis file + are now used instead (this will help rpmdrake caching). +- added missing requires on perl for autoirpm. + * Thu Dec 6 2001 François Pons 2.2-2mdk - fixed bad reference with -p. - changed -p ... to use choice instead of mutliple packages. -- cgit v1.2.1