forked from pool/apache-commons-lang3
Accepting request 943069 from Java:packages
OBS-URL: https://build.opensuse.org/request/show/943069 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-lang3?expand=0&rev=8
This commit is contained in:
commit
9e819f0e51
23
apache-commons-lang3-junit-bom.patch
Normal file
23
apache-commons-lang3-junit-bom.patch
Normal 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 -->
|
@ -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>
|
Fri Dec 24 14:28:12 UTC 2021 - David Anes <david.anes@suse.com>
|
||||||
|
|
||||||
|
@ -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
|
Source0: https://dlcdn.apache.org/commons/lang/source/%{short_name}-%{version}-src.tar.gz
|
||||||
Source1: build.xml
|
Source1: build.xml
|
||||||
Source2: default.properties
|
Source2: default.properties
|
||||||
|
Patch0: apache-commons-lang3-junit-bom.patch
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel >= 1.8
|
BuildRequires: java-devel >= 1.8
|
||||||
@ -57,6 +58,8 @@ Javadoc for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{short_name}-%{version}-src
|
%setup -q -n %{short_name}-%{version}-src
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
cp %{SOURCE2} .
|
cp %{SOURCE2} .
|
||||||
sed -i 's/\r//' *.txt
|
sed -i 's/\r//' *.txt
|
||||||
|
@ -42,7 +42,7 @@ component.package = org.apache.commons.lang3
|
|||||||
component.title = Core Language Utilities
|
component.title = Core Language Utilities
|
||||||
|
|
||||||
# The current version number of this component
|
# 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
|
# The name that is used to create the jar file
|
||||||
final.name = ${component.name}-${component.version}
|
final.name = ${component.name}-${component.version}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user