From 14aa3478312d1ed315f8a2ca7e3a24d3c9f0ad9d Mon Sep 17 00:00:00 2001 From: scheiter Date: Fri, 29 Dec 2006 06:10:03 +0000 Subject: [PATCH] Lowered deps for OL git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5464 594d385d-05f5-0310-b6e9-bd551577e9d8 --- contrib/gosa.spec | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/contrib/gosa.spec b/contrib/gosa.spec index af9e48a47..cf8208b0e 100644 --- a/contrib/gosa.spec +++ b/contrib/gosa.spec @@ -11,7 +11,7 @@ # Summary: Web Based LDAP Administration Program Name: gosa -Version: 2.5.4 +Version: 2.5.7 Release: 1 License: GPL Source: ftp://oss.GONICUS.de/pub/gosa/%{sourcename}.tar.bz2 @@ -55,7 +55,7 @@ and can write user adapted sieve scripts. Group: System/Administration Summary: Schema Definitions for the GOSA package %if %{suse} -Requires: openldap2 >= 2.2.6 +Requires: openldap2 >= 2.1.22 %else Requires: openldap-servers >= 2.2.0 %endif @@ -173,6 +173,14 @@ rm -rf %{buildroot} # Add shells file to /etc/gosa /bin/cp /etc/shells /etc/gosa +%pre +# Cleanup compile dir on updates, always exit cleanly even on errors +[ -d /var/spool/gosa ] && rm -rf /var/spool/gosa/* ; exit 0 + +%postun +# Remove temporary files, just to be sure +[ -d /var/spool/gosa ] && rm -rf /var/spool/gosa/ ; exit 0 + %files %defattr(-,%{apacheuser},%{apachegroup}) %doc %attr(-,root,root) AUTHORS TODO README README.safemode Changelog COPYING INSTALL FAQ @@ -211,6 +219,15 @@ rm -rf %{buildroot} /usr/share/gosa/doc/guide/user/nl %changelog +* Wed Dec 20 2006 Lars Scheiter 2.5.7 +- New upstream +- %pre and %postun always end successfully now, even on errors + +* Fri Nov 17 2006 Lars Scheiter 2.5.6 +- New upstream +- Cleanup temporary dir after package removal +- Cleanup temporary dir before update + * Thu Sep 28 2006 Lars Scheiter 2.5.4 - New upstream version - Downgraded SuSE dependencies to php4 -- 2.30.2