From 8cb8a1d08b461bf2366e0c6cb7904eedccd8e6db0a56851090305f9e8c196520 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 18 Dec 2018 08:14:41 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/relaxngDatatype?expand=0&rev=18 --- relaxngDatatype.changes | 6 ++++++ relaxngDatatype.spec | 9 ++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/relaxngDatatype.changes b/relaxngDatatype.changes index 6e22eaa..9c00de1 100644 --- a/relaxngDatatype.changes +++ b/relaxngDatatype.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 18 08:14:00 UTC 2018 - Fridrich Strba + +- Depend on sonatype-oss-parent to satisfy maven dependencies on + build time. + ------------------------------------------------------------------- Fri Oct 19 17:44:43 UTC 2018 - Fridrich Strba diff --git a/relaxngDatatype.spec b/relaxngDatatype.spec index 3ea1447..6b7b37f 100644 --- a/relaxngDatatype.spec +++ b/relaxngDatatype.spec @@ -22,16 +22,16 @@ 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 +BuildRequires: sonatype-oss-parent +Requires: sonatype-oss-parent Obsoletes: %{name}-javadoc -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -59,8 +59,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}