Fridrich Strba 2018-10-22 15:41:39 +00:00 committed by Git OBS Bridge
parent 5f1032a71f
commit b1b138ef57
5 changed files with 13 additions and 11 deletions

View File

@ -1,11 +1,13 @@
-------------------------------------------------------------------
Mon Oct 22 10:24:43 UTC 2018 - Fridrich Strba <fstrba@suse.com>
- 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

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:759bbde7b5f5ad31fd0afa8ac3148f8f98b8a32372e7ed8b68c61f5b07a37cb1
size 829973

View File

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

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.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