SPECS: pl.spec - fix java bcond usage

baggins baggins at pld-linux.org
Wed Mar 11 12:08:55 CET 2009


Author: baggins                      Date: Wed Mar 11 11:08:55 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix java bcond usage

---- Files affected:
SPECS:
   pl.spec (1.76 -> 1.77) 

---- Diffs:

================================================================
Index: SPECS/pl.spec
diff -u SPECS/pl.spec:1.76 SPECS/pl.spec:1.77
--- SPECS/pl.spec:1.76	Wed Mar 11 12:06:02 2009
+++ SPECS/pl.spec	Wed Mar 11 12:08:49 2009
@@ -4,7 +4,7 @@
 # 	- separate prolog packages to rpm subpackages
 #
 # Conditional build:
-%bcond_with	java		# build with java bindings (So far, JPL only works with Sun Java and IBM Java)
+%bcond_without	java		# don't build with java bindings (So far, JPL only works with Sun Java and IBM Java)
 #
 
 %ifnarch %{x8664} i586 i686 pentium3 pentium4 athlon 
@@ -130,7 +130,7 @@
 
 cd packages
 wd=`pwd`
-for i in xpce/src chr clib clpqr cpp cppproxy db http inclpr jpl mp nlp odbc pldoc plunit semweb sgml sgml/RDF ssl table uri zlib; do
+for i in xpce/src chr clib clpqr cpp cppproxy db http inclpr %{?with_java:jpl} mp nlp odbc pldoc plunit semweb sgml sgml/RDF ssl table uri zlib; do
 	cd $i
 	cp -f /usr/share/automake/config.sub .
 	%{__aclocal}
@@ -213,6 +213,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.77  2009/03/11 11:08:49  baggins
+- fix java bcond usage
+
 Revision 1.76  2009/03/11 11:06:02  baggins
 - clarify License
 - added jpl package
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pl.spec?r1=1.76&r2=1.77&f=u



More information about the pld-cvs-commit mailing list