From bae8dcbe2a28f8f08101f43bf396184c1cefe64ed719e356b193762de1f77b50 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Thu, 29 Sep 2016 12:00:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-dbcp?expand=0&rev=5 --- apache-commons-dbcp.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apache-commons-dbcp.spec b/apache-commons-dbcp.spec index abb578f..de49014 100644 --- a/apache-commons-dbcp.spec +++ b/apache-commons-dbcp.spec @@ -36,8 +36,10 @@ BuildRequires: javapackages-tools BuildRequires: jdbc-stdext >= 2.0 BuildRequires: junit >= 3.8.1 BuildRequires: xerces-j2 +BuildRequires: geronimo-jta-1_1-api Requires: commons-collections >= 3.2 Requires: commons-pool2 +Requires: jta_api >= 1.1 Requires(post): update-alternatives Requires(preun): update-alternatives Provides: %{short_name} = %{version}-%{release} @@ -88,6 +90,8 @@ ant \ -Dnaming-java.jar=$(build-classpath tomcat/catalina) \ -Dcommons-logging.jar=$(build-classpath commons-logging) \ -Djava.io.tmpdir=. \ + -Djta-spec.jar=$(build-classpath geronimo-jta-1_1) \ + -Djta-impl.jar=$(build-classpath jta-api) \ dist %install