SPECS: db4.5.spec - rel 6; bcond it, too problematic

arekm arekm at pld-linux.org
Thu Jun 28 21:07:14 CEST 2007


Author: arekm                        Date: Thu Jun 28 19:07:14 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 6; bcond it, too problematic

---- Files affected:
SPECS:
   db4.5.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/db4.5.spec
diff -u SPECS/db4.5.spec:1.15 SPECS/db4.5.spec:1.16
--- SPECS/db4.5.spec:1.15	Thu Jun 28 21:00:28 2007
+++ SPECS/db4.5.spec	Thu Jun 28 21:07:09 2007
@@ -6,6 +6,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}
@@ -36,7 +37,7 @@
 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)
 
@@ -248,7 +249,7 @@
 %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
@@ -501,6 +502,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2007/06/28 19:07:09  arekm
+- rel 6; bcond it, too problematic
+
 Revision 1.15  2007/06/28 19:00:28  arekm
 - require kernel newer than 2.6.16
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/db4.5.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list