Search
j0ke.net Open Build Service
>
Projects
>
server:php:applications
>
horde-groupware-webmail
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 6
[-]
[+]
Changed
horde-webmail.spec
@@ -9,17 +9,20 @@ Name: horde-webmail %if 0%{?suse_version} >= 1010 || 0%{?sles_version} >= 10 %define _phpdir php5 +%define _apxs /usr/sbin/apxs2 BuildRequires: apache2-devel Requires: mod_php_any %endif %if 0%{?suse_version} < 1010 && 0%{?suse_version} > 0 || 0%{?sles_version} == 9 -%define _phpdir php +%define _phpdir php +%define _apxs /usr/sbin/apxs2 BuildRequires: apache2-devel Requires: mod_php_any %endif %if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} %define _phpdir php +%define _apxs /usr/sbin/apxs BuildRequires: httpd-devel Requires: mod_php %endif @@ -43,7 +46,7 @@ manage and share calendars, contacts, tasks and notes with the standards compliant components from the Horde Project. -%define serverroot %(/usr/sbin/apxs2 -q datadir)/htdocs/ +%define serverroot %(%{_apxs} -q datadir)/htdocs/ %define apache_horde %{serverroot}/horde %debug_package %prep @@ -51,7 +54,7 @@ %build : if the following command fails, then apache dependencies are not met -/usr/sbin/apxs2 -q datadir >/dev/null +%{_apxs} -q datadir >/dev/null cd config for i in *.dist; do %__cp $i ${i%.dist}; done