packages: sphinx/sphinx.spec - disable java where java-sun is not available...

glen glen at pld-linux.org
Tue Mar 30 21:57:11 CEST 2010


Author: glen                         Date: Tue Mar 30 19:57:11 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- disable java where java-sun is not available; rel 2

---- Files affected:
packages/sphinx:
   sphinx.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: packages/sphinx/sphinx.spec
diff -u packages/sphinx/sphinx.spec:1.19 packages/sphinx/sphinx.spec:1.20
--- packages/sphinx/sphinx.spec:1.19	Wed Oct 28 21:31:25 2009
+++ packages/sphinx/sphinx.spec	Tue Mar 30 21:57:05 2010
@@ -8,13 +8,18 @@
 %bcond_without	libstemmer	# without libstemmer support
 %bcond_without	mysql		# without MySQL support
 %bcond_without	pgsql		# without PostgreSQL support
-#
-%include	/usr/lib/rpm/macros.java
+
+# arch list synced with java-sun
+%ifnarch i586 i686 pentium3 pentium4 athlon %{x8664}
+%undefine	with_java
+%endif
+
+%{?with_java:%include	/usr/lib/rpm/macros.java}
 Summary:	Free open-source SQL full-text search engine
 Summary(pl.UTF-8):	Silnik przeszukiwania pełnotekstowego SQL open-source
 Name:		sphinx
 Version:	0.9.8.1
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/Databases
 Source0:	http://www.sphinxsearch.com/downloads/%{name}-%{version}.tar.gz
@@ -244,6 +249,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2010/03/30 19:57:05  glen
+- disable java where java-sun is not available; rel 2
+
 Revision 1.19  2009/10/28 20:31:25  arekm
 - parallel build broken
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/sphinx/sphinx.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list