]> TLD Linux GIT Repositories - packages/apr.git/blobdiff - apr.spec
- updated to 1.7.0
[packages/apr.git] / apr.spec
index 33bf163884a9169e7284daaf301fea320fff5594..ac570750b3a5a808f0b646750924bd55c34b8d84 100644 (file)
--- a/apr.spec
+++ b/apr.spec
@@ -5,13 +5,13 @@
 Summary:       Apache Portable Runtime
 Summary(pl.UTF-8):     Apache Portable Runtime - przenośna biblioteka uruchomieniowa
 Name:          apr
-Version:       1.5.1
-Release:       2
+Version:       1.7.0
+Release:       1
 Epoch:         1
 License:       Apache v2.0
 Group:         Libraries
 Source0:       http://www.apache.org/dist/apr/%{name}-%{version}.tar.bz2
-# Source0-md5: 5486180ec5a23efb5cae6d4292b300ab
+# Source0-md5: 7a14a83d664e87599ea25ff4432e48a7
 Patch0:                %{name}-link.patch
 Patch1:                %{name}-libtool.patch
 # disable some things that require recent kernel
@@ -19,21 +19,15 @@ Patch2:             %{name}-disable-features.patch
 URL:           http://apr.apache.org/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake
-%if "%{pld_release}" != "ac"
 BuildRequires: glibc-devel >= 6:2.9
 BuildRequires: libtool >= 2:2.2
-%else
-BuildRequires: libtool
-%endif
 BuildRequires: libuuid-devel
 BuildRequires: python
 BuildRequires: rpm >= 4.4.9-56
 BuildRequires: rpm-pythonprov
 BuildRequires: sed >= 4.0
-%if "%{pld_release}" != "ac"
 BuildRequires: uname(release) >= 2.6
 Requires:      uname(release) >= 2.6.28
-%endif
 # uuid.h misdetected from this one instead of libuuid-devel
 BuildConflicts:        ossp-uuid-devel < 1.6.2-6
 Conflicts:     kernel24
@@ -70,11 +64,7 @@ Summary(pl.UTF-8):   Pliki nagłówkowe i dokumentacja programisty do apr
 Group:         Development/Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      automake
-%if "%{pld_release}" != "ac"
 Requires:      libtool >= 2:2.2
-%else
-Requires:      libtool
-%endif
 Requires:      libuuid-devel
 Requires:      python-modules
 
@@ -103,7 +93,7 @@ Statyczna biblioteka apr.
 %patch2 -p1
 
 cat >> config.layout <<'EOF'
-<Layout PLD>
+<Layout TLD>
 sbindir:       %{_sbindir}
 libexecdir:    %{_libdir}/apr
 installbuilddir: ${datadir}/build-${APR_MAJOR_VERSION}
@@ -118,12 +108,13 @@ install /usr/share/automake/config.* build
 %{__autoconf}
 
 %configure \
-       --enable-layout=PLD \
+       --enable-layout=TLD \
 %ifarch %{ix86} %{x8664}
 %ifnarch i386
        --enable-nonportable-atomics \
 %endif
 %endif
+       --enable-pool-concurrency-check \
        --enable-threads \
        --with-devrandom=/dev/urandom
 %{__make}