[php] switch (conditionally) to libdb-devel
jorton
jorton at fedoraproject.org
Wed Apr 25 08:13:00 UTC 2012
commit 0df8ed9bda210db9f68c35c377a2c915d129a641
Author: Joe Orton <jorton at redhat.com>
Date: Wed Apr 25 09:12:46 2012 +0100
switch (conditionally) to libdb-devel
php.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
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 at redhat.com> - 5.4.0-6
- rebuild for new icu
+- switch (conditionally) to libdb-devel
* Sat Mar 31 2012 Remi Collet <remi at fedoraproject.org> 5.4.0-5
- fix Loadmodule with MPM event (use ZTS if not MPM worker)
More information about the scm-commits
mailing list