@@ -1,6 +1,6 @@
--- php5-pecl_http.spec.orig
+++ php5-pecl_http.spec
-@@ -2,21 +2,21 @@
+@@ -2,20 +2,21 @@
%define pkg_name pecl_http
%define pkg_version %(php-config --version | awk -F. '{print $1"."$2 }' 2>/dev/null || echo PHPCONFIG_NOT_FOUND)
%define php_version %(php-config --version 2>/dev/null)
@@ -10,7 +10,6 @@
+%define my_version 3.1.0
%define upstream 1
BuildRequires: libevent-devel
--BuildRequires: libevent2
-BuildRequires: php5-raphf
-BuildRequires: php5-propro
-Requires: php5-raphf
@@ -30,7 +29,7 @@
Version: %{my_version}
Release: 0
#
-@@ -28,8 +28,8 @@ BuildRoot: %{_tmppath}/%{pkg_name}-%{ver
+@@ -27,8 +28,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
@@ -40,7 +39,7 @@
#
URL: http://pecl.php.net/pecl_http
Source: http://pecl.php.net/package/pecl_http/%{pkg_name}-%{my_version}.tar.bz2
-@@ -38,7 +38,8 @@ Source1: http.ini
+@@ -37,7 +38,8 @@ Source1: http.ini
%else
Source1: http-2.4.3.ini
%endif
@@ -50,7 +49,7 @@
Summary: Extended HTTP Support
%description
-@@ -50,9 +51,9 @@ Authors:
+@@ -49,9 +51,9 @@ Authors:
Michael Wallner <mike@php.net>
%package devel
@@ -62,7 +61,7 @@
%description devel
-@@ -65,17 +66,17 @@ Authors:
+@@ -64,17 +66,17 @@ Authors:
%prep
%setup -q -n %{pkg_name}-%{my_version}
@@ -85,7 +84,7 @@
else
export PHP_EXECUTABLE="/usr/local/bin/php"
fi
-@@ -119,14 +120,14 @@ unset NO_INTERACTION REPORT_EXIT_STATUS
+@@ -118,14 +120,14 @@ unset NO_INTERACTION REPORT_EXIT_STATUS
%install
%makeinstall INSTALL_ROOT=%{buildroot}
@@ -103,7 +102,7 @@
if [ -f ${file} ] ; then
sed -i -r s@"^(extension\s?=.*)"@";\1"@ ${file}
fi
-@@ -134,46 +135,20 @@ done
+@@ -133,46 +135,20 @@ done
%files
%defattr(-,root,root,-)
|