Fridrich Strba 2022-03-17 09:50:31 +00:00 committed by Git OBS Bridge
parent 518057226c
commit 6e1bfb9478
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 17 09:49:40 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- On relevant distributions, build against the standalone jaxb-api
-------------------------------------------------------------------
Tue Feb 22 18:56:20 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -48,6 +48,9 @@ BuildRequires: xml-commons-apis
BuildRequires: xml-commons-resolver
BuildRequires: xmldb-api
BuildArch: noarch
%if 0%{?suse_version} > 1500
BuildRequires: glassfish-jaxb-api
%endif
%description
A Java/XML binding compiler takes as input a schema description (in
@ -112,6 +115,9 @@ find . -name "*.jar" | xargs rm
%build
export OPT_JAR_LIST="ant/ant-trax jaxp_transform_impl ant/ant-apache-resolver"
export CLASSPATH=$(build-classpath \
%if 0%{?suse_version} > 1500
glassfish-jaxb-api \
%endif
antlr \
apache-commons-codec \
hsqldb \
@ -147,7 +153,7 @@ install -dm 755 %{buildroot}%{_docdir}/%{name}-%{version}
cp -pr build/docs/src/documentation/content/manual %{buildroot}%{_docdir}/%{name}-%{version}
%files
%doc LICENSE
%license LICENSE
%{_javadir}/%{base_name}
%files javadoc