Add missing Requires on which

Resolves: rhbz#2165596
This commit is contained in:
Mikolaj Izdebski 2023-01-31 07:28:11 +01:00
parent 5f6b3fd26a
commit 56fe5fb789

View File

@ -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 <mizdebsk@redhat.com> - 1:3.6.3-15
- Add missing Requires on which
- Resolves: rhbz#2165596
* Mon Jan 30 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.6.3-15
- Turn hard dependency on java-devel into a weak dependencny
- Resolves: rhbz#2165593