Difference Between Revision 1 and internetx:php5:extensions / php5-sphinx
[-] | Changed | php5-sphinx.changes |
1
2 ------------------------------------------------------------------- 3 +Fri Apr 22 07:03:44 UTC 2016 - cs@linux-administrator.com 4 + 5 +- update to 1.4.0-dev 6 + 7 +------------------------------------------------------------------- 8 Tue Aug 4 08:46:47 UTC 2015 - cs@linux-administrator.com 9 10 - update to release 1.3.3 11 |
||
[-] | Changed | php5-sphinx.spec ^ |
48 1
2 # norootforbuild 3 %define pkg_name sphinx 4 -%define pkg_version 1.3.3 5 +%define pkg_version 1.3.99.1 6 %define php_version %(php-config --version 2>/dev/null) 7 # 8 -Name: php5-sphinx 9 +Name: php7-sphinx 10 Version: %{pkg_version} 11 Release: 1 12 # 13
14 Group: Productivity/Networking/Web/Servers 15 # 16 BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build 17 -BuildRequires: php5-devel libsphinxclient-devel gcc gcc-c++ 18 -Requires: php5 = %{php_version} 19 +BuildRequires: php7-devel libsphinxclient-devel gcc gcc-c++ 20 +Requires: php7 = %{php_version} 21 # 22 URL: http://pecl.php.net/ 23 Source: http://pecl.php.net/package/%{pkg_name}/%{pkg_name}-%{version}.tgz 24
25 26 %install 27 %makeinstall -C %{name} INSTALL_ROOT=%{buildroot} 28 -%{__mkdir} -p %{buildroot}%{_sysconfdir}/php5/conf.d 29 -echo "; comment out next line to disable sphinx extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/sphinx.ini 30 -echo "extension = sphinx.so" >> %{buildroot}%{_sysconfdir}/php5/conf.d/sphinx.ini 31 +%{__mkdir} -p %{buildroot}%{_sysconfdir}/php7/conf.d 32 +echo "; comment out next line to disable sphinx extension in php" > %{buildroot}%{_sysconfdir}/php7/conf.d/sphinx.ini 33 +echo "extension = sphinx.so" >> %{buildroot}%{_sysconfdir}/php7/conf.d/sphinx.ini 34 35 36 %clean 37
38 39 %files 40 %defattr(-,root,root,-) 41 -%{_libdir}/php5/extensions/sphinx.so 42 -%config(noreplace) %{_sysconfdir}/php5/conf.d/sphinx.ini 43 +%{_libdir}/php7/extensions/sphinx.so 44 +%config(noreplace) %{_sysconfdir}/php7/conf.d/sphinx.ini 45 46 %doc CREDITS 47 48 |
||
Added | sphinx-1.3.99.1.tgz ^ |