%bcond_without openssl # without OpenSSL crypto module
%bcond_without tests # don't perform "make check"
-# define dbver db50
-%if 0%{!?dbver:1}
- %if "%{pld_release}" == "th"
- %define dbver db53
- %endif
- %if "%{pld_release}" == "ac"
- %define dbver db42
- %endif
-%endif
+%define dbver db47
# tests fail on x32
%ifarch x32
URL: http://apr.apache.org/
BuildRequires: apr-devel >= 1:1.3.0
BuildRequires: autoconf >= 2.59
-%if "%{pld_release}" == "th"
BuildRequires: db-devel >= 4.7
-%endif
-%if "%{pld_release}" == "ac"
-BuildRequires: db-devel >= 4.2
-BuildConflicts: db4.5-devel
-%endif
BuildRequires: expat-devel
%{?with_freetds:BuildRequires: freetds-devel}
BuildRequires: libtool
%{__rm} -r xml/expat
echo '
-<Layout PLD>
+<Layout TLD>
prefix: %{_prefix}
exec_prefix: %{_exec_prefix}
bindir: %{_bindir}
--with-apr=%{_datadir}/apr
%configure \
- --enable-layout=PLD \
+ --enable-layout=TLD \
--with-apr=%{_bindir}/apr-1-config \
--with-berkeley-db=%{_prefix} \
--with-crypto \