[packages/java-servletapi] Rel 2
arekm
arekm at pld-linux.org
Sat May 16 03:32:50 CEST 2026
commit ae9202979d1b7ccb99db5b35c1aca646ce15be94
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat May 16 03:32:35 2026 +0200
Rel 2
java-servletapi.spec | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/java-servletapi.spec b/java-servletapi.spec
index 3bb9b59..e295615 100644
--- a/java-servletapi.spec
+++ b/java-servletapi.spec
@@ -8,7 +8,7 @@ Summary: Java Servlet 4.0 API
Summary(pl.UTF-8): API Java Servlet 4.0
Name: java-servletapi
Version: 4.0.1
-Release: 1
+Release: 2
License: CDDL v1.1 or GPL v2 with Classpath exception
Group: Libraries/Java
#Source0Download: https://github.com/javaee/servlet-spec/releases
@@ -58,6 +58,13 @@ install -d target/classes
-encoding UTF-8 \
$(find src/main/java -name '*.java')
+# LocalStrings.properties (alongside .java sources, per pom.xml resources)
+# is loaded by GenericFilter at runtime; %javac doesn't copy non-.java files.
+cd src/main/java
+find . -name '*.properties' -exec cp --parents '{}' ../../../target/classes/ \;
+cd ../../..
+test -s target/classes/javax/servlet/LocalStrings.properties
+
cd target/classes
%jar cf ../servlet-api-%{version}.jar javax
cd ../..
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/java-servletapi.git/commitdiff/ae9202979d1b7ccb99db5b35c1aca646ce15be94
More information about the pld-cvs-commit
mailing list