diff options
Diffstat (limited to 'php-pecl-mongo.spec')
-rw-r--r-- | php-pecl-mongo.spec | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/php-pecl-mongo.spec b/php-pecl-mongo.spec index 3eae4bb..e08c319 100644 --- a/php-pecl-mongo.spec +++ b/php-pecl-mongo.spec @@ -6,7 +6,7 @@ %global pecl_name mongo %global with_zts 0%{?__ztsphp:1} #global prever RC2 -%global gh_commit ca4f270d5e6110b1b45e39ffb72dce16530e3da9 +%global gh_commit e79ddd583601cb476d7c2fe87298a4e2e4f4d1a8 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner mongodb %global gh_project mongo-php-driver @@ -21,8 +21,8 @@ Summary: PHP MongoDB database driver Name: %{?scl_prefix}php-pecl-mongo -Version: 1.5.5 -Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Version: 1.5.6 +Release: 1%{?dist}%{!?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} @@ -45,6 +45,7 @@ Requires(post): %{__pecl} Requires(postun): %{__pecl} Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} +%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} @@ -53,17 +54,17 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} # Other third party repo stuff -Obsoletes: php53-pecl-%{pecl_name} -Obsoletes: php53u-pecl-%{pecl_name} -Obsoletes: php54-pecl-%{pecl_name} -Obsoletes: php54w-pecl-%{pecl_name} +Obsoletes: php53-pecl-%{pecl_name} <= %{version} +Obsoletes: php53u-pecl-%{pecl_name} <= %{version} +Obsoletes: php54-pecl-%{pecl_name} <= %{version} +Obsoletes: php54w-pecl-%{pecl_name} <= %{version} %if "%{php_version}" > "5.5" -Obsoletes: php55u-pecl-%{pecl_name} -Obsoletes: php55w-pecl-%{pecl_name} +Obsoletes: php55u-pecl-%{pecl_name} <= %{version} +Obsoletes: php55w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "5.6" -Obsoletes: php56u-pecl-%{pecl_name} -Obsoletes: php56w-pecl-%{pecl_name} +Obsoletes: php56u-pecl-%{pecl_name} <= %{version} +Obsoletes: php56w-pecl-%{pecl_name} <= %{version} %endif %endif @@ -80,6 +81,8 @@ MongoDB database in PHP. Documentation: http://php.net/mongo +Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection}. + %prep %setup -c -q @@ -216,6 +219,9 @@ rm -rf data %changelog +* Tue Sep 16 2014 Remi Collet <remi@fedoraproject.org> - 1.5.6-1 +- Update to 1.5.6 (stable) + * Mon Aug 25 2014 Remi Collet <rcollet@redhat.com> - 1.5.5-2 - allow SCL build |