Dominique Leuenberger 2021-12-30 14:55:36 +00:00 committed by Git OBS Bridge
commit 9e819f0e51
4 changed files with 39 additions and 1 deletions

View File

@ -0,0 +1,23 @@
Index: commons-lang3-3.12.0-src/pom.xml
===================================================================
--- commons-lang3-3.12.0-src.orig/pom.xml
+++ commons-lang3-3.12.0-src/pom.xml
@@ -513,18 +513,6 @@
</contributor>
</contributors>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.junit</groupId>
- <artifactId>junit-bom</artifactId>
- <version>5.7.1</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<!-- Lang should depend on very little -->
<dependencies>
<!-- testing -->

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Dec 29 15:18:48 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
- Remove the junit bom dependency for now as it breaks the build of
other packages like log4j.
* Add apache-commons-lang3-junit-bom.patch
-------------------------------------------------------------------
Wed Dec 29 12:49:05 UTC 2021 - David Anes <david.anes@suse.com>
- Fix component version in default.properties to 3.12
-------------------------------------------------------------------
Fri Dec 24 14:28:12 UTC 2021 - David Anes <david.anes@suse.com>

View File

@ -28,6 +28,7 @@ URL: https://commons.apache.org/proper/commons-lang/
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
@ -57,6 +58,8 @@ Javadoc for %{name}.
%prep
%setup -q -n %{short_name}-%{version}-src
%patch0 -p1
cp %{SOURCE1} .
cp %{SOURCE2} .
sed -i 's/\r//' *.txt

View File

@ -42,7 +42,7 @@ component.package = org.apache.commons.lang3
component.title = Core Language Utilities
# The current version number of this component
component.version = 3.9
component.version = 3.12
# The name that is used to create the jar file
final.name = ${component.name}-${component.version}