SPECS: php-eaccelerator.spec - use _name as _webapp, how about _ap...

gotar gotar at pld-linux.org
Sat Jun 9 02:06:29 CEST 2007


Author: gotar                        Date: Sat Jun  9 00:06:29 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use _name as _webapp, how about _appdir?

---- Files affected:
SPECS:
   php-eaccelerator.spec (1.56 -> 1.57) 

---- Diffs:

================================================================
Index: SPECS/php-eaccelerator.spec
diff -u SPECS/php-eaccelerator.spec:1.56 SPECS/php-eaccelerator.spec:1.57
--- SPECS/php-eaccelerator.spec:1.56	Sat Jun  9 02:01:14 2007
+++ SPECS/php-eaccelerator.spec	Sat Jun  9 02:06:24 2007
@@ -3,7 +3,7 @@
 %define		_name		eaccelerator
 %define		_pkgname	eaccelerator
 %define		_webapps	/etc/webapps
-%define		_webapp		%{name}
+%define		_webapp		%{_name}
 %define		_sysconfdir	%{_webapps}/%{_webapp}
 %define		_appdir		%{_datadir}/%{name}
 Summary:	eAccelerator module for PHP
@@ -68,8 +68,8 @@
 %setup -q -n %{_pkgname}-%{version}
 
 cat > apache.conf <<EOF
-Alias /%{name} %{_appdir}
-<Directory /%{name}>
+Alias /%{_webapp} %{_appdir}
+<Directory /%{_appdir}>
 	Allow from 127.0.0.1
 </Directory>
 EOF
@@ -158,6 +158,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.57  2007/06/09 00:06:24  gotar
+- use _name as _webapp, how about _appdir?
+
 Revision 1.56  2007/06/09 00:01:14  gotar
 - webapps support
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-eaccelerator.spec?r1=1.56&r2=1.57&f=u



More information about the pld-cvs-commit mailing list