11
0

3 Commits

2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 2 15:50:39 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Spec file cleanup
-------------------------------------------------------------------
Mon Mar 21 05:18:10 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package jboss-annotations-1.2-api
#
# 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 @@ Source0: https://github.com/jboss/jboss-annotations-api_spec/archive/%{on
Source1: %{name}-build.xml
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: javapackages-local
BuildRequires: javapackages-local >= 6
BuildArch: noarch
%description
@@ -64,7 +64,7 @@ install -pm 0644 target/%{oname}-%{namedversion}.jar %{buildroot}%{_javadir}/%{o
ln -sf %{oname}.jar %{buildroot}%{_javadir}/%{name}.jar
# pom
install -dm 0755 %{buildroot}%{_mavenpomdir}
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{oname}.pom
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{oname}.pom
%add_maven_depmap %{oname}.pom %{oname}.jar
# javadoc
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}