From 1d620875c8f73ad7fd24af1143f65a338e4636eadf0888e18cb1b705afaaf9c4 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 18 Sep 2023 06:12:05 +0000 Subject: [PATCH] Accepting request 1111848 from home:fstrba:branches:Java:packages OBS-URL: https://build.opensuse.org/request/show/1111848 OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat?expand=0&rev=270 --- tomcat-9.0-osgi-build.patch | 9 ++++----- tomcat.changes | 9 +++++++++ tomcat.spec | 5 +---- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/tomcat-9.0-osgi-build.patch b/tomcat-9.0-osgi-build.patch index 9a77a9b..cc0ce1b 100644 --- a/tomcat-9.0-osgi-build.patch +++ b/tomcat-9.0-osgi-build.patch @@ -12,14 +12,13 @@ -@@ -3845,6 +3845,13 @@ +@@ -3845,6 +3845,12 @@ -+ -+ -+ -+ ++ ++ ++ + + + diff --git a/tomcat.changes b/tomcat.changes index 684edc3..03c9fe6 100644 --- a/tomcat.changes +++ b/tomcat.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 18 06:03:34 UTC 2023 - Fridrich Strba + +- Modified patch: + * tomcat-9.0-osgi-build.patch + + make it more robust to change in number of artifacts in bnd + + do not enumerate jars, just take all jars from the aqute-bnd + directory into the classpath + ------------------------------------------------------------------- Tue Sep 12 11:30:29 UTC 2023 - Fridrich Strba diff --git a/tomcat.spec b/tomcat.spec index a947075..6d83a5d 100644 --- a/tomcat.spec +++ b/tomcat.spec @@ -291,10 +291,7 @@ ant -Dbase.path="." \ -Dwsdl4j-lib.jar="$(build-classpath wsdl4j)" \ -Dsaaj-api.jar="$(build-classpath geronimo-saaj-1.1-api)" \ -Dbnd.jar="$(build-classpath aqute-bnd/biz.aQute.bnd)" \ - -Dbndant.jar="$(build-classpath aqute-bnd/biz.aQute.bnd.ant)" \ - -Dbndlib.jar="$(build-classpath aqute-bnd/biz.aQute.bndlib)" \ - -Dbndlibg.jar="$(build-classpath aqute-bnd/aQute.libg)" \ - -Dbndannotation.jar="$(build-classpath aqute-bnd/biz.aQute.bnd.annotation)" \ + -Dbnd.dir="%{_javadir}/aqute-bnd" \ -Dosgiannotation.jar="$(build-classpath osgi-annotation/osgi.annotation)" \ -Dosgi-annotations.jar="$(build-classpath aqute-bnd/biz.aQute.bnd.annotation)" \ -Dosgicmpn.jar="$(build-classpath osgi-compendium/osgi.cmpn)" \