summaryrefslogtreecommitdiff
path: root/RPM/kopieckreta.spec
diff options
context:
space:
mode:
Diffstat (limited to 'RPM/kopieckreta.spec')
-rw-r--r--RPM/kopieckreta.spec19
1 files changed, 13 insertions, 6 deletions
diff --git a/RPM/kopieckreta.spec b/RPM/kopieckreta.spec
index 0daa38a..23f3487 100644
--- a/RPM/kopieckreta.spec
+++ b/RPM/kopieckreta.spec
@@ -15,21 +15,28 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%define unmangled_version 0.230924-3
+%define unmangled_version 0.230924-4
Name: kopieckreta
Version: 0.230924
-Release: 3
+Release: 4
Summary: My version of the Pyramid of Words
License: GPL
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