Accepting request 975236 from Java:packages

Remove alias to oneself

OBS-URL: https://build.opensuse.org/request/show/975236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-codec?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2022-05-08 19:52:16 +00:00 committed by Git OBS Bridge
commit 1c7b22a27e
2 changed files with 12 additions and 7 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
@ -26,10 +26,10 @@ Release: 0
Summary: Apache Commons Codec Package
License: Apache-2.0
Group: Development/Libraries/Java
URL: http://commons.apache.org/codec/
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
Source2: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz.asc
Source1: %{name}-build.xml
URL: https://commons.apache.org/codec/
Source0: https://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
Source1: https://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz.asc
Source2: %{name}-build.xml
# Data in DoubleMetaphoneTest.java originally has an inadmissible license.
# The author gives MIT in e-mail communication.
Source100: aspell-mail.txt
@ -69,7 +69,7 @@ Javadoc for %{name}.
%prep
%setup -q -n %{short_name}-%{version}-src
cp %{SOURCE1} build.xml
cp %{SOURCE2} build.xml
cp %{SOURCE100} aspell-mail.txt
#fixes eof encoding
@ -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}/