summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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