summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-12-08 06:50:21 +0100
committerRemi Collet <fedora@famillecollet.com>2016-12-08 06:50:21 +0100
commit83d49ab2e8b81b770bf1cb61da65664183182414 (patch)
tree659b8f89aaf0e9ef589a7c21620df4de986a795c
parentf024789c8d0041f1ee72d97358620307221dff31 (diff)
php-pecl-mongodb: 1.2.1
-rw-r--r--REFLECTION4
-rw-r--r--php-pecl-mongodb.spec16
2 files changed, 12 insertions, 8 deletions
diff --git a/REFLECTION b/REFLECTION
index 5e99dd6..c819009 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #155 mongodb version 1.2.0 ] {
+Extension [ <persistent> extension #156 mongodb version 1.2.1 ] {
- Dependencies {
Dependency [ date (Required) ]
@@ -14,7 +14,7 @@ Extension [ <persistent> extension #155 mongodb version 1.2.0 ] {
}
- Constants [2] {
- Constant [ string MONGODB_VERSION ] { 1.2.0 }
+ Constant [ string MONGODB_VERSION ] { 1.2.1 }
Constant [ string MONGODB_STABILITY ] { stable }
}
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index a3da29b..b058a40 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -40,8 +40,8 @@
Summary: MongoDB driver for PHP
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 1.2.0
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 1.2.1
+Release: 1%{?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}
@@ -58,6 +58,9 @@ BuildRequires: openssl-devel
%if %{with_syslib}
BuildRequires: pkgconfig(libbson-1.0) >= 1.5
BuildRequires: pkgconfig(libmongoc-1.0) >= 1.5
+%else
+Provides: bundled(libbson) = 1.5.0
+Provides: bundled(mongo-c-driver) = 1.5.0
%endif
%if %{with_tests}
BuildRequires: mongodb-server
@@ -188,8 +191,7 @@ peclbuild zts-php
%install
-make -C NTS \
- install INSTALL_ROOT=%{buildroot}
+make -C NTS install INSTALL_ROOT=%{buildroot}
# install config file
install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
@@ -198,8 +200,7 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml
%if %{with_zts}
-make -C ZTS \
- install INSTALL_ROOT=%{buildroot}
+make -C ZTS install INSTALL_ROOT=%{buildroot}
install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
%endif
@@ -331,6 +332,9 @@ exit $ret
%changelog
+* Thu Dec 8 2016 Remi Collet <remi@fedoraproject.org> - 1.2.1-1
+- Update to 1.2.1
+
* Thu Dec 1 2016 Remi Collet <remi@fedoraproject.org> - 1.2.0-2
- rebuild with PHP 7.1.0 GA