public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: switch (conditionally) to libdb-devel
@ 2026-11-27  7:24 Joe Orton
  0 siblings, 0 replies; only message in thread
From: Joe Orton @ 2026-11-27  7:24 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : 0df8ed9bda210db9f68c35c377a2c915d129a641
Author : Joe Orton <jorton@redhat.com>
Date   : 2012-04-25T09:12:46+01:00
Stats  : +8/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/0df8ed9bda210db9f68c35c377a2c915d129a641?branch=private-php86

Log:
switch (conditionally) to libdb-devel

---
diff --git a/php.spec b/php.spec
index 736ecd0..0862143 100644
--- a/php.spec
+++ b/php.spec
@@ -47,6 +47,12 @@
 %global zipmod       %nil
 %endif
 
+%if 0%{?fedora} < 18
+%global db_devel  db4-devel
+else
+%global db_devel  libdb-devel
+%endif
+
 Summary: PHP scripting language for creating dynamic web sites
 Name: php
 Version: 5.4.0
@@ -88,7 +94,7 @@ Patch44: php-5.4.0-system-libzip.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, gmp-devel
+BuildRequires: bzip2-devel, curl-devel >= 7.9, %{db_devel}, gmp-devel
 BuildRequires: httpd-devel >= 2.0.46-1, pam-devel
 BuildRequires: libstdc++-devel, openssl-devel
 BuildRequires: sqlite-devel >= 3.6.0
@@ -1276,6 +1282,7 @@ fi
 %changelog
 * Wed Apr 25 2012 Joe Orton <jorton@redhat.com> - 5.4.0-6
 - rebuild for new icu
+- switch (conditionally) to libdb-devel
 
 * Sat Mar 31 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-5
 - fix Loadmodule with MPM event (use ZTS if not MPM worker)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-27  7:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27  7:24 [rpms/php] private-php86: switch (conditionally) to libdb-devel Joe Orton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox