Fix build with java 25

This commit is contained in:
Fridrich Štrba
2025-10-23 17:53:34 +02:00
parent 17a1b8ad13
commit ca40ff5232
3 changed files with 29 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ URL: http://www.functionaljava.org/
Source0: https://github.com/functionaljava/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: https://repo1.maven.org/maven2/org/%{name}/%{name}/%{version}/%{name}-%{version}.pom
Source2: https://repo1.maven.org/maven2/org/%{name}/%{name}-java-core/%{version}/%{name}-java-core-%{version}.pom
Patch0: %{name}-java25.patch
BuildRequires: maven-local
BuildArch: noarch
@@ -59,6 +60,7 @@ API documentation for %{name}.
%prep
%setup -q
%patch -P 0 -p1
cp %{SOURCE1} core/pom.xml
cp %{SOURCE2} java-core/pom.xml