Fix build failure caused by jboss-classfilewriter upgrade to 1.3.0
This commit is contained in:
parent
c506722890
commit
cb9213799a
@ -2,7 +2,7 @@
|
||||
%global namedversion %{version}%{?namedreltag}
|
||||
Name: undertow
|
||||
Version: 1.4.0
|
||||
Release: 6
|
||||
Release: 7
|
||||
Summary: Java web server using non-blocking IO
|
||||
License: ASL 2.0
|
||||
URL: http://undertow.io/
|
||||
@ -25,6 +25,9 @@ BuildRequires: mvn(org.jboss.spec.javax.annotation:jboss-annotations-api_1
|
||||
BuildRequires: mvn(org.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec)
|
||||
BuildRequires: mvn(org.jboss.spec.javax.websocket:jboss-websocket-api_1.1_spec)
|
||||
BuildRequires: mvn(org.jboss.xnio:xnio-api) mvn(org.jboss.xnio:xnio-nio)
|
||||
BuildRequires: java-11-openjdk-devel
|
||||
Requires: java-11-openjdk
|
||||
Requires: javapackages-tools
|
||||
%description
|
||||
Java web server using non-blocking IO
|
||||
|
||||
@ -46,6 +49,7 @@ rm -rf mac-jdk-fix
|
||||
rm -rf servlet/src/test/java/io/undertow/servlet/test/proprietry/TransferTestCase.java
|
||||
|
||||
%pom_disable_module examples
|
||||
%pom_add_dep org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:1.0.2.Final core
|
||||
%pom_remove_plugin -r :maven-checkstyle-plugin
|
||||
%pom_remove_plugin org.bitstrings.maven.plugins:dependencypath-maven-plugin core
|
||||
%pom_remove_plugin org.bitstrings.maven.plugins:dependencypath-maven-plugin servlet
|
||||
@ -59,6 +63,9 @@ for p in core servlet;do
|
||||
done
|
||||
|
||||
%build
|
||||
export JAVA_HOME=%{_jvmdir}/java-11-openjdk
|
||||
export CFLAGS="${RPM_OPT_FLAGS}"
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS}"
|
||||
%mvn_build -f
|
||||
|
||||
%install
|
||||
@ -72,6 +79,9 @@ done
|
||||
%license LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Mon Aug 21 2023 yaoxin <yao_xin001@hoperun.com> - 1:1.4.0-7
|
||||
- Fix build failure caused by jboss-classfilewriter upgrade to 1.3.0
|
||||
|
||||
* Tue Jun 13 2023 liyanan <thistleslyn@163.com> - 1:1.4.0-6
|
||||
- Delete TransferTestCase.java TestCase
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user