diff --git a/apache-commons-lang3.changes b/apache-commons-lang3.changes index 2b5904d..5a6d837 100644 --- a/apache-commons-lang3.changes +++ b/apache-commons-lang3.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Fri Apr 23 20:23:47 UTC 2021 - Ferdinand Thiessen + +- 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 diff --git a/apache-commons-lang3.spec b/apache-commons-lang3.spec index 4b08d0f..ea58419 100644 --- a/apache-commons-lang3.spec +++ b/apache-commons-lang3.spec @@ -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 diff --git a/commons-lang3-3.8.1-src.tar.gz b/commons-lang3-3.8.1-src.tar.gz deleted file mode 100644 index f7c3a83..0000000 --- a/commons-lang3-3.8.1-src.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9682e67375b6f03700e5bbaa2acceac60bc2f9049e11cafae3ce411ccaf633fb -size 965924 diff --git a/commons-lang3-3.9-src.tar.gz b/commons-lang3-3.9-src.tar.gz new file mode 100644 index 0000000..c747648 --- /dev/null +++ b/commons-lang3-3.9-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66415e0d1c843b04c61dea6b7e7e85a8f1469eaeb1174241622650aff7728e68 +size 987753 diff --git a/default.properties b/default.properties index 1814af2..3bca4ad 100644 --- a/default.properties +++ b/default.properties @@ -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