From c8d94a2ff946b30e212e8675de5e886e36feb235aa4a0bf2cf5d27ca57ff89e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 25 Feb 2025 19:29:09 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main jsr-305 revision 52e9b6ff003d789c1c5bfd7f0fb97d73 --- jsr-305.changes | 5 +++++ jsr-305.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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