Fridrich Strba 2022-03-17 05:11:39 +00:00 committed by Git OBS Bridge
parent 6d8b25f328
commit c9e6c5bb75

View File

@ -1,7 +1,7 @@
#
# spec file for package dom4j
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -52,6 +52,7 @@ BuildRequires: isorelax
BuildRequires: java-devel >= 1.6
# Needed for maven conversions
BuildRequires: javapackages-local
BuildRequires: glassfish-jaxb-api
BuildRequires: javapackages-tools
BuildRequires: jaxen-bootstrap >= 1.1
BuildRequires: jtidy
@ -77,7 +78,7 @@ Requires: xpp2
Requires: xpp3
#Requires: jaxp = 1.2
Requires(post): javapackages-tools
Requires(postun): javapackages-tools
Requires(postun):javapackages-tools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@ -168,7 +169,7 @@ popd
popd
%build
export CLASSPATH=$(build-classpath jaxen relaxngDatatype xpp3 xpp2)
export CLASSPATH=$(build-classpath jaxen relaxngDatatype xpp3 xpp2 glassfish-jaxb-api)
export OPT_JAR_LIST="junit ant/ant-junit"
rm -rf src/java/org/dom4j/datatype
ant package release-javadoc