forked from pool/juniversalchardet
This commit is contained in:
parent
33451283cf
commit
2514df25f2
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 21 12:18:00 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Build with java source and target levels 8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 19:00:40 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@ -28,8 +28,8 @@ Source1: https://repo1.maven.org/maven2/com/googlecode/%{name}/%{name}/%{
|
||||
Source2: https://www.mozilla.org/media/MPL/1.1/index.0c5913925d40.txt
|
||||
Source3: README.txt
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.6
|
||||
BuildRequires: java-javadoc >= 1.6
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: java-javadoc >= 1.8
|
||||
BuildRequires: javapackages-local
|
||||
BuildArch: noarch
|
||||
|
||||
@ -54,9 +54,9 @@ cp %{SOURCE3} .
|
||||
|
||||
%build
|
||||
mkdir -p target/classes
|
||||
javac -source 6 -target 6 -encoding UTF-8 -sourcepath src/main/java -d target/classes $(find src/main/java -name \*.java)
|
||||
javac -source 8 -target 8 -encoding UTF-8 -sourcepath src/main/java -d target/classes $(find src/main/java -name \*.java)
|
||||
jar -cvf %{name}-%{version}.jar -C target/classes .
|
||||
javadoc -source 6 -encoding UTF-8 \
|
||||
javadoc -source 8 -encoding UTF-8 \
|
||||
-d target/apidocs \
|
||||
-sourcepath src/main/java \
|
||||
-link file://%{_javadocdir}/java \
|
||||
|
Loading…
Reference in New Issue
Block a user