2024-02-22 04:34:02 +00:00
|
|
|
From 1f80a6d816dc3dde83dc3df0d94d97b8a7f62937 Mon Sep 17 00:00:00 2001
|
2023-08-30 13:55:14 +00:00
|
|
|
From: Mikolaj Izdebski <mizdebsk@redhat.com>
|
|
|
|
Date: Wed, 30 Aug 2023 15:53:26 +0200
|
2024-02-22 04:34:02 +00:00
|
|
|
Subject: [PATCH 2/2] Enable JPMS provides and JAR transformer
|
2023-08-30 13:55:14 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
src/main/rpm/macros.xmvngen | 6 +++---
|
|
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/src/main/rpm/macros.xmvngen b/src/main/rpm/macros.xmvngen
|
2024-02-22 04:34:02 +00:00
|
|
|
index 0b124f4..b1ef101 100644
|
2023-08-30 13:55:14 +00:00
|
|
|
--- a/src/main/rpm/macros.xmvngen
|
|
|
|
+++ b/src/main/rpm/macros.xmvngen
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
# Debug enable flag.
|
|
|
|
# Setting this to non-empty value enables debugging output.
|
|
|
|
-%__xmvngen_debug %{nil}
|
|
|
|
+%__xmvngen_debug 1
|
|
|
|
|
|
|
|
# Path to JVM library (libjvm.so). Java 17 or newer is required.
|
2024-02-22 04:34:02 +00:00
|
|
|
%__xmvngen_libjvm %{_jvmdir}/jre-21-openjdk/lib/server/libjvm.so
|
2023-08-30 13:55:14 +00:00
|
|
|
@@ -15,7 +15,7 @@
|
|
|
|
# generator factories (classes implementing GeneratorFactory interface).
|
|
|
|
# Available hook factories are:
|
|
|
|
# * org.fedoraproject.xmvn.generator.jpms.JPMSGeneratorFactory
|
|
|
|
-%__xmvngen_provides_generators %{nil}
|
|
|
|
+%__xmvngen_provides_generators org.fedoraproject.xmvn.generator.jpms.JPMSGeneratorFactory
|
|
|
|
%__xmvngen_requires_generators %{nil}
|
|
|
|
|
|
|
|
# Specify which post-install hooks should be ran.
|
|
|
|
@@ -23,4 +23,4 @@
|
|
|
|
# hook factories (classes implementing HookFactory interface).
|
|
|
|
# Available hook factories are:
|
|
|
|
# * org.fedoraproject.xmvn.generator.transformer.TransformerHookFactory
|
|
|
|
-%__xmvngen_post_install_hooks %{nil}
|
|
|
|
+%__xmvngen_post_install_hooks org.fedoraproject.xmvn.generator.transformer.TransformerHookFactory
|
|
|
|
--
|
|
|
|
2.41.0
|
|
|
|
|