SPECS (AC-branch): rpm.spec - oh well, once again need to kill db ...

glen glen at pld-linux.org
Mon Feb 18 08:47:34 CET 2008


Author: glen                         Date: Mon Feb 18 07:47:34 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- oh well, once again need to kill db region files; rel 41

---- Files affected:
SPECS:
   rpm.spec (1.837.2.42.2.13 -> 1.837.2.42.2.14) 

---- Diffs:

================================================================
Index: SPECS/rpm.spec
diff -u SPECS/rpm.spec:1.837.2.42.2.13 SPECS/rpm.spec:1.837.2.42.2.14
--- SPECS/rpm.spec:1.837.2.42.2.13	Sun Feb 17 16:10:08 2008
+++ SPECS/rpm.spec	Mon Feb 18 08:47:28 2008
@@ -36,7 +36,7 @@
 Summary(uk.UTF-8):	Менеджер пакетів від RPM
 Name:		rpm
 Version:	4.4.9
-Release:	40
+Release:	41
 License:	LGPL
 Group:		Base
 Source0:	http://rpm5.org/files/rpm/rpm-4.4/%{name}-%{version}.tar.gz
@@ -1068,6 +1068,22 @@
 	kill $p
 fi
 
+%triggerpostun lib -- db4.5 < %{reqdb_ver}
+rm -f /var/lib/rpm/__db*
+p=$(/sbin/pidof poldek)
+if [ "$p" ]; then
+	echo >&2 "Killing poldek ($p), don't panic :)"
+	kill $p
+fi
+
+%triggerpostun lib -- db < %{reqdb_ver}
+rm -f /var/lib/rpm/__db*
+p=$(/sbin/pidof poldek)
+if [ "$p" ]; then
+	echo >&2 "Killing poldek ($p), don't panic :)"
+	kill $p
+fi
+
 %pretrans
 # this needs to be a dir
 if [ -f %{_sysconfdir}/rpm/sysinfo ]; then
@@ -1297,6 +1313,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.837.2.42.2.14  2008-02-18 07:47:28  glen
+- oh well, once again need to kill db region files; rel 41
+
 Revision 1.837.2.42.2.13  2008-02-17 15:10:08  marcus
 - rebuild with db4.5 without nptl. rel.40.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rpm.spec?r1=1.837.2.42.2.13&r2=1.837.2.42.2.14&f=u



More information about the pld-cvs-commit mailing list