SPECS: hyperestraier.spec - fix java build

glen glen at pld-linux.org
Wed Sep 20 00:43:13 CEST 2006


Author: glen                         Date: Tue Sep 19 22:43:13 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix java build

---- Files affected:
SPECS:
   hyperestraier.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/hyperestraier.spec
diff -u SPECS/hyperestraier.spec:1.23 SPECS/hyperestraier.spec:1.24
--- SPECS/hyperestraier.spec:1.23	Tue Sep 19 19:03:49 2006
+++ SPECS/hyperestraier.spec	Wed Sep 20 00:43:08 2006
@@ -24,9 +24,11 @@
 BuildRequires:	autoconf
 BuildRequires:	automake
 %{?with_fcgi:BuildRequires:	fcgi-devel}
+%{?with_java:BuildRequires:	jdk}
+%{?with_java:BuildRequires:	jpackage-utils}
 BuildRequires:	libtool
 BuildRequires:	qdbm-devel >= 1.8.68
-%{?with_java:BuildRequires:	jdk}
+%{?with_java:BuildRequires:	rpmbuild(macros) >= 1.300}
 %{?with_ruby:BuildRequires:	ruby-devel}
 Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,8 +48,8 @@
  - Perfect recall ratio by N-gram method
  - High precision by hybrid mechanism of N-gram and morphological
    analyzer
- - Phrase search, regular expressions, attribute search, and
-   similarity search
+ - Phrase search, regular expressions, attribute search, and similarity
+   search
  - Multilingualism with Unicode
  - Independent of file format and repository
  - Simple and powerful API
@@ -158,6 +160,7 @@
 %{__make}
 
 %if %{with java}
+export JAVA_HOME="%{java_home}"
 cd javanative
 %{__libtoolize}
 %{__aclocal}
@@ -319,6 +322,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2006/09/19 22:43:08  glen
+- fix java build
+
 Revision 1.23  2006/09/19 17:03:49  twittner
 - up t 1.4.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/hyperestraier.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list