diff --git a/apache-commons-lang3.changes b/apache-commons-lang3.changes index 532133d..6b86b54 100644 --- a/apache-commons-lang3.changes +++ b/apache-commons-lang3.changes @@ -1,11 +1,13 @@ ------------------------------------------------------------------- Mon Oct 22 10:24:43 UTC 2018 - Fridrich Strba -- Build commons-lang3-3.5 using build.xml and default.properties - from 3.4 and modified. +- Build commons-lang3-3.8.1 using modified build.xml and + default.properties from 3.4. - Removed patch: * commons-lang3-3.4-javadoc.patch - integrated in the build.xml +- Use source and target version 1.7, since the code contains + diamond operator. ------------------------------------------------------------------- Wed May 2 12:22:44 UTC 2018 - tchvatal@suse.com diff --git a/apache-commons-lang3.spec b/apache-commons-lang3.spec index 7e78ae7..147ad92 100644 --- a/apache-commons-lang3.spec +++ b/apache-commons-lang3.spec @@ -19,7 +19,7 @@ %define base_name lang3 %define short_name commons-%{base_name} Name: apache-commons-lang3 -Version: 3.5 +Version: 3.8.1 Release: 0 Summary: Apache Commons Lang Package License: Apache-2.0 @@ -31,7 +31,7 @@ Source2: default.properties BuildRequires: ant BuildRequires: ant-junit BuildRequires: fdupes -BuildRequires: java-devel >= 1.6 +BuildRequires: java-devel >= 1.7 BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildRequires: junit @@ -68,7 +68,7 @@ sed -i 's/\r//' *.txt export OPT_JAR_LIST=`cat %{_sysconfdir}/ant.d/junit` export CLASSPATH= ant \ - -Dcompile.source=1.6 -Dcompile.target=1.6 \ + -Dcompile.source=1.7 -Dcompile.target=1.7 \ -Dfinal.name=%{short_name} \ jar javadoc diff --git a/commons-lang3-3.5-src.tar.gz b/commons-lang3-3.5-src.tar.gz deleted file mode 100644 index 34b91db..0000000 --- a/commons-lang3-3.5-src.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:759bbde7b5f5ad31fd0afa8ac3148f8f98b8a32372e7ed8b68c61f5b07a37cb1 -size 829973 diff --git a/commons-lang3-3.8.1-src.tar.gz b/commons-lang3-3.8.1-src.tar.gz new file mode 100644 index 0000000..f7c3a83 --- /dev/null +++ b/commons-lang3-3.8.1-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9682e67375b6f03700e5bbaa2acceac60bc2f9049e11cafae3ce411ccaf633fb +size 965924 diff --git a/default.properties b/default.properties index ad69f06..1814af2 100644 --- a/default.properties +++ b/default.properties @@ -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.5 +component.version = 3.8.1 # 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.6 +compile.target = 1.7 # 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.6 +compile.source = 1.7 # Specifies the source encoding. compile.encoding = ISO-8859-1