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