Code

Updated suse build
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Dec 2008 08:54:43 +0000 (08:54 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Dec 2008 08:54:43 +0000 (08:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13133 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/redhat/gosa.spec

index 7e5e8057041de5afd3280cb5c4bf19d540d106b6..8b4236bd03c3ddb48241cbcb9722774f08593d60 100644 (file)
@@ -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