diff options
author | Przemysław R. Pietraszczyk <prymula76@outlook.com> | 2024-09-21 20:50:32 +0200 |
---|---|---|
committer | Przemysław R. Pietraszczyk <prymula76@outlook.com> | 2024-09-21 20:50:32 +0200 |
commit | b50f5bd6da084acbd6f0711e5a1bf58bb142a737 (patch) | |
tree | edaa764ecaadd8663159399ead77c13888ee1005 | |
parent | bc91c5437f6b0a874ceb3532cb73b726ac678df0 (diff) |
Spec file fix
-rw-r--r-- | desktop/samegame/RPM/samegame.spec | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/desktop/samegame/RPM/samegame.spec b/desktop/samegame/RPM/samegame.spec index b3a1dbf..8dc2bbc 100644 --- a/desktop/samegame/RPM/samegame.spec +++ b/desktop/samegame/RPM/samegame.spec @@ -23,13 +23,20 @@ Summary: My implementation Same Game 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 |