]> 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 961c8a7613f7e3afc01656e03fa0dcd0758b7a4f..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:       5
+Release:       9
 Epoch:         1
 License:       Apache v2.0
 Group:         Libraries
@@ -15,6 +16,7 @@ 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
@@ -27,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
@@ -94,7 +96,7 @@ Statyczna biblioteka apr.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p0
+%patch3 -p1
 
 cat >> config.layout <<'EOF'
 <Layout PLD>
@@ -122,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.055836 seconds and 4 git commands to generate.