[packages/openjdk11] move jmods to subpackage; rel 2

atler atler at pld-linux.org
Mon May 3 14:58:43 CEST 2021


commit f87cc1f0abaccd02af704a984e4d2e0eaf2cb241
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon May 3 13:59:50 2021 +0200

    move jmods to subpackage; rel 2

 openjdk11.spec | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/openjdk11.spec b/openjdk11.spec
index 14b1e03..bb63920 100644
--- a/openjdk11.spec
+++ b/openjdk11.spec
@@ -26,7 +26,7 @@ Summary:	Open-source implementation of the Java Platform, Standard Edition
 Summary(pl.UTF-8):	Wolnoźródłowa implementacja Java 11 SE
 Name:		openjdk11
 Version:	11.0.11
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Development/Languages/Java
 Source0:	https://hg.openjdk.java.net/jdk-updates/jdk11u/archive/jdk-%{version}-ga.tar.bz2?/%{name}-%{version}.tar.bz2
@@ -274,6 +274,18 @@ GTK support for OpenJDK runtime environment.
 %description jre-base-gtk -l pl.UTF-8
 Biblioteki GTK dla OpenJDK.
 
+%package jmods
+Summary:	OpenJDK - JMods
+Summary(pl.UTF-8):	OpenJDK - JMods
+Group:		Development/Languages/Java
+Requires:	%{name}-jdk-base = %{version}-%{release}
+
+%description jmods
+JMods for OpenJDK.
+
+%description jmods -l pl.UTF-8
+JMods dla OpenJDK.
+
 %package jar
 Summary:	OpenJDK - JAR tool
 Summary(pl.UTF-8):	OpenJDK - narzędzie JAR
@@ -537,7 +549,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{dstdir}/bin/rmic
 %attr(755,root,root) %{dstdir}/bin/serialver
 %{dstdir}/include
-%{dstdir}/jmods
 %{dstdir}/lib/ct.sym
 
 %files jre
@@ -649,6 +660,10 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{dstdir}/lib/libfontmanager.so
 
+%files jmods
+%defattr(644,root,root,755)
+%{dstdir}/jmods
+
 %files jar
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/jar
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjdk11.git/commitdiff/f87cc1f0abaccd02af704a984e4d2e0eaf2cb241



More information about the pld-cvs-commit mailing list