switch to libdb-devel

This commit is contained in:
Joe Orton 2012-04-23 19:34:28 +01:00
parent 06b6ed132a
commit 32e608c2d6
2 changed files with 11 additions and 3 deletions

View File

@ -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 <jorton@redhat.com> - 1.4.1-2
- switch to libdb-devel
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

View File

@ -1,2 +1 @@
0f671b037ca62751a8a7005578085560 apr-util-1.3.12.tar.bz2
52b31b33fb1aa16e65ddaefc76e41151 apr-util-1.4.1.tar.bz2