SPECS: db4.5.spec - compatible with ac build

glen glen at pld-linux.org
Tue Sep 2 12:23:28 CEST 2008


Author: glen                         Date: Tue Sep  2 10:23:28 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- compatible with ac build

---- Files affected:
SPECS:
   db4.5.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/db4.5.spec
diff -u SPECS/db4.5.spec:1.21 SPECS/db4.5.spec:1.22
--- SPECS/db4.5.spec:1.21	Mon Feb 18 22:46:42 2008
+++ SPECS/db4.5.spec	Tue Sep  2 12:23:22 2008
@@ -1,10 +1,15 @@
 # $Revision$, $Date$
 #
 # Conditional build:
+%if "%{pld_release}" == "ac"
+%bcond_with		java	# build db-java
+%bcond_with		nptl	# don't use process-shared POSIX mutexes (NPTL provides full interface)
+%else
 %bcond_without	java		# don't build java bindings
+%bcond_without	nptl		# don't use process-shared POSIX mutexes (NPTL provides full interface)
+%endif
 %bcond_without	tcl		# don't build Tcl bindings
 %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
 #
@@ -34,10 +39,11 @@
 %{?with_java:BuildRequires:	jdk}
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
+BuildRequires:	rpm >= 4.4.9-56
 BuildRequires:	sed >= 4.0
 %{?with_tcl:BuildRequires:	tcl-devel >= 8.4.0}
-Provides:	db = %{version}-%{release}
 %{?with_rpm_robustness:Requires:	uname(release) >= 2.6.17}
+Provides:	db = %{version}-%{release}
 Obsoletes:	db4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -218,9 +224,8 @@
 Group:		Applications/Databases
 Requires:	%{name} = %{epoch}:%{version}-%{release}
 Provides:	db-utils = %{version}-%{release}
-Obsoletes:	db4-utils
-# obsolete Ra package
 Obsoletes:	db3-utils
+Obsoletes:	db4-utils
 
 %description utils
 The Berkeley Database (Berkeley DB) is a programmatic toolkit that
@@ -502,6 +507,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2008/09/02 10:23:22  glen
+- compatible with ac build
+
 Revision 1.21  2008/02/18 21:46:42  glen
 - and i was wrong
 
================================================================

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



More information about the pld-cvs-commit mailing list