summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-07-02 08:36:46 +0200
committerRemi Collet <remi@php.net>2024-07-02 08:36:46 +0200
commitaea3b78b9e5d6aacb67ea0c66031f583dbca2a27 (patch)
tree2b34f2f783c3ef225e1659f656c8e715ddf2ee46
parent1537b51272415f45022aeec07652c4f04e31b8c3 (diff)
update to 1.19.3HEADmaster
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION4
-rw-r--r--php-pecl-mongodb.spec50
3 files changed, 7 insertions, 49 deletions
diff --git a/PHPINFO b/PHPINFO
index 19f2914..57f550e 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,7 +2,7 @@
mongodb
MongoDB support => enabled
-MongoDB extension version => 1.19.2
+MongoDB extension version => 1.19.3
MongoDB extension stability => stable
libbson headers version => 1.27.2
libbson library version => 1.27.2
diff --git a/REFLECTION b/REFLECTION
index df6424a..e85d4fd 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #103 mongodb version 1.19.2 ] {
+Extension [ <persistent> extension #104 mongodb version 1.19.3 ] {
- Dependencies {
Dependency [ date (Required) ]
@@ -14,7 +14,7 @@ Extension [ <persistent> extension #103 mongodb version 1.19.2 ] {
}
- Constants [2] {
- Constant [ string MONGODB_VERSION ] { 1.19.2 }
+ Constant [ string MONGODB_VERSION ] { 1.19.3 }
Constant [ string MONGODB_STABILITY ] { stable }
}
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index ceb85c1..79044ee 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -46,7 +46,7 @@
Summary: MongoDB driver for PHP
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-%global upstream_version 1.19.2
+%global upstream_version 1.19.3
#global upstream_prever beta1
#global upstream_lower ~beta1
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
@@ -78,16 +78,11 @@ BuildRequires: openssl-devel
BuildRequires: pkgconfig(libsasl2)
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(zlib)
-%if 0%{?rhel} == 7
-BuildRequires: snappy-devel
-BuildRequires: utf8proc-devel
-%else
BuildRequires: pkgconfig(snappy)
%if 0%{?rhel} == 9 || 0%{?fedora}
# EL-8 will use bundled as only in subversion module
BuildRequires: pkgconfig(libutf8proc)
%endif
-%endif
Provides: bundled(libbson) = %{bundled_libmongo}
Provides: bundled(mongo-c-driver) = %{bundled_libmongo}
Provides: bundled(libmongocrypt) = %{bundled_libcrypt}
@@ -104,26 +99,6 @@ Requires: %{?scl_prefix}php-json%{?_isa}
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} == 7
-# Other third party repo stuff
-Obsoletes: php56u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php56w-pecl-%{pecl_name} <= %{version}
-Obsoletes: php70u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
-Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
-Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
-%if "%{php_version}" > "7.3"
-Obsoletes: php73-pecl-%{pecl_name} <= %{version}
-Obsoletes: php73w-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "7.4"
-Obsoletes: php74-pecl-%{pecl_name} <= %{version}
-%endif
-%endif
-
-
%description
The purpose of this driver is to provide exceptionally thin glue between
MongoDB and PHP, implementing only fundemental and performance-critical
@@ -246,26 +221,6 @@ do install -Dpm 644 %{sources}/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
done
-%if 0%{?fedora} < 24 && 0%{?rhel} < 8
-# when pear installed alone, after us
-%triggerin -- %{?scl_prefix}php-pear
-if [ -x %{__pecl} ] ; then
- %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || :
-fi
-
-# posttrans as pear can be installed after us
-%posttrans
-if [ -x %{__pecl} ] ; then
- %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || :
-fi
-
-%postun
-if [ $1 -eq 0 -a -x %{__pecl} ] ; then
- %{pecl_uninstall} %{pecl_name} >/dev/null || :
-fi
-%endif
-
-
%check
OPT="-n"
[ -f %{php_extdir}/json.so ] && OPT="$OPT -d extension=json.so"
@@ -347,6 +302,9 @@ exit $ret
%changelog
+* Tue Jul 2 2024 Remi Collet <remi@remirepo.net> - 1.19.3-1
+- update to 1.19.3
+
* Thu Jun 6 2024 Remi Collet <remi@remirepo.net> - 1.19.2-1
- update to 1.19.2 (no change)
- EL-7 use bundled libbson and libmongc 1.27.2