From da074676f1ef69960324d46132b932658baec5d7 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 3 Dec 2008 08:54:43 +0000 Subject: [PATCH] Updated suse build git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13133 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/redhat/gosa.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gosa-core/redhat/gosa.spec b/gosa-core/redhat/gosa.spec index 7e5e80570..8b4236bd0 100644 --- a/gosa-core/redhat/gosa.spec +++ b/gosa-core/redhat/gosa.spec @@ -25,7 +25,7 @@ Patch1: 02_fix_class_mapping.patch Patch2: 03_fix_locale_location.patch Patch3: 04_fix_online_help_location.patch %if %{suse} -Requires: apache2,apache2-mod_php5,php5,php5-gd,php5-ldap,php5-mcrypt,php5-mysql,php5-imap,php5-iconv,php5-hash,php5-mbstring,php5-gettext,ImageMagick +Requires: apache2,apache2-mod_php5,php5,php5-gd,php5-ldap,php5-mcrypt,php5-mysql,php5-imap,php5-iconv,php5-hash,php5-mbstring,php5-gettext,ImageMagick,gettext-tools %else Requires: httpd,php,php-ldap,php-imap,php-snmp,php-mysql,php-mbstring,ImageMagick,php-mhash,perl-Crypt-SmbHash %endif @@ -256,6 +256,10 @@ do gzip $x done +%if %{suse} + sed -i 's#/usr/bin/php#/usr/bin/php5#' %{buildroot}/usr/bin/update-gosa +%endif + # Copy manpages mv ./*.1.gz %{buildroot}/usr/share/man/man1/ gzip -c contrib/gosa.1 > contrib/gosa.1.gz -- 2.30.2