[packages/tomcat] Rel 6; export JAVA_HOME in %install

arekm arekm at pld-linux.org
Fri Aug 7 11:52:28 CEST 2026


commit c5914c798fa6cc62479578c38d95c1fff7830044
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Aug 7 11:36:43 2026 +0200

    Rel 6; export JAVA_HOME in %install
    
    find-jar aborts without it

 tomcat.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tomcat.spec b/tomcat.spec
index 505cd8e..41f85b7 100644
--- a/tomcat.spec
+++ b/tomcat.spec
@@ -15,7 +15,7 @@ Summary:	Web server and Servlet/JSP Engine, RI for Servlet %{servletapiver}/JSP
 Summary(pl.UTF-8):	Serwer www i silnik Servlet/JSP będący wzorcową implementacją API Servlet %{servletapiver}/JSP %{jspapiver}
 Name:		tomcat
 Version:	11.0.18
-Release:	5
+Release:	6
 License:	Apache v2.0
 Group:		Networking/Daemons/Java
 Source0:	https://archive.apache.org/dist/tomcat/tomcat-11/v%{version}/src/apache-%{name}-%{version}-src.tar.gz
@@ -214,6 +214,7 @@ export LC_ALL=en_US
 
 %install
 rm -rf $RPM_BUILD_ROOT
+export JAVA_HOME=%{java_home}
 cd output/build
 
 TOMCATDIR=$RPM_BUILD_ROOT%{_tomcatdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tomcat.git/commitdiff/c5914c798fa6cc62479578c38d95c1fff7830044



More information about the pld-cvs-commit mailing list