@@ -27,16 +27,17 @@
Version: %{my_version}
Release: 0
#
-@@ -27,7 +27,7 @@ BuildRoot: %{_tmppath}/%{pkg_name}-%{ver
+@@ -27,8 +27,8 @@ BuildRoot: %{_tmppath}/%{pkg_name}-%{ver
#yes, PHP modules are required for build, as configure tests it's precence, to enable
#or disable features.
BuildRequires: php-devel curl-devel file-devel libevent php-iconv php-hash
--Requires: php5 = %{php_version} php-iconv php-hash
+Requires: php7 = %{php_version} php-iconv php-hash
+ BuildRequires: pkg-config libevent-devel libidn-devel libicu-devel
+-Requires: php5 = %{php_version} php-iconv php-hash
#
URL: http://pecl.php.net/pecl_http
Source: http://pecl.php.net/package/pecl_http/%{pkg_name}-%{my_version}.tar.bz2
-@@ -36,7 +36,8 @@ Source1: http.ini
+@@ -37,7 +37,8 @@ Source1: http.ini
%else
Source1: http-2.4.3.ini
%endif
@@ -46,7 +47,7 @@
Summary: Extended HTTP Support
%description
-@@ -48,9 +49,9 @@ Authors:
+@@ -49,9 +50,9 @@ Authors:
Michael Wallner <mike@php.net>
%package devel
@@ -58,7 +59,7 @@
%description devel
-@@ -72,8 +73,8 @@ Authors:
+@@ -73,8 +74,8 @@ Authors:
%build
if [ -x /usr/bin/php ] ; then
export PHP_EXECUTABLE="/usr/bin/php"
@@ -69,7 +70,7 @@
else
export PHP_EXECUTABLE="/usr/local/bin/php"
fi
-@@ -117,14 +118,14 @@ unset NO_INTERACTION REPORT_EXIT_STATUS
+@@ -118,14 +119,14 @@ unset NO_INTERACTION REPORT_EXIT_STATUS
%install
%makeinstall INSTALL_ROOT=%{buildroot}
@@ -87,7 +88,7 @@
if [ -f ${file} ] ; then
sed -i -r s@"^(extension\s?=.*)"@";\1"@ ${file}
fi
-@@ -132,46 +133,20 @@ done
+@@ -133,46 +134,20 @@ done
%files
%defattr(-,root,root,-)
|