]> git.pld-linux.org Git - packages/apr.git/blobdiff - apr.spec
- racy version bug doesn't use new API thus should work on old kernels, too
[packages/apr.git] / apr.spec
index e20e8c0150c26f7cfbc35b86d76b080c0d87341e..0430d3f88b5d31c6118c10e2a6bb269c8bbd00ff 100644 (file)
--- a/apr.spec
+++ b/apr.spec
@@ -1,8 +1,9 @@
+%bcond_with    tests
 Summary:       Apache Portable Runtime
 Summary(pl.UTF-8):     Apache Portable Runtime - przenoĊ›na biblioteka uruchomieniowa
 Name:          apr
 Version:       1.3.3
-Release:       2
+Release:       9
 Epoch:         1
 License:       Apache v2.0
 Group:         Libraries
@@ -11,9 +12,11 @@ Source0:     http://www.apache.org/dist/apr/%{name}-%{version}.tar.bz2
 Patch0:                %{name}-link.patch
 Patch1:                %{name}-metuxmpm.patch
 Patch2:                %{name}-libtool.patch
+Patch3:                %{name}-bug-46425.patch
 URL:           http://apr.apache.org/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
+BuildRequires: glibc-devel >= 6:2.9
 %if "%{pld_release}" != "ac"
 BuildRequires: libtool >= 2:2.2
 %else
@@ -26,7 +29,7 @@ BuildRequires:        rpm-pythonprov
 BuildRequires: sed >= 4.0
 %if "%{pld_release}" != "ac"
 BuildRequires: uname(release) >= 2.6
-Requires:      uname(release) >= 2.6
+Requires:      uname(release) >= 2.6.27
 %endif
 Conflicts:     kernel24
 Conflicts:     kernel24-smp
@@ -93,6 +96,7 @@ Statyczna biblioteka apr.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 cat >> config.layout <<'EOF'
 <Layout PLD>
@@ -120,6 +124,8 @@ install /usr/share/automake/config.* build
        --with-devrandom=/dev/urandom
 %{__make}
 
+%{?with_tests:%{__make} -j1 test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.025963 seconds and 4 git commands to generate.