[packages/apache-php-fcgi: 5/7] update for apache2, use php 5.6 by default
glen
glen at pld-linux.org
Tue May 26 18:08:52 CEST 2015
commit 0e7e3506b6114168c3cdda00bd64a350b31c315a
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue May 26 19:03:25 2015 +0300
update for apache2, use php 5.6 by default
apache-php-fcgi.spec | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/apache-php-fcgi.spec b/apache-php-fcgi.spec
index 79a294f..51077e1 100644
--- a/apache-php-fcgi.spec
+++ b/apache-php-fcgi.spec
@@ -1,21 +1,21 @@
-%define apxs /usr/sbin/apxs1
+%define apxs /usr/sbin/apxs
Summary: Support for the PHP via FastCGI protocol for Apache webserver
-Name: apache1-php-fcgi
-Version: 5.2.6
-Release: 3
+Name: apache-php-fcgi
+Version: 5.6
+Release: 1
License: GPL
Group: Applications/WWW
-BuildRequires: apache1-devel >= 1.3.39
+BuildRequires: apache-devel >= 1.3.39
BuildRequires: rpmbuild(macros) >= 1.268
-Requires: apache1-mod_fastcgi
-Requires: php-fcgi >= 4:%{version}
+Requires: apache-mod_fastcgi
+Requires: php(fcgi)
Requires: php-fcgi-init
Provides: webserver(php) = %{version}
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)
-%define fcgiapp /usr/bin/php.fcgi
+%define fcgiapp /usr/bin/php56.fcgi
%description
This virtual package provides support for the PHP via FastCGI
@@ -53,11 +53,11 @@ cp -a apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/90_php-fcgi.conf
rm -rf $RPM_BUILD_ROOT
%post
-%service -q apache restart
+%service -q httpd restart
%postun
if [ "$1" = "0" ]; then
- %service -q apache restart
+ %service -q httpd restart
fi
%files
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apache-php-fcgi.git/commitdiff/df585f07f45db72d1c6613a5fd2e58fff3dfb815
More information about the pld-cvs-commit
mailing list