[packages/openjdk17] noautoreq on libjli.so to avoid poldek's confusion

atler atler at pld-linux.org
Thu Dec 12 18:07:30 CET 2024


commit 8cac21d058fce880a4af2c887f5b4bd2e96d3dce
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Dec 12 17:21:42 2024 +0100

    noautoreq on libjli.so to avoid poldek's confusion
    
    when no java package is installed and user attempts -jdk-base
    installation poldek mistakenly offers all of *-jre-base packages
    available to satisfy libjli.so autoreq even though -jdk-base has strict
    dep on -jre-base

 openjdk17.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/openjdk17.spec b/openjdk17.spec
index a4a0b45..468f000 100644
--- a/openjdk17.spec
+++ b/openjdk17.spec
@@ -104,7 +104,7 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		jvmjardir	%{_jvmjardir}/%{name}-%{version}
 
 # to break artificial subpackage dependency loops
-%define		_noautoreq	'libmawt.so' java\\\\(ClassDataVersion\\\\)
+%define		_noautoreq	libjli.so 'libmawt.so' java\\\\(ClassDataVersion\\\\)
 
 # openjdk build system handles _FORTIFY_SOURCE internally
 %undefine	_fortify_cflags
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjdk17.git/commitdiff/cbbba9c44d5f78b6f1fdf098be99032166e3f6ac



More information about the pld-cvs-commit mailing list