]> git.pld-linux.org Git - packages/db4.5.git/blobdiff - db4.5.spec
- release 8
[packages/db4.5.git] / db4.5.spec
index 8d8317f74a1dad1b51414337a1c142b1409e391c..a6c10c91a655614feff3a4a553db41180483cdc2 100644 (file)
@@ -5,6 +5,7 @@
 %bcond_with    pmutex          # use POSIX mutexes (only process-private with linuxthreads)
 %bcond_without nptl            # don't use process-shared POSIX mutexes (NPTL provides full interface)
 %bcond_without static_libs     # don't build static libraries
+%bcond_with    rpm_robustness
 #
 %{?with_nptl:%define   with_pmutex     1}
 %ifnarch i586 i686 athlon pentium3 pentium4 %{x8664}
@@ -15,7 +16,7 @@ Summary:      Berkeley DB database library for C
 Summary(pl.UTF-8):     Biblioteka C do obsÅ‚ugi baz Berkeley DB
 Name:          db4.5
 Version:       %{mver}.20
-Release:       6
+Release:       8
 Epoch:         0
 License:       Sleepycat public license (GPL-like, see LICENSE)
 Group:         Libraries
@@ -35,7 +36,7 @@ BuildRequires:        libtool
 BuildRequires: sed >= 4.0
 %{?with_tcl:BuildRequires:     tcl-devel >= 8.4.0}
 Provides:      db = %{version}-%{release}
-Requires:      uname(release) >= 2.6.17
+%{?with_rpm_robustness:Requires:       uname(release) >= 2.6.17}
 Obsoletes:     db4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -247,7 +248,7 @@ poleceÅ„.
 %patch0 -p0
 %patch1 -p0
 
-%patch10 -p1
+%{?with_rpm_robustness:%patch10 -p1}
 
 %if !%{with nptl}
 sed -i -e 's,AM_PTHREADS_SHARED("POSIX/.*,:,' dist/aclocal/mutex.ac
This page took 0.094743 seconds and 4 git commands to generate.