From 6c5101b47b1171e92d8878de08475189a0e4531f42d9a940c15019e0af1f21d0 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 5 May 2022 16:01:47 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-codec?expand=0&rev=49 --- apache-commons-codec.changes | 5 +++++ apache-commons-codec.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/apache-commons-codec.changes b/apache-commons-codec.changes index dd43aed..83a1cb9 100644 --- a/apache-commons-codec.changes +++ b/apache-commons-codec.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 5 16:01:16 UTC 2022 - Fridrich Strba + +- Do not alias the artifact to itself + ------------------------------------------------------------------- Tue Oct 27 07:51:13 UTC 2020 - Pedro Monreal diff --git a/apache-commons-codec.spec b/apache-commons-codec.spec index 83e8490..d4367a3 100644 --- a/apache-commons-codec.spec +++ b/apache-commons-codec.spec @@ -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}/ From f198b75995298df2b516bfade7cda851967432b4e49a2dcd457b873d8fbf494e Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 5 May 2022 16:04:36 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-codec?expand=0&rev=50 --- apache-commons-codec.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apache-commons-codec.spec b/apache-commons-codec.spec index d4367a3..00f6e3c 100644 --- a/apache-commons-codec.spec +++ b/apache-commons-codec.spec @@ -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