SPECS: oracle-xe.spec - bin/* should be +x - added %postun

pawelz pawelz at pld-linux.org
Sat Mar 14 02:58:22 CET 2009


Author: pawelz                       Date: Sat Mar 14 01:58:22 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bin/* should be +x
- added %postun

---- Files affected:
SPECS:
   oracle-xe.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/oracle-xe.spec
diff -u SPECS/oracle-xe.spec:1.5 SPECS/oracle-xe.spec:1.6
--- SPECS/oracle-xe.spec:1.5	Sat Mar 14 02:38:18 2009
+++ SPECS/oracle-xe.spec	Sat Mar 14 02:58:17 2009
@@ -89,11 +89,17 @@
 fi
 
 %postun
+if [ "$1" = "0" ]; then
+	%userremove tomcat
+	%groupremove tomcat
+fi
 
 %files
 %defattr(644,root,root,755)
 %{oracle_home}
 %dir %{_sysconfdir}/oracle-xe
+%exclude %{oracle_home}/bin/*
+%attr(755,root,root) %{oracle_home}/bin/*
 %attr(754,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/rc.d/init.d/oracle-xe
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/oracle-xe
 %attr(755,root,root) %{_datadir}/oracle/scripts
@@ -109,6 +115,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2009/03/14 01:58:17  pawelz
+- bin/* should be +x
+- added %postun
+
 Revision 1.5  2009/03/14 01:38:18  pawelz
 - typo
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/oracle-xe.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list