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