Accepting request 1205282 from Java:packages

Spec file cleanup

OBS-URL: https://build.opensuse.org/request/show/1205282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/relaxngDatatype?expand=0&rev=22
This commit is contained in:
Ana Guerrero 2024-10-03 16:00:32 +00:00 committed by Git OBS Bridge
commit 5bb9df9610
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 2 16:00:49 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Spec file cleanup
-------------------------------------------------------------------
Sat Mar 19 11:07:38 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package relaxngDatatype
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -28,7 +28,7 @@ Source0: https://github.com/java-schema-utilities/relaxng-datatype-java/a
Source1: copying.txt
BuildRequires: ant
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
BuildRequires: javapackages-local >= 6
Obsoletes: %{name}-javadoc
BuildArch: noarch
@ -54,7 +54,7 @@ install -Dpm 644 %{name}.jar \
# pom
install -d -m 755 %{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 -a relaxngDatatype:relaxngDatatype
%files -f .mfiles