Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
242dd114cc | |||
3d73652bbe | |||
45910894b4 |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 15 18:48:14 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Generate sources with protobuf instead of using pre-generated ones
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 4 10:46:24 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@@ -34,6 +34,7 @@ Patch4: netty3-CVE-2024-29025.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: protobuf-devel
|
||||
BuildRequires: mvn(ant-contrib:ant-contrib)
|
||||
BuildRequires: mvn(com.google.protobuf:protobuf-java)
|
||||
BuildRequires: mvn(com.jcraft:jzlib)
|
||||
@@ -142,6 +143,10 @@ rm -v src/main/java/org/jboss/netty/handler/ssl/JettyNpnSslEngine.java
|
||||
%{mvn_file} : %{name}
|
||||
|
||||
%build
|
||||
# regenearate to be usable with newer versions of protobuf-java
|
||||
protoc src/main/java/org/jboss/netty/example/localtime/LocalTimeProtocol.proto \
|
||||
--java_out=src/main/java
|
||||
|
||||
%{mvn_build} -f -- \
|
||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
||||
-Dmaven.compiler.release=8 \
|
||||
|
Reference in New Issue
Block a user