summaryrefslogtreecommitdiff
path: root/RPM
diff options
context:
space:
mode:
authorPrzemysław R. Pietraszczyk <prymula76@outlook.com>2024-09-21 21:08:02 +0200
committerPrzemysław R. Pietraszczyk <prymula76@outlook.com>2024-09-21 21:08:02 +0200
commit5f063db194796565fcce9725dbf7aa5c4b6ca683 (patch)
treeaa45ecf30d06e3ecffbbd5b606e6f99062a6c7df /RPM
parent18e499686d1c9991b65dc79272038b291bc14c5d (diff)
Spec file fix, language fix
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