SPECS: gjdoc.spec - added info patch - pass GCJFLAGS (=rpmcflags)

qboosh qboosh at pld-linux.org
Mon Jan 23 20:26:45 CET 2006


Author: qboosh                       Date: Mon Jan 23 19:26:45 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added info patch
- pass GCJFLAGS (=rpmcflags)

---- Files affected:
SPECS:
   gjdoc.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/gjdoc.spec
diff -u SPECS/gjdoc.spec:1.8 SPECS/gjdoc.spec:1.9
--- SPECS/gjdoc.spec:1.8	Thu Dec 22 12:42:31 2005
+++ SPECS/gjdoc.spec	Mon Jan 23 20:26:38 2006
@@ -8,11 +8,13 @@
 Group:		Development/Languages/Java
 Source0:	ftp://ftp.gnu.org/gnu/classpath/%{name}-%{version}.tar.gz
 # Source0-md5:	f9755ee2601f7903360680694747a8c7
+Patch0:		%{name}-info.patch
 URL:		http://www.gnu.org/software/classpath/cp-tools/
 BuildRequires:	antlr >= 2.7.5-3
 # Some versions of gcj are known to produce bad bytecode.
 # At least bug 19921 is known to affect gjdoc (in Feb 2005).
 BuildRequires:	gcc-java >= 5:4.0.0-0.20050416.1
+BuildRequires:	texinfo
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -51,13 +53,15 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \
+	GCJFLAGS="%{rpmcflags}" \
 	--with-antlr-jar=%{_javadir}/antlr.jar \
+	--enable-native \
 	--enable-shared \
-	--disable-static \
-	--enable-native
+	--disable-static
 
 %{__make}
 
@@ -83,7 +87,7 @@
 %doc ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/gjdoc
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-%{_infodir}/gjdoc.*
+%{_infodir}/gjdoc.info*
 %{_javadir}/*.jar
 %{_mandir}/man1/gjdoc.1*
 
@@ -93,6 +97,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2006/01/23 19:26:38  qboosh
+- added info patch
+- pass GCJFLAGS (=rpmcflags)
+
 Revision 1.8  2005/12/22 11:42:31  pluto
 - updated to 0.7.7.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gjdoc.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list