SPECS (rpm-4_4_9): rpm.spec - remove rpmenv files on rpm upgrade

glen glen at pld-linux.org
Thu Jan 10 12:16:29 CET 2008


Author: glen                         Date: Thu Jan 10 11:16:29 2008 GMT
Module: SPECS                         Tag: rpm-4_4_9
---- Log message:
- remove rpmenv files on rpm upgrade

---- Files affected:
SPECS:
   rpm.spec (1.837.2.22 -> 1.837.2.23) 

---- Diffs:

================================================================
Index: SPECS/rpm.spec
diff -u SPECS/rpm.spec:1.837.2.22 SPECS/rpm.spec:1.837.2.23
--- SPECS/rpm.spec:1.837.2.22	Thu Jan 10 11:37:54 2008
+++ SPECS/rpm.spec	Thu Jan 10 12:16:24 2008
@@ -1017,6 +1017,9 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+rm -f /var/lib/rpm/__db*
+
 %post	lib -p /sbin/ldconfig
 %postun lib -p /sbin/ldconfig
 
@@ -1239,6 +1242,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.837.2.23  2008-01-10 11:16:24  glen
+- remove rpmenv files on rpm upgrade
+
 Revision 1.837.2.22  2008-01-10 10:37:54  glen
 - check-files cleanup
 
================================================================

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



More information about the pld-cvs-commit mailing list