summaryrefslogtreecommitdiffstats
path: root/php-pecl-raphf.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-11-16 07:22:28 +0100
committerRemi Collet <fedora@famillecollet.com>2013-11-16 07:22:28 +0100
commit82ba69a165488f9f9f193a0bd9254a89ce24d808 (patch)
treeb9ba768f9961bfc34b907bd09ad99df39623af09 /php-pecl-raphf.spec
parent06f8c501c8a1b9d3b8490fd5f779ec007876caa1 (diff)
php-pecl-raphf: cleanup
Diffstat (limited to 'php-pecl-raphf.spec')
-rw-r--r--php-pecl-raphf.spec17
1 files changed, 15 insertions, 2 deletions
diff --git a/php-pecl-raphf.spec b/php-pecl-raphf.spec
index b701d01..a4de69f 100644
--- a/php-pecl-raphf.spec
+++ b/php-pecl-raphf.spec
@@ -13,7 +13,8 @@
%global with_zts 0%{?__ztsphp:1}
%global pecl_name raphf
-# test disable by default, circular dependency on pecl/http
+# tests disabled because of circular dependency on pecl/http
+# tests requires not yet release pecl/http 2.0.0beta6
%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
Summary: Resource and persistent handles factory
@@ -42,12 +43,21 @@ Provides: php-%{pecl_name}%{?_isa} = %{version}
Provides: php-pecl(%{pecl_name}) = %{version}
Provides: php-pecl(%{pecl_name})%{?_isa} = %{version}
+# Other third party repo stuff
+Obsoletes: php53-pecl-raphf
+Obsoletes: php53u-pecl-raphf
+Obsoletes: php54-pecl-raphf
+%if "%{php_version}" > "5.5"
+Obsoletes: php55u-pecl-raphf
+%endif
+
%if 0%{?fedora} < 20
# Filter shared private
%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
%{?filter_setup}
%endif
+
%description
A reusable split-off of pecl_http's persistent handle and resource
factory API.
@@ -82,9 +92,12 @@ cp -pr NTS ZTS
%endif
# Create configuration file
-cat > %{pecl_name}.ini << 'EOF'
+cat << 'EOF' | tee %{pecl_name}.ini
; Enable %{pecl_name} extension module
extension=%{pecl_name}.so
+
+; Configuration
+;raphf.persistent_handle.limit = -1
EOF