diff --git a/jsr-305.changes b/jsr-305.changes index 7f2e147..55d52ba 100644 --- a/jsr-305.changes +++ b/jsr-305.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 2 15:54:46 UTC 2024 - Fridrich Strba + +- Spec file cleanup + ------------------------------------------------------------------- Wed Mar 23 23:38:54 UTC 2022 - Fridrich Strba diff --git a/jsr-305.spec b/jsr-305.spec index 48a3bac..d0ac225 100644 --- a/jsr-305.spec +++ b/jsr-305.spec @@ -1,7 +1,7 @@ # # spec file for package jsr-305 # -# 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 @@ -30,7 +30,7 @@ Source2: NOTICE-CC-BY.txt BuildRequires: ant BuildRequires: dos2unix BuildRequires: fdupes -BuildRequires: javapackages-local +BuildRequires: javapackages-local >= 6 BuildArch: noarch %package javadoc @@ -71,7 +71,7 @@ ln -s %{name}.jar %{buildroot}%{_javadir}/jsr305.jar # poms install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} -install -pm 0644 ri/pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom +%{mvn_install_pom} ri/pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom %add_maven_depmap %{name}.pom %{name}.jar # javadoc