diff options
author | Stefan Fritsch <sf@sfritsch.de> | 2011-12-27 19:42:39 +0100 |
---|---|---|
committer | Stefan Fritsch <sf@sfritsch.de> | 2011-12-27 19:42:39 +0100 |
commit | 6a3ba4eb1e9c7d7e07529543117d79ac01af20f5 (patch) | |
tree | fb5c30ec79d5d0581e9519859f9b8cbc32756803 /srclib/apr-util/build/rpm/apr-util.spec.in | |
parent | ad14e19ad0400e289b06fb7728aea815e6ed49be (diff) | |
download | apache2-upstream/2.2.13.tar.gz |
Upstream tarball 2.2.13upstream/2.2.13
Diffstat (limited to 'srclib/apr-util/build/rpm/apr-util.spec.in')
-rw-r--r-- | srclib/apr-util/build/rpm/apr-util.spec.in | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/srclib/apr-util/build/rpm/apr-util.spec.in b/srclib/apr-util/build/rpm/apr-util.spec.in index cb245f25..eb71ce12 100644 --- a/srclib/apr-util/build/rpm/apr-util.spec.in +++ b/srclib/apr-util/build/rpm/apr-util.spec.in @@ -11,7 +11,7 @@ URL: http://apr.apache.org/ Source0: http://www.apache.org/dist/apr/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildPrereq: autoconf, libtool, doxygen, apr-devel >= 1.3.0 -BuildPrereq: db4-devel, expat-devel +BuildPrereq: expat-devel %description The mission of the Apache Portable Runtime (APR) is to provide a @@ -90,6 +90,15 @@ Requires: apr-util = %{version}-%{release} %description ldap This package provides the LDAP support for the apr-util. +%package dbm +Group: Development/Libraries +Summary: APR utility library DBM support +BuildRequires: db4-devel +Requires: apr-util = %{version}-%{release} + +%description dbm +This package provides the dbm support for the apr-util. + %prep %setup -q @@ -106,7 +115,7 @@ make %{?_smp_mflags} && make dox # Run non-interactive tests pushd test make %{?_smp_mflags} all CFLAGS=-fno-strict-aliasing -./testall -v || exit 1 +make check || exit 1 popd %install @@ -156,6 +165,10 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %{_libdir}/apr-util-%{apuver}/apr_ldap* +%files dbm +%defattr(-,root,root,-) +%{_libdir}/apr-util-%{apuver}/apr_dbm_db* + %files devel %defattr(-,root,root,-) %{_bindir}/apu-%{apuver}-config |