SPECS: db4.5.spec - fixed java bcond on !x86

qboosh qboosh at pld-linux.org
Sat Jun 2 19:17:23 CEST 2007


Author: qboosh                       Date: Sat Jun  2 17:17:23 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed java bcond on !x86

---- Files affected:
SPECS:
   db4.5.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/db4.5.spec
diff -u SPECS/db4.5.spec:1.11 SPECS/db4.5.spec:1.12
--- SPECS/db4.5.spec:1.11	Sat Jun  2 18:32:50 2007
+++ SPECS/db4.5.spec	Sat Jun  2 19:17:17 2007
@@ -1,17 +1,20 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-%bcond_without	java	# build db-java
-%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	java		# don't build java bindings
+%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
 #
 %{?with_nptl:%define	with_pmutex	1}
+%ifnarch i586 i686 athlon pentium3 pentium4 %{x8664}
+%undefine with_java
+%endif
 %define	mver	4.5
 Summary:	Berkeley DB database library for C
 Summary(pl.UTF-8):	Biblioteka C do obsługi baz Berkeley DB
-Name:		db%{mver}
+Name:		db4.5
 Version:	%{mver}.20
 Release:	3
 Epoch:		0
@@ -35,10 +38,6 @@
 Obsoletes:	db4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%ifnarch i586 i686 athlon pentium3 pentium4 %{x8664}
-	%define with_java 0
-%endif
-
 %description
 The Berkeley Database (Berkeley DB) is a programmatic toolkit that
 provides embedded database support for both traditional and
@@ -498,6 +497,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2007/06/02 17:17:17  qboosh
+- fixed java bcond on !x86
+
 Revision 1.11  2007/06/02 16:32:50  areq
 - fix without java
 
================================================================

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



More information about the pld-cvs-commit mailing list