public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: make libdb usage conditional
Date: Fri, 27 Nov 2026 07:31:14 GMT [thread overview]
Message-ID: <179576467496.1.1698075349881835003.rpms-php-4edab40b67c0@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/php
Branch : private-php86
Commit : 4edab40b67c031eac20bff1fa7d36dffa47c52fd
Author : Remi Collet <remi@fedoraproject.org>
Date : 2021-03-19T14:38:07+01:00
Stats : +17/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/php/c/4edab40b67c031eac20bff1fa7d36dffa47c52fd?branch=private-php86
Log:
make libdb usage conditional
default: on for Fedora, off for RHEL
---
diff --git a/php.spec b/php.spec
index 831ae09..9ffcafe 100644
--- a/php.spec
+++ b/php.spec
@@ -41,6 +41,7 @@
%bcond_without sodium
%bcond_without pspell
%bcond_without tidy
+%bcond_without db4
%else
# Disabled by default on RHEL
%bcond_with zts
@@ -49,6 +50,7 @@
%bcond_with sodium
%bcond_with pspell
%bcond_with tidy
+%bcond_with db4
%endif
%bcond_with modphp
%bcond_with imap
@@ -60,7 +62,7 @@
Summary: PHP scripting language for creating dynamic web sites
Name: php
Version: %{upver}%{?rcver:~%{rcver}}
-Release: 1%{?dist}
+Release: 2%{?dist}
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
@@ -563,7 +565,9 @@ using the GNU MP library.
Summary: A database abstraction layer module for PHP applications
# All files licensed under PHP version 3.01
License: PHP
+%if %{with db4}
BuildRequires: libdb-devel
+%endif
BuildRequires: tokyocabinet-devel
%if %{with lmdb}
BuildRequires: lmdb-devel
@@ -898,7 +902,10 @@ build --libdir=%{_libdir}/php \
--enable-bcmath=shared \
--with-bz2=shared \
--enable-ctype=shared \
- --enable-dba=shared --with-db4=%{_prefix} \
+ --enable-dba=shared \
+%if %{with db4}
+ --with-db4=%{_prefix} \
+%endif
--with-tcadb=%{_prefix} \
%if %{with lmdb}
--with-lmdb=%{_prefix} \
@@ -1028,7 +1035,10 @@ build --includedir=%{_includedir}/php-zts \
--enable-bcmath=shared \
--with-bz2=shared \
--enable-ctype=shared \
- --enable-dba=shared --with-db4=%{_prefix} \
+ --enable-dba=shared \
+%if %{with db4}
+ --with-db4=%{_prefix} \
+%endif
--with-tcadb=%{_prefix} \
%if %{with lmdb}
--with-lmdb=%{_prefix} \
@@ -1508,6 +1518,10 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
%changelog
+* Fri Mar 19 2021 Remi Collet <remi@remirepo.net> - 8.0.4~RC1-2
+- make libdb usage conditional
+ default: on for Fedora, off for RHEL
+
* Tue Mar 16 2021 Remi Collet <remi@remirepo.net> - 8.0.4~RC1-1
- update to 8.0.4RC1
reply other threads:[~2026-11-27 7:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179576467496.1.1698075349881835003.rpms-php-4edab40b67c0@fedoraproject.org \
--to=remi@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox