summaryrefslogtreecommitdiff
path: root/RPM
diff options
context:
space:
mode:
Diffstat (limited to 'RPM')
-rw-r--r--RPM/colorsmemory.spec17
1 files changed, 12 insertions, 5 deletions
diff --git a/RPM/colorsmemory.spec b/RPM/colorsmemory.spec
index 0a92fb1..b948f7f 100644
--- a/RPM/colorsmemory.spec
+++ b/RPM/colorsmemory.spec
@@ -21,15 +21,22 @@ Version: 0.210503
Release: 2
Summary: My implementation Memory game
License: GPL
-URL: https://prymula.ct8.pl
+URL: https://pietraszczyk.smallhost.pl
Source0: %{name}-%{unmangled_version}.tar.gz
-%if 0%{?suse_version}==1530
+
+%if 0%{?suse_version} > 1600
+BuildRequires: java-21-openjdk, ant
+Requires: java-21-openjdk
+%endif
+%if 0%{?sle_version} >= 150400 && 0%{?is_opensuse}
BuildRequires: java-11-openjdk, ant
Requires: java-11-openjdk
-%else
-BuildRequires: java-11-openjdk, ant
-Requires: java-11-openjdk
%endif
+%if 0%{?fedora} >= 37
+BuildRequires: java-latest-openjdk, ant
+Requires: java-latest-openjdk
+%endif
+
BuildArch: noarch
%description