summaryrefslogtreecommitdiffstats
path: root/urpmi.spec
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-12-06 17:43:07 +0000
committerFrancois Pons <fpons@mandriva.com>2001-12-06 17:43:07 +0000
commitbf14431431b0d3996cbed13b27e483f4fd777d89 (patch)
tree3b2effe311050a4e39d30bbd721a7491b9aa1e07 /urpmi.spec
parent86f61ad423dbf3b0e45ed770628fea640b673dc8 (diff)
downloadurpmi-bf14431431b0d3996cbed13b27e483f4fd777d89.tar
urpmi-bf14431431b0d3996cbed13b27e483f4fd777d89.tar.gz
urpmi-bf14431431b0d3996cbed13b27e483f4fd777d89.tar.bz2
urpmi-bf14431431b0d3996cbed13b27e483f4fd777d89.tar.xz
urpmi-bf14431431b0d3996cbed13b27e483f4fd777d89.zip
3.0 of urpmi.
Diffstat (limited to 'urpmi.spec')
-rw-r--r--urpmi.spec21
1 files changed, 16 insertions, 5 deletions
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 <fpons@mandrakesoft.com> 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 <fpons@mandrakesoft.com> 2.2-2mdk
- fixed bad reference with -p.
- changed -p ... to use choice instead of mutliple packages.