SPECS: db4.5.spec - if nptl/pmutex enabled, require 2.6 kernel (broken for ...

glen glen at pld-linux.org
Wed Sep 3 17:16:22 CEST 2008


Author: glen                         Date: Wed Sep  3 15:16:22 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- if nptl/pmutex enabled, require 2.6 kernel (broken for 2.4 kernel)

---- Files affected:
SPECS:
   db4.5.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/db4.5.spec
diff -u SPECS/db4.5.spec:1.23 SPECS/db4.5.spec:1.24
--- SPECS/db4.5.spec:1.23	Tue Sep  2 14:03:16 2008
+++ SPECS/db4.5.spec	Wed Sep  3 17:16:16 2008
@@ -45,6 +45,7 @@
 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)
@@ -259,7 +260,7 @@
 
 %{?with_rpm_robustness:%patch0 -p1}
 
-%if !%{with nptl}
+%if %{without nptl}
 sed -i -e 's,AM_PTHREADS_SHARED("POSIX/.*,:,' dist/aclocal/mutex.ac
 %endif
 
@@ -516,6 +517,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2008/09/03 15:16:16  glen
+- if nptl/pmutex enabled, require 2.6 kernel (broken for 2.4 kernel)
+
 Revision 1.23  2008/09/02 12:03:16  glen
 - include patchlevel in version
 - update urls and sources
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/db4.5.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list