summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-12-10 14:43:22 +0000
committerFrancois Pons <fpons@mandriva.com>2001-12-10 14:43:22 +0000
commit3147af6d8ff5173fa0dd9c24868a421bb8a43af8 (patch)
tree38f73c067b406a160a1bd7e59c642f768cabc4e3
parentf273ccb172bd159522a4c1fbfde226b0c36b3f90 (diff)
downloadurpmi-3147af6d8ff5173fa0dd9c24868a421bb8a43af8.tar
urpmi-3147af6d8ff5173fa0dd9c24868a421bb8a43af8.tar.gz
urpmi-3147af6d8ff5173fa0dd9c24868a421bb8a43af8.tar.bz2
urpmi-3147af6d8ff5173fa0dd9c24868a421bb8a43af8.tar.xz
urpmi-3147af6d8ff5173fa0dd9c24868a421bb8a43af8.zip
minor fixes.
-rw-r--r--urpmi.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/urpmi.spec b/urpmi.spec
index 178a144d..bed407d0 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -2,7 +2,7 @@
Name: urpmi
Version: 3.0
-Release: 4mdk
+Release: 5mdk
License: GPL
Source0: %{name}.tar.bz2
Source1: %{name}.logrotate
@@ -49,6 +49,7 @@ cat <<EOF >$RPM_BUILD_ROOT/etc/urpmi/inst.list
# Here you can specify packages that need to be installed instead
# of being upgraded (typically kernel packages).
kernel
+kernel-source
kernel-smp
kernel-secure
kernel-enterprise
@@ -91,7 +92,9 @@ cd /var/lib/urpmi
rm -f compss provides depslist*
misconfigured=0
for hdlist in hdlist.*; do
- [ -s synthesis.$hdlist ] || misconfigured=1
+ if [ -s "$hdlist" -a ! -s "synthesis.$hdlist" ]; then
+ misconfigured=1
+ fi
done
if [ -z "$DURING_INSTALL" -a "$misconfigured" -ge 1 ]; then
rm -f synthesis.hdlist.* && %{_sbindir}/urpmi.update -a
@@ -139,6 +142,10 @@ fi
%changelog
+* Mon Dec 10 2001 François Pons <fpons@mandrakesoft.com> 3.0-5mdk
+- fixed %%post again.
+- added kernel-source in /etc/urpmi/inst.list.
+
* Fri Dec 7 2001 François Pons <fpons@mandrakesoft.com> 3.0-4mdk
- fixed in urpmq to handle --headers (needed by rpminst) when
no hdlist are present.