[packages/java-gnu-inetlib] use macros for java tools locations; rel 4

atler atler at pld-linux.org
Thu May 7 13:27:53 CEST 2026


commit 7ea756a8db7aa41afdbcc5b6e6228dcf7392d313
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu May 7 13:27:19 2026 +0200

    use macros for java tools locations; rel 4

 java-gnu-inetlib.spec | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/java-gnu-inetlib.spec b/java-gnu-inetlib.spec
index c47d78f..c1db5c6 100644
--- a/java-gnu-inetlib.spec
+++ b/java-gnu-inetlib.spec
@@ -4,7 +4,7 @@ Summary:	GNU inetlib - library of clients for common Internet protocols
 Summary(pl.UTF-8):	GNU inetlib - biblioteka klientów popularnych protokołów internetowych
 Name:		java-gnu-inetlib
 Version:	1.1.2
-Release:	3
+Release:	4
 License:	GPL v2+
 Group:		Libraries/Java
 Source0:	http://ftp.gnu.org/gnu/classpath/inetlib-%{version}.tar.gz
@@ -89,10 +89,11 @@ Dokumentacja API GNU inetlib.
 %{__autoconf}
 %{__automake}
 unset CLASSPATH || :
-export JAVA_HOME=%{java_home}
-export JAVAC=%{_bindir}/javac
-export JAVA=%{_bindir}/java
-%configure
+%configure \
+	JAVA="%{java}" \
+	JAVAC="%{javac}" \
+	JAVADOC="%{javadoc}" \
+	JAR="%{jar}"
 
 %{__make} -j1
 %{__make} -j1 javadoc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/java-gnu-inetlib.git/commitdiff/7ea756a8db7aa41afdbcc5b6e6228dcf7392d313



More information about the pld-cvs-commit mailing list