Compare commits

..

2 commits

Author SHA1 Message Date
Adam Williamson
b6246accae Fix java requirements (#2398212)
With java-latest now being 25, but only java-25 providing the
generic 'java' and 'java-headless' etc., we get file conflicts
if a transaction includes both things that want 'java-25' or
'java-25-headless' and things that want 'java' or 'java-headless'.
This is because dnf prefers java-latest as a provider of the
java-25-* provides (it's versioned higher than the java-25
packages), but only the java-25 packages provide the generic
requirements.

To avoid this making FreeIPA uninstallable, let's get rid of the
generic 'java-headless' requirement. I think f7115aee was meant
to do this already, but missed it.

Also get rid of the now-useless version bounds on requirements
where the java version is included in the requirement name.
2025-09-25 11:10:06 -07:00
dsoumis
1b2f8ef6d9 Update to 10.1.46 upstream release 2025-09-12 17:30:11 +03:00

View file

@ -89,14 +89,14 @@ ExclusiveArch: %{java_arches} noarch
BuildRequires: ant-openjdk25 >= 1.10.2
BuildRequires: ecj >= 4.20
BuildRequires: findutils
BuildRequires: java-25-devel >= 17
BuildRequires: java-25-devel
BuildRequires: javapackages-local-openjdk25
BuildRequires: aqute-bnd
BuildRequires: aqute-bndlib
BuildRequires: systemd
BuildRequires: tomcat-jakartaee-migration
Requires: (java-headless >= 11 or java-25 >= 11)
Requires: (java-25-headless or java-25)
Requires: javapackages-tools
Requires: %{name}-lib = %{epoch}:%{version}-%{release}
%if 0%{?fedora} || 0%{?rhel} > 7
@ -523,6 +523,10 @@ install -m0644 -D tomcat.sysusers.conf %{buildroot}%{_sysusersdir}/tomcat.conf
%{appdir}/ROOT
%changelog
* Thu Sep 25 2025 Adam Williamson <awilliam@redhat.com> - 1:10.1.46-2
- Drop now-unnecessary version bounds in java requirements
- Specify java-25-headless, not java-headless (#2398212)
* Fri Sep 12 2025 Dimitris Soumis <dsoumis@redhat.com> - 1:10.1.46-1
- Update to version 10.1.46