summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-08-24 17:57:15 +0200
committerRemi Collet <remi@remirepo.net>2017-08-24 17:57:15 +0200
commitd1a051cc8e96cdc285b34880aa2547f885849c64 (patch)
tree92faac1a07b6fda326b1f293d29fb0770b69bf7a
parentd3de2611eef193c03fc753e2e971a42c68e9bdbf (diff)
License is ASL 2.0
make dependency on mongodb, redis and memcached optional
-rw-r--r--php-pecl-molten.spec16
1 files changed, 11 insertions, 5 deletions
diff --git a/php-pecl-molten.spec b/php-pecl-molten.spec
index 181e0c4..7e355e6 100644
--- a/php-pecl-molten.spec
+++ b/php-pecl-molten.spec
@@ -28,8 +28,8 @@
Summary: Extension for application tracing
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
-License: MIT
+Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+License: ASL 2.0
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{proj_name}-%{upstream_version}%{?upstream_prever}.tgz
@@ -50,12 +50,14 @@ Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
Requires: %{?scl_prefix}php-json%{?_isa}
Requires: %{?scl_prefix}php-curl%{?_isa}
-Requires: %{?scl_prefix}php-pecl-memcached%{?_isa}
-Requires: %{?scl_prefix}php-pecl-redis%{?_isa}
-Requires: %{?scl_prefix}php-pecl-mongodb%{?_isa}
Requires: %{?scl_prefix}php-mysqlnd%{?_isa}
Requires: %{?scl_prefix}php-pdo%{?_isa}
%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
+%if 0%{?fedora}
+Suggests: %{?scl_prefix}php-pecl-memcached%{?_isa}
+Suggests: %{?scl_prefix}php-pecl-redis%{?_isa}
+Suggests: %{?scl_prefix}php-pecl-mongodb%{?_isa}
+%endif
Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
@@ -293,5 +295,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Thu Aug 24 2017 Remi Collet <remi@remirepo.net> - 0.1.2~beta-2
+- License is ASL 2.0
+- make dependency on mongodb, redis and memcached optional
+
* Thu Aug 17 2017 Remi Collet <remi@remirepo.net> - 0.1.2~beta-1
- initial package