mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
2006-12-29 Manuel Arostegui <marostegui@artica.es>
* pandora_console.spec: Added missing path. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1225be5cb6
commit
3cd70d293d
@ -1,3 +1,7 @@
|
|||||||
|
2006-12-29 Manuel Arostegui <marostegui@artica.es>
|
||||||
|
|
||||||
|
* pandora_console.spec: Added missing path.
|
||||||
|
|
||||||
2006-12-29 Manuel Arostegui <marostegui@artica.es>
|
2006-12-29 Manuel Arostegui <marostegui@artica.es>
|
||||||
|
|
||||||
* pandora_console.spec: Added to reposistory. Pandora Console final spec
|
* pandora_console.spec: Added to reposistory. Pandora Console final spec
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
%define is_rh7 %(test -n "`cat /etc/redhat-release | grep '(Valhalla)'`" && echo 1 || echo 0)
|
%define is_rh7 %(test -n "`cat /etc/redhat-release | grep '(Valhalla)'`" && echo 1 || echo 0)
|
||||||
%define is_el2 %(test -n "`cat /etc/redhat-release | grep '(Pensacola)'`" && echo 1 || echo 0)
|
%define is_el2 %(test -n "`cat /etc/redhat-release | grep '(Pensacola)'`" && echo 1 || echo 0)
|
||||||
%define is_centos2 %(test -n "`cat /etc/redhat-release | grep 'CentOS release 2'`" && echo 1 || echo 0)
|
%define is_centos2 %(test -n "`cat /etc/redhat-release | grep 'CentOS release 2'`" && echo 1 || echo 0)
|
||||||
|
%define is_fedora %(test -n "`cat /etc/redhat-release | grep 'Fedora'`" && echo 1 || echo 0)
|
||||||
%endif
|
%endif
|
||||||
%define is_apache 0
|
%define is_apache 0
|
||||||
%if %{is_rh7}
|
%if %{is_rh7}
|
||||||
@ -39,6 +40,9 @@
|
|||||||
%endif
|
%endif
|
||||||
%if %{is_centos2}
|
%if %{is_centos2}
|
||||||
%define is_apache 1
|
%define is_apache 1
|
||||||
|
%if %{is_fedora}
|
||||||
|
%define is_apache 1
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
# Evaluate PHP version
|
# Evaluate PHP version
|
||||||
%define phpver_lt_430 %(out=`rpm -q --queryformat='%{VERSION}' php` 2>&1 >/dev/null || out=0 ; out=`echo $out | tr . : | sed s/://g` ; if [ $out -lt 430 ] ; then out=1 ; else out=0; fi ; echo $out)
|
%define phpver_lt_430 %(out=`rpm -q --queryformat='%{VERSION}' php` 2>&1 >/dev/null || out=0 ; out=`echo $out | tr . : | sed s/://g` ; if [ $out -lt 430 ] ; then out=1 ; else out=0; fi ; echo $out)
|
||||||
@ -57,7 +61,7 @@ Packager: Manuel Arostegui <marostegui@artica.es>
|
|||||||
%if "%{_vendor}" == "suse"
|
%if "%{_vendor}" == "suse"
|
||||||
Prefix: /srv/www
|
Prefix: /srv/www
|
||||||
%else
|
%else
|
||||||
Prefix: /var/www
|
Prefix: /var/www/html
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||||
BuildArchitectures: noarch
|
BuildArchitectures: noarch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user