This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 26 04:38:18 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Build with source and target levels 8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 2 13:19:43 UTC 2022 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ License: MIT
|
||||
URL: https://github.com/TooTallNate/Java-WebSocket
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: https://raw.githubusercontent.com/TooTallNate/Java-WebSocket/master/LICENSE
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: fdupes java-devel >= 1.8
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(biz.aQute.bnd:bnd-maven-plugin)
|
||||
BuildArch: noarch
|
||||
@@ -45,8 +45,12 @@ cp %{SOURCE1} .
|
||||
|
||||
%pom_remove_plugin :maven-checkstyle-plugin
|
||||
|
||||
%pom_xpath_set "pom:plugin[pom:artifactId[text()='maven-compiler-plugin']]/pom:configuration/pom:source" "1.8"
|
||||
%pom_xpath_set "pom:plugin[pom:artifactId[text()='maven-compiler-plugin']]/pom:configuration/pom:target" "1.8"
|
||||
|
||||
%build
|
||||
%{mvn_build} -f
|
||||
%{mvn_build} -f -- \
|
||||
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ)
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
Reference in New Issue
Block a user