Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package replacer for openSUSE:Factory checked in at 2023-09-28 00:25:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/replacer (Old) and /work/SRC/openSUSE:Factory/.replacer.new.23327 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "replacer" Thu Sep 28 00:25:17 2023 rev:4 rq:1113758 version:1.6 Changes: -------- --- /work/SRC/openSUSE:Factory/replacer/replacer.changes 2022-03-23 20:20:30.758535208 +0100 +++ /work/SRC/openSUSE:Factory/.replacer.new.23327/replacer.changes 2023-09-28 00:48:15.426158174 +0200 @@ -1,0 +2,5 @@ +Tue Sep 26 21:36:21 UTC 2023 - Fridrich Strba <fst...@suse.com> + +- Port from commons-lang to commons-lang3 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ replacer.spec ++++++ --- /var/tmp/diff_new_pack.M7GJOt/_old 2023-09-28 00:48:16.598200572 +0200 +++ /var/tmp/diff_new_pack.M7GJOt/_new 2023-09-28 00:48:16.602200717 +0200 @@ -1,7 +1,7 @@ # # spec file for package replacer # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,8 +28,8 @@ BuildRequires: fdupes BuildRequires: maven-local BuildRequires: mvn(commons-io:commons-io) -BuildRequires: mvn(commons-lang:commons-lang) BuildRequires: mvn(org.apache.ant:ant) +BuildRequires: mvn(org.apache.commons:commons-lang3) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.apache.maven:maven-plugin-api) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) @@ -52,9 +52,22 @@ %prep %setup -q -n maven-replacer-plugin-%{version} +# remove unnecessary dependency on parent POM +%pom_remove_parent + %pom_remove_plugin :dashboard-maven-plugin %pom_remove_plugin :maven-assembly-plugin +# remove hard-coded compiler settings +%pom_remove_plugin :maven-compiler-plugin + +# trivial port to commons-lang3 +%pom_change_dep :commons-lang org.apache.commons:commons-lang3:3.8.1 + +for i in $(find -name "*.java"); do + sed -i "s/org.apache.commons.lang./org.apache.commons.lang3./g" $i; +done + %{mvn_file} :%{name} %{name} %{mvn_alias} :%{name} com.google.code.maven-replacer-plugin:maven-replacer-plugin