Fridrich Strba 2022-05-05 16:01:47 +00:00 committed by Git OBS Bridge
parent bea4923ae0
commit 6c5101b47b
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 5 16:01:16 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Do not alias the artifact to itself
-------------------------------------------------------------------
Tue Oct 27 07:51:13 UTC 2020 - Pedro Monreal <pmonreal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package apache-commons-codec
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2000-2010, JPackage Project
#
# All modifications and additions to the file contributed by third parties
@ -98,7 +98,7 @@ ln -sf %{short_name}.jar %{buildroot}%{_javadir}/%{name}.jar
# Install pom file
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -p -m 644 pom.xml %{buildroot}%{_mavenpomdir}/%{short_name}.pom
%add_maven_depmap %{short_name}.pom %{short_name}.jar -a "%{short_name}:%{short_name}"
%add_maven_depmap %{short_name}.pom %{short_name}.jar
# javadoc
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/