diff options
| -rw-r--r-- | php-pecl-mongodb.spec | 71 | 
1 files changed, 7 insertions, 64 deletions
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec index 7f41963..4d602e2 100644 --- a/php-pecl-mongodb.spec +++ b/php-pecl-mongodb.spec @@ -1,6 +1,6 @@  # remirepo spec file for php-pecl-mongodb  # -# Copyright (c) 2015-2021 Remi Collet +# Copyright (c) 2015-2025 Remi Collet  # License: CC-BY-SA  # http://creativecommons.org/licenses/by-sa/4.0/  # @@ -25,12 +25,8 @@  # test suite requires a MongoDB server  %bcond_with tests -# temp for EL-8 until available in EPEL -%if 0%{?fedora} >= 32 || 0%{?rhel} >= 8 -%bcond_without      syslib -%else +# use bundled libraries by default  %bcond_with         syslib -%endif  %if %{with syslib}  # Build dependency @@ -51,7 +47,7 @@ Name:           %{?sub_prefix}php-pecl-%{pecl_name}  #global upstream_prever  alpha1  #global upstream_lower   ~alpha1  Version:        %{upstream_version}%{?upstream_lower} -Release:        1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release:        2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}  License:        ASL 2.0  URL:            https://pecl.php.net/package/%{pecl_name}  Source0:        https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz @@ -96,39 +92,6 @@ Provides:       %{?scl_prefix}php-pecl-%{pecl_name}          = %{version}-%{rele  Provides:       %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa}  = %{version}-%{release}  %endif -%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -# Other third party repo stuff -%if "%{php_version}" > "5.6" -Obsoletes:     php56u-pecl-%{pecl_name} <= %{version} -Obsoletes:     php56w-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.0" -Obsoletes:     php70u-pecl-%{pecl_name} <= %{version} -Obsoletes:     php70w-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.1" -Obsoletes:     php71u-pecl-%{pecl_name} <= %{version} -Obsoletes:     php71w-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.2" -Obsoletes:     php72u-pecl-%{pecl_name} <= %{version} -Obsoletes:     php72w-pecl-%{pecl_name} <= %{version} -%endif -%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 -%if "%{php_version}" > "8.0" -Obsoletes:     php80-pecl-%{pecl_name}  <= %{version} -%endif -%if "%{php_version}" > "8.1" -Obsoletes:     php81-pecl-%{pecl_name}  <= %{version} -%endif -%endif -  %description  The purpose of this driver is to provide exceptionally thin glue between @@ -148,10 +111,6 @@ sed -e 's/role="test"/role="src"/' \      -i package.xml  cd NTS -%if 0%{?rhel} == 8 -# temporary: lower minimal required version -# sed -e 's/1.16.2/1.16.1/;s/1.0.3/1.0.1/' -i config.m4 -%endif  # Sanity check, really often broken  extver=$(sed -n '/#define PHP_MONGODB_VERSION /{s/.* "//;s/".*$//;p}' phongo_version.h) @@ -236,26 +195,6 @@ do install -Dpm 644 NTS/$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" @@ -337,6 +276,10 @@ exit $ret  %changelog +* Tue Apr  8 2025 Remi Collet <remi@remirepo.net> - 1.11.1-2 +- rebuild using bundled libraries +  see https://github.com/remicollet/remirepo/issues/299 +  * Wed Nov  3 2021 Remi Collet <remi@remirepo.net> - 1.11.1-1  - update to 1.11.1 (no change)  | 
