From 56fe5fb789dfb496b8a47356379f885da4540bae Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Tue, 31 Jan 2023 07:28:11 +0100 Subject: [PATCH] Add missing Requires on which Resolves: rhbz#2165596 --- maven.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maven.spec b/maven.spec index 7bdf57e..988f58d 100644 --- a/maven.spec +++ b/maven.spec @@ -82,6 +82,8 @@ Requires: %{name}-lib = %{epoch}:%{version}-%{release} Requires: %{name}-jdk-binding = %{epoch}:%{version}-%{release} Suggests: %{name}-openjdk11 = %{epoch}:%{version}-%{release} +Requires: which + Requires(post): alternatives Requires(postun): alternatives @@ -294,6 +296,10 @@ if [[ $1 -eq 0 ]]; then update-alternatives --remove mvn %{homedir}/bin/mvn; fi %config %{_javaconfdir}/maven.conf-openjdk17 %changelog +* Tue Jan 31 2023 Mikolaj Izdebski - 1:3.6.3-15 +- Add missing Requires on which +- Resolves: rhbz#2165596 + * Mon Jan 30 2023 Mikolaj Izdebski - 1:3.6.3-15 - Turn hard dependency on java-devel into a weak dependencny - Resolves: rhbz#2165593