Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php7
:
extensions
>
php7-memcached
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
php5-memcached.spec
@@ -4,7 +4,7 @@ %define pkg_version 2.2.0 %define php_version %(php-config --version 2>/dev/null) # -Name: php5-memcached +Name: php7-memcached Version: %{pkg_version} Release: 1 # @@ -12,9 +12,9 @@ Group: Productivity/Networking/Web/Servers # BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build -BuildRequires: php5-devel libmemcached libmemcached-devel gcc gcc-c++ pkg-config +BuildRequires: php7-devel libmemcached libmemcached-devel gcc gcc-c++ pkg-config BuildRequires: cyrus-sasl-devel -Requires: php5 = %{php_version} +Requires: php7 = %{php_version} # URL: http://pecl.php.net/ Source: http://pecl.php.net/package/%{pkg_name}/%{pkg_name}-%{src_version}.tgz @@ -56,9 +56,9 @@ %install %makeinstall -C %{name} INSTALL_ROOT=%{buildroot} -%{__mkdir} -p %{buildroot}%{_sysconfdir}/php5/conf.d -echo "; comment out next line to disable memcached extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/memcached.ini -echo "extension = memcached.so" >> %{buildroot}%{_sysconfdir}/php5/conf.d/memcached.ini +%{__mkdir} -p %{buildroot}%{_sysconfdir}/php7/conf.d +echo "; comment out next line to disable memcached extension in php" > %{buildroot}%{_sysconfdir}/php7/conf.d/memcached.ini +echo "extension = memcached.so" >> %{buildroot}%{_sysconfdir}/php7/conf.d/memcached.ini %clean @@ -66,8 +66,8 @@ %files %defattr(-,root,root,-) -%{_libdir}/php5/extensions/memcached.so -%config(noreplace) %{_sysconfdir}/php5/conf.d/memcached.ini +%{_libdir}/php7/extensions/memcached.so +%config(noreplace) %{_sysconfdir}/php7/conf.d/memcached.ini %doc CREDITS