From 32e608c2d69055501542c8d507bd642a2976d179 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Mon, 23 Apr 2012 19:34:28 +0100 Subject: [PATCH] switch to libdb-devel --- apr-util.spec | 13 +++++++++++-- sources | 1 - 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/apr-util.spec b/apr-util.spec index d5e0ddf..c20b07b 100644 --- a/apr-util.spec +++ b/apr-util.spec @@ -1,4 +1,10 @@ +%if 0%{?fedora} < 18 +%define dbdep db4-devel +%else +%define dbdep libdb-devel +%endif + %define apuver 1 Summary: Apache Portable Runtime Utility library @@ -13,7 +19,7 @@ Patch1: apr-util-1.2.7-pkgconf.patch Patch2: apr-util-1.3.7-nodbmdso.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: autoconf, apr-devel >= 1.3.0 -BuildRequires: db4-devel, expat-devel, libuuid-devel +BuildRequires: %{dbdep}, expat-devel, libuuid-devel %description The mission of the Apache Portable Runtime (APR) is to provide a @@ -25,7 +31,7 @@ for XML, LDAP, database interfaces, URI parsing and more. Group: Development/Libraries Summary: APR utility library development kit Requires: apr-util = %{version}-%{release}, apr-devel, pkgconfig -Requires: db4-devel, expat-devel, openldap-devel +Requires: %{dbdep}, expat-devel, openldap-devel %description devel This package provides the support files which can be used to @@ -218,6 +224,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/aclocal/*.m4 %changelog +* Mon Apr 23 2012 Joe Orton - 1.4.1-2 +- switch to libdb-devel + * Thu Jan 12 2012 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index f2907fa..59ab0d4 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -0f671b037ca62751a8a7005578085560 apr-util-1.3.12.tar.bz2 52b31b33fb1aa16e65ddaefc76e41151 apr-util-1.4.1.tar.bz2