Accepting request 660079 from Java:packages

Depend on sonatype-oss-parent

OBS-URL: https://build.opensuse.org/request/show/660079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/relaxngDatatype?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2018-12-28 11:32:50 +00:00 committed by Git OBS Bridge
commit 92978951c2
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 18 08:14:00 UTC 2018 - Fridrich Strba <fstrba@suse.com>
- Depend on sonatype-oss-parent to satisfy maven dependencies on
build time.
-------------------------------------------------------------------
Fri Oct 19 17:44:43 UTC 2018 - Fridrich Strba <fstrba@suse.com>

View File

@ -22,16 +22,15 @@ Release: 0
Summary: RELAX NG Datatype API
License: BSD-3-Clause
Group: Development/Languages/Java
Url: https://sourceforge.net/projects/relaxng
URL: https://sourceforge.net/projects/relaxng
Source0: https://github.com/java-schema-utilities/relaxng-datatype-java/archive/relaxngDatatype-%{version}.tar.gz
# License is not available in the tarball, this copy fetched from the tarball on the old sourceforge.net site
Source1: copying.txt
BuildRequires: ant
BuildRequires: java-devel
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
Requires: sonatype-oss-parent
Obsoletes: %{name}-javadoc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
@ -59,8 +58,7 @@ install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar -a relaxngDatatype:relaxngDatatype
%files
%defattr(-,root,root,-)
%doc copying.txt
%license copying.txt
%{_javadir}/*.jar
%{_mavenpomdir}/*
%if %{defined _maven_repository}