From 75c5d10d7b2ecf5f453d1989a0c5654dad3fa053 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 19 Aug 2020 22:56:41 +0200 Subject: [PATCH] add compat symlink for packages constructing the classpath manually --- jakarta-servlet.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/jakarta-servlet.spec b/jakarta-servlet.spec index c2a3e6f..dfa8de4 100644 --- a/jakarta-servlet.spec +++ b/jakarta-servlet.spec @@ -2,7 +2,7 @@ Name: jakarta-servlet Version: 5.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Server-side API for handling HTTP requests and responses # most of the project is EPL-2.0 or GPLv2 w/exceptions, # but some files still have Apache-2.0 license headers: @@ -69,6 +69,9 @@ sed -i -e 's/jakarta\./javax./g' $(find api/src/main/java/javax -name *.java) javax.servlet:javax.servlet-api \ javax.servlet:servlet-api +# add compat symlink for packages constructing the classpath manually +%mvn_file : %{name} glassfish-servlet-api + %build %mvn_build @@ -87,6 +90,9 @@ sed -i -e 's/jakarta\./javax./g' $(find api/src/main/java/javax -name *.java) %changelog +* Wed Aug 19 2020 Fabio Valentini - 5.0.0-3 +- Add compat symlink for packages constructing the classpath manually. + * Wed Aug 19 2020 Mat Booth - 5.0.0-2 - Also ship the API in the old javax namespace to aid transition