Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php7
:
EL7
>
php-pecl-sphinx
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 8
[-]
[+]
Changed
php-pecl-sphinx.spec
@@ -2,6 +2,7 @@ %global php_zendabiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP Extension => //p') | tail -1) %global php_version %((echo 0; php-config --version 2>/dev/null) | tail -1) +%global php_pkg_version %((echo 0; rpm -q php5 --qf '%{version}-%{release}\n' 2>/dev/null) | tail -1) %global basepkg php %global pecl_name sphinx %global with_zts 0%{?__ztsphp:1} @@ -20,7 +21,7 @@ # BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build BuildRequires: php-devel libsphinxclient-devel gcc gcc-c++ -Requires: php = %{php_version} +Requires: php = %{php_pkg_version} # URL: http://pecl.php.net/ Source: http://pecl.php.net/package/%{pkg_name}/%{pkg_name}-%{version}.tgz