SPECS: gnu.getopt.spec - use java macros. builds with java-1.5

glen glen at pld-linux.org
Tue Apr 10 01:52:04 CEST 2007


Author: glen                         Date: Mon Apr  9 23:52:04 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use java macros. builds with java-1.5

---- Files affected:
SPECS:
   gnu.getopt.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/gnu.getopt.spec
diff -u SPECS/gnu.getopt.spec:1.7 SPECS/gnu.getopt.spec:1.8
--- SPECS/gnu.getopt.spec:1.7	Tue Feb 13 08:16:47 2007
+++ SPECS/gnu.getopt.spec	Tue Apr 10 01:51:59 2007
@@ -10,6 +10,8 @@
 # Source0-md5:	ffbba007bb517dc42085d706ef7c0792
 URL:		http://www.urbanophile.com/arenn/hacking/download.htm
 BuildRequires:	ant >= 1.5
+BuildRequires:	jpackage-utils
+BuildRequires:	rpmbuild(macros) >= 1.300
 Requires:	jre
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -36,11 +38,10 @@
 mv gnu/getopt/buildx.xml build.xml
 
 %build
-ant jar javadoc
+%ant jar javadoc
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT%{_javadir}
 cp build/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}
 ln -sf %{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
@@ -59,6 +60,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2007/04/09 23:51:59  glen
+- use java macros. builds with java-1.5
+
 Revision 1.7  2007/02/13 07:16:47  glen
 - tabs in preamble
 
@@ -69,7 +73,7 @@
 - s/jakarta-ant/ant/ in BR
 
 Revision 1.4  2004/07/15 13:04:04  pluto
-- use %%{_javadir}.
+- use %{_javadir}.
 
 Revision 1.3  2003/08/11 22:46:30  ankry
 - cosmetics
================================================================

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



More information about the pld-cvs-commit mailing list