Accepting request 1114395 from Java:packages:test

javapackages >= 6

OBS-URL: https://build.opensuse.org/request/show/1114395
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xml-commons-resolver?expand=0&rev=17
This commit is contained in:
Fridrich Strba 2023-09-29 13:58:04 +00:00 committed by Git OBS Bridge
parent 9400eb1134
commit 00dad0fa6e

View File

@ -1,7 +1,7 @@
#
# spec file for package xml-commons-resolver
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -23,7 +23,7 @@ Release: 0
Summary: Resolver subproject of xml-commons
License: Apache-2.0
Group: Development/Libraries/Java
URL: http://xerces.apache.org/xml-commons/components/resolver/
URL: https://xerces.apache.org/xml-commons/components/resolver/
Source0: http://www.apache.org/dist/xerces/xml-commons/%{name}-%{version}.tar.gz
Source5: %{name}-pom.xml
Source6: %{name}-resolver.1
@ -35,8 +35,10 @@ Patch1: %{name}-1.2-osgi.patch
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
#!BuildIgnore: xerces-j2 xml-apis xml-resolver
BuildRequires: javapackages-local >= 6
#!BuildIgnore: xerces-j2
#!BuildIgnore: xml-apis
#!BuildIgnore: xml-resolver
# Explicit javapackages-tools requires since scripts use
# /usr/share/java-utils/java-functions
Requires: javapackages-tools
@ -93,7 +95,7 @@ popd
# pom
install -d -m 0755 %{buildroot}%{_mavenpomdir}
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
%add_maven_depmap %{name}.pom %{name}.jar
# javadoc