Fix self build fail

Signed-off-by: cherry530 <xuping33@huawei.com>
(cherry picked from commit 7c3207b5c17c23c2cff610ca7e4b43050d2e1ee3)
This commit is contained in:
cherry530 2023-01-09 10:24:06 +08:00 committed by openeuler-sync-bot
parent 41461a239a
commit 82d4e97c3d

View File

@ -12,7 +12,7 @@
%bcond_with jp_minimal
Name: jetty
Version: 9.4.16
Release: 2
Release: 3
Summary: Java Webserver and Servlet Container
License: ASL 2.0 or EPL-1.0 or EPL-2.0
URL: http://www.eclipse.org/jetty/
@ -33,6 +33,7 @@ BuildRequires: maven-local mvn(javax.servlet:javax.servlet-api)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) mvn(org.slf4j:slf4j-api)
BuildRequires: jetty-util
%if %{without jp_minimal}
BuildRequires: maven-local mvn(com.github.jnr:jnr-unixsocket)
BuildRequires: mvn(javax.annotation:javax.annotation-api) mvn(javax.enterprise:cdi-api)
@ -787,6 +788,9 @@ exit 0
%license LICENSE NOTICE.txt LICENSE-MIT
%changelog
* Mon Jan 09 2023 xu_ping <xuping33@h-partners.com> - 9.4.16-3
- Fix selfbuild failure caused by missing jetty-util.
* Wed Dec 28 2022 jiangpeng <jiangpeng01@ncti-gba.cn> - 9.4.16-2
- Fix CVE-2022-2047 and CVE-2022-2048