X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=apache-tomcat.spec;fp=apache-tomcat.spec;h=cb72df77d80290ba4e1618183a8acde7528cf47c;hb=bec13d3003131d341e8f5b4123883a8fe0a8c6a1;hp=7ef39aa98b3f1b2901677724ed31cf3d2117ac43;hpb=9d7c820d3404fec300beee4ead123a40067b96b7;p=packages%2Fapache-tomcat.git diff --git a/apache-tomcat.spec b/apache-tomcat.spec index 7ef39aa..cb72df7 100644 --- a/apache-tomcat.spec +++ b/apache-tomcat.spec @@ -121,6 +121,8 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _vardir %{_var}/lib/tomcat %define _sysconfdir /etc/tomcat +%define find_jar() %{expand:%%define jarfile {%(jar=$(find-jar %1); echo ${jar:-%%nil})}}%{?jarfile}%{!?jarfile:%{error:find-jar %1 failed}}%{nil} + %description Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies. @@ -186,6 +188,9 @@ servletów Apache Tomcat. %patch5 -p1 %patch6 -p1 +# we don't need dos scripts +rm -f bin/*.bat + # servletapi built from jakarta-servletapi5.spec rm -rf servletapi @@ -195,38 +200,7 @@ find -name '*.jar' | xargs rm -fv %build TOPDIR=$(pwd) -%if 0 -# build jasper javadocs -cd jasper -CLASSPATH=$(build-classpath xml-commons-apis) -# building jasper needs eclipse classes -cat > build.properties < build.properties <