]> git.pld-linux.org Git - packages/db4.5.git/commitdiff
- if nptl/pmutex enabled, require 2.6 kernel (broken for 2.4 kernel) auto/ti/db4_5-4_5_20_2-1
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 3 Sep 2008 15:16:16 +0000 (15:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    db4.5.spec -> 1.24

db4.5.spec

index 3afa3db3e3f9fca6004ddc4ea34c0e52d7101602..501ffaa424c751df2afa7b584e3b0772124db45c 100644 (file)
@@ -44,6 +44,7 @@ BuildRequires:        rpmbuild(macros) >= 1.426
 BuildRequires: sed >= 4.0
 %{?with_tcl:BuildRequires:     tcl-devel >= 8.4.0}
 %{?with_rpm_robustness:Requires:       uname(release) >= 2.6.17}
+%{?with_nptl:Requires: uname(release) >= 2.6.0}
 Provides:      db = %{version}-%{release}
 Obsoletes:     db4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -258,7 +259,7 @@ poleceń.
 
 %{?with_rpm_robustness:%patch0 -p1}
 
-%if !%{with nptl}
+%if %{without nptl}
 sed -i -e 's,AM_PTHREADS_SHARED("POSIX/.*,:,' dist/aclocal/mutex.ac
 %endif
 
This page took 0.048801 seconds and 4 git commands to generate.