summaryrefslogtreecommitdiffstats
path: root/php-pecl-mongodb.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-11-11 08:02:42 +0100
committerRemi Collet <remi@remirepo.net>2020-11-11 08:02:42 +0100
commit3bc9a48545bfaa6fccf4ce7914e87708b8cf7745 (patch)
treef94b54ab7c4f8172afd359112c0217f4e3cf3bd7 /php-pecl-mongodb.spec
parentac35bf9e4a1d04b4fec70ea2c13fbe898fbccfb3 (diff)
update to 1.9.0RC1 (beta)
Diffstat (limited to 'php-pecl-mongodb.spec')
-rw-r--r--php-pecl-mongodb.spec15
1 files changed, 12 insertions, 3 deletions
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index bacc5fc..ad2ac50 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -41,9 +41,9 @@
Summary: MongoDB driver for PHP
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-%global upstream_version 1.8.2
-#global upstream_prever RC1
-#global upstream_lower ~rc1
+%global upstream_version 1.9.0
+%global upstream_prever RC1
+%global upstream_lower ~rc1
Version: %{upstream_version}%{?upstream_lower}
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: ASL 2.0
@@ -54,6 +54,9 @@ BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 7.0
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-json
+%if 0%{?rhel} == 6
+BuildRequires: autoconf268
+%endif
%if %{with_syslib}
BuildRequires: pkgconfig(libbson-1.0) >= %{libmongo}
BuildRequires: pkgconfig(libmongoc-1.0) >= %{libmongo}
@@ -173,6 +176,9 @@ EOF
%build
+%if 0%{?rhel} == 6
+export PHP_AUTOCONF=autoconf268;export PHP_AUTOHEADER=autoheader268
+%endif
%{?dtsenable}
peclbuild() {
@@ -340,6 +346,9 @@ exit $ret
%changelog
+* Wed Nov 11 2020 Remi Collet <remi@remirepo.net> - 1.9.0~RC1-1
+- update to 1.9.0RC1 (beta)
+
* Thu Nov 5 2020 Remi Collet <remi@remirepo.net> - 1.8.2-1
- update to 1.8.2 (no change)
- with libbson and libmongoc 1.17.2