Accepting request 888105 from home:susnux:branches:Java:packages

Replaced broken URL
Update to 3.9

OBS-URL: https://build.opensuse.org/request/show/888105
OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-lang3?expand=0&rev=22
This commit is contained in:
Fridrich Strba 2021-04-24 11:29:56 +00:00 committed by Git OBS Bridge
parent 32adbbef8f
commit 9fc2be69d8
5 changed files with 30 additions and 14 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Apr 23 20:23:47 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Fixed SPEC file: Replaced broken URL
- Update to 3.9
* Requires jdk >= 1.8
* Fixed issues with java 12
* Add more SystemUtils.IS_JAVA_XX variants
* Adding the Functions class
* Add @FunctionalInterface to ThreadPredicate and ThreadGroupPredicate
* Add isEmpty method to ObjectUtils
* null-safe StringUtils.valueOf(char[]) to delegate to
String.valueOf(char[]).
* Add API org.apache.commons.lang3.SystemUtils.isJavaVersionAtMost(JavaVersion)
* Consolidate the StringUtils equals and equalsIgnoreCase
-------------------------------------------------------------------
Tue Feb 16 19:47:33 UTC 2021 - Fridrich Strba <fstrba@suse.com>

View File

@ -19,21 +19,21 @@
%define base_name lang3
%define short_name commons-%{base_name}
Name: apache-%{short_name}
Version: 3.8.1
Version: 3.9
Release: 0
Summary: Apache Commons Lang Package
License: Apache-2.0
Group: Development/Libraries/Java
URL: http://commons.apache.org/%{base_name}
Source0: http://archive.apache.org/dist/commons/lang/source/%{short_name}-%{version}-src.tar.gz
URL: https://commons.apache.org/proper/commons-lang/
Source0: https://archive.apache.org/dist/commons/lang/source/%{short_name}-%{version}-src.tar.gz
Source1: build.xml
Source2: default.properties
BuildRequires: ant
BuildRequires: ant-junit
BuildRequires: ant-junit5
BuildRequires: fdupes
BuildRequires: java-devel >= 1.7
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
BuildRequires: junit
BuildRequires: junit5
Provides: %{short_name} = %{version}-%{release}
BuildArch: noarch
@ -70,7 +70,7 @@ sed -i 's/\r//' *.txt
export OPT_JAR_LIST=`cat %{_sysconfdir}/ant.d/junit`
export CLASSPATH=
ant \
-Dcompile.source=1.7 -Dcompile.target=1.7 \
-Dcompile.source=1.8 -Dcompile.target=1.8 \
-Dfinal.name=%{short_name} \
jar javadoc

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9682e67375b6f03700e5bbaa2acceac60bc2f9049e11cafae3ce411ccaf633fb
size 965924

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:66415e0d1c843b04c61dea6b7e7e85a8f1469eaeb1174241622650aff7728e68
size 987753

View File

@ -18,7 +18,7 @@
# $Id: default.properties 1671054 2015-04-03 12:28:16Z britter $
# The location of the "junit.jar" JAR file
junit.jar = ${junit.home}/junit-4.12.jar
junit.jar = ${junit.home}/junit-5.5.2.jar
# The location of the Easymock jar
easymock.jar = ${easymock.home}/easymock-3.3.1.jar
@ -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.8.1
component.version = 3.9
# The name that is used to create the jar file
final.name = ${component.name}-${component.version}
@ -73,12 +73,12 @@ compile.optimize = true
# In particular, if you use JDK 1.4+ the generated classes will not be usable
# for a 1.1 Java VM unless you explicitly set this attribute to the value 1.1
# (which is the default value for JDK 1.1 to 1.3).
compile.target = 1.7
compile.target = 1.8
# Specifies the source version for the Java compiler.
# Corresponds to the source attribute for the ant javac task.
# Valid values are 1.3, 1.4, 1.5.
compile.source = 1.7
compile.source = 1.8
# Specifies the source encoding.
compile.encoding = ISO-8859-1