Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package apache-commons-lang3 for
openSUSE:Factory checked in at 2023-09-01 14:18:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-lang3 (Old)
and /work/SRC/openSUSE:Factory/.apache-commons-lang3.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-commons-lang3"
Fri Sep 1 14:18:45 2023 rev:9 rq:1108217 version:3.12.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/apache-commons-lang3/apache-commons-lang3.changes
2021-12-30 15:56:01.040682152 +0100
+++
/work/SRC/openSUSE:Factory/.apache-commons-lang3.new.1766/apache-commons-lang3.changes
2023-09-01 14:18:53.387544502 +0200
@@ -1,0 +2,10 @@
+Wed Aug 30 20:57:36 UTC 2023 - Fridrich Strba <[email protected]>
+
+- Break cycle with the new bcel
+- Removed patch:
+ * apache-commons-lang3-junit-bom.patch
+ + not needed since we install the pom file using the new
+ %%mvn_install_pom macro which sanitizes the pom file to the
+ bare runtime dependencies.
+
+-------------------------------------------------------------------
Old:
----
apache-commons-lang3-junit-bom.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache-commons-lang3.spec ++++++
--- /var/tmp/diff_new_pack.UvmtSK/_old 2023-09-01 14:18:54.679590616 +0200
+++ /var/tmp/diff_new_pack.UvmtSK/_new 2023-09-01 14:18:54.683590759 +0200
@@ -1,7 +1,7 @@
#
# spec file
#
-# Copyright (c) 2021 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,11 +28,13 @@
Source0:
https://dlcdn.apache.org/commons/lang/source/%{short_name}-%{version}-src.tar.gz
Source1: build.xml
Source2: default.properties
-Patch0: apache-commons-lang3-junit-bom.patch
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
-BuildRequires: javapackages-local
+BuildRequires: javapackages-local >= 6
+#!BuildIgnore: bcel
+#!BuildIgnore: xalan-j2
+#!BuildIgnore: xerces-j2
Provides: %{short_name} = %{version}-%{release}
BuildArch: noarch
@@ -58,20 +60,11 @@
%prep
%setup -q -n %{short_name}-%{version}-src
-%patch0 -p1
cp %{SOURCE1} .
cp %{SOURCE2} .
sed -i 's/\r//' *.txt
-# Not needed since we don't build with maven
-%pom_remove_parent
-%pom_xpath_inject "pom:project" "<groupId>org.apache.commons</groupId>"
-%pom_xpath_remove pom:project/pom:reporting
-%pom_xpath_remove pom:project/pom:build
-%pom_xpath_remove pom:project/pom:profiles
-%pom_remove_dep :::test
-
%build
export OPT_JAR_LIST=`cat %{_sysconfdir}/ant.d/junit`
export CLASSPATH=
@@ -86,9 +79,10 @@
install -dm 755 %{buildroot}%{_javadir}
install -m 0644 target/%{short_name}.jar %{buildroot}%{_javadir}/%{name}.jar
ln -sf %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
+
# pom
install -dm 755 %{buildroot}%{_mavenpomdir}
-install -m 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
+%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
%add_maven_depmap %{name}.pom %{name}.jar
# javadoc