SPECS (AC-branch): rpm.spec - ah, what the hell, rebuilddb after u...
glen
glen at pld-linux.org
Fri Mar 7 11:39:25 CET 2008
Author: glen Date: Fri Mar 7 10:39:25 2008 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- ah, what the hell, rebuilddb after upgrade
---- Files affected:
SPECS:
rpm.spec (1.837.2.42.2.22 -> 1.837.2.42.2.23)
---- Diffs:
================================================================
Index: SPECS/rpm.spec
diff -u SPECS/rpm.spec:1.837.2.42.2.22 SPECS/rpm.spec:1.837.2.42.2.23
--- SPECS/rpm.spec:1.837.2.42.2.22 Thu Mar 6 13:11:15 2008
+++ SPECS/rpm.spec Fri Mar 7 11:39:19 2008
@@ -36,7 +36,7 @@
Summary(uk.UTF-8): Менеджер пакетів від RPM
Name: rpm
Version: 4.4.9
-Release: 48
+Release: 49
License: LGPL
Group: Base
Source0: http://rpm5.org/files/rpm/rpm-4.4/%{name}-%{version}.tar.gz
@@ -1070,7 +1070,8 @@
kill $p
fi
rm -f /var/lib/rpm/__db*
-echo >&2 "You should rebuild your rpmdb: rpm --rebuilddb to avoid random rpmdb errors"
+echo >&2 "Rebuilding rpmdb"
+rpm --rebuilddb
%triggerpostun lib -- db4.5 < %{reqdb_ver}
echo >&2 "db4.5 upgrade: removing /var/lib/rpm/__db* from older rpmdb version"
@@ -1079,8 +1080,8 @@
echo >&2 "Killing poldek ($p), don't panic :)"
kill $p
fi
-rm -f /var/lib/rpm/__db*
-echo >&2 "You should rebuild your rpmdb: rpm --rebuilddb to avoid random rpmdb errors"
+echo >&2 "Rebuilding rpmdb"
+rpm --rebuilddb
%pretrans
# this needs to be a dir
@@ -1320,6 +1321,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.837.2.42.2.23 2008-03-07 10:39:19 glen
+- ah, what the hell, rebuilddb after upgrade
+
Revision 1.837.2.42.2.22 2008-03-06 12:11:15 glen
- just in case remove __db* after poldek has been terminated
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rpm.spec?r1=1.837.2.42.2.22&r2=1.837.2.42.2.23&f=u
More information about the pld-cvs-commit
mailing list