summaryrefslogtreecommitdiffstats
path: root/php-pecl-http.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-http.spec')
-rw-r--r--php-pecl-http.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/php-pecl-http.spec b/php-pecl-http.spec
index d5e9ad0..a6477a1 100644
--- a/php-pecl-http.spec
+++ b/php-pecl-http.spec
@@ -27,7 +27,7 @@
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
Name: %{?scl_prefix}php-pecl-http
-Version: 2.1.0
+Version: 2.1.1
Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
Summary: Extended HTTP support
@@ -95,6 +95,7 @@ Obsoletes: %{?scl_prefix}php-pecl-http1 < 2
# Can't install both versions of the same extension
Conflicts: %{?scl_prefix}php-pecl-http1
%endif
+%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
Provides: %{?scl_prefix}php-pecl(%{proj_name}) = %{version}%{?prever}
Provides: %{?scl_prefix}php-pecl(%{proj_name})%{?_isa} = %{version}%{?prever}
@@ -240,11 +241,9 @@ done
%check
%if "%{php_version}" < "5.4"
# Known failed test with 5.3.3 (need investigations)
-rm ?TS/tests/envrequestbody001.phpt \
- ?TS/tests/envrequestbody002.phpt \
- ?TS/tests/envrequestbody003.phpt \
- ?TS/tests/envrequestjson002.phpt \
- ?TS/tests/envresponse015.phpt
+export REPORT_EXIT_STATUS=0
+%else
+export REPORT_EXIT_STATUS=1
%endif
# Shared needed extensions
@@ -268,7 +267,6 @@ SKIP_ONLINE_TESTS=1 \
TEST_PHP_EXECUTABLE=%{__php} \
TEST_PHP_ARGS="-n $modules -d extension=$PWD/modules/%{pecl_name}.so" \
NO_INTERACTION=1 \
-REPORT_EXIT_STATUS=1 \
%{__php} -n run-tests.php --show-diff
%endif
@@ -286,7 +284,6 @@ SKIP_ONLINE_TESTS=1 \
TEST_PHP_EXECUTABLE=%{__ztsphp} \
TEST_PHP_ARGS="-n $modules -d extension=$PWD/modules/%{pecl_name}.so" \
NO_INTERACTION=1 \
-REPORT_EXIT_STATUS=1 \
%{__ztsphp} -n run-tests.php --show-diff
%endif
%endif
@@ -329,6 +326,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Sep 09 2014 Remi Collet <remi@fedoraproject.org> - 2.1.1-1
+- Update to 2.1.1
+
* Mon Sep 1 2014 Remi Collet <remi@fedoraproject.org> - 2.1.0-1
- Update to 2.1.0