Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php7
:
extensions
>
php7-redis
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
php5-redis.spec
@@ -3,14 +3,14 @@ %define php_version %(php-config --version 2>/dev/null || echo PHPCONFIG_NOT_FOUND) # BuildPreReq: coreutils awk -Name: php5-redis +Name: php7-redis Version: 2.2.7 Release: 1 License: BSD Group: Productivity/Networking/Web/Servers BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build BuildRequires: php-devel -Requires: php5 = %{php_version} +Requires: php7 = %{php_version} URL: http://pecl.php.net/package/redis Source: %{pkg_name}-%{version}.tgz Summary: API for redis communication @@ -43,9 +43,9 @@ %install %__install -D -m0755 modules/redis.so %{buildroot}`php-config --extension-dir`/redis.so -%{__mkdir} -p %{buildroot}%{_sysconfdir}/php5/conf.d -echo "; comment out next line to disable redis extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/redis.ini -echo 'extension = redis.so' >> %{buildroot}%{_sysconfdir}/php5/conf.d/redis.ini +%{__mkdir} -p %{buildroot}%{_sysconfdir}/php7/conf.d +echo "; comment out next line to disable redis extension in php" > %{buildroot}%{_sysconfdir}/php7/conf.d/redis.ini +echo 'extension = redis.so' >> %{buildroot}%{_sysconfdir}/php7/conf.d/redis.ini %clean @@ -53,8 +53,8 @@ %files %defattr(-,root,root,-) -%{_libdir}/php5/extensions/redis.so -%config(noreplace) %{_sysconfdir}/php5/conf.d/redis.ini +%{_libdir}/php7/extensions/redis.so +%config(noreplace) %{_sysconfdir}/php7/conf.d/redis.ini %changelog