diff options
author | Przemysław R. Pietraszczyk <prymula76@outlook.com> | 2024-09-21 21:08:02 +0200 |
---|---|---|
committer | Przemysław R. Pietraszczyk <prymula76@outlook.com> | 2024-09-21 21:08:02 +0200 |
commit | 5f063db194796565fcce9725dbf7aa5c4b6ca683 (patch) | |
tree | aa45ecf30d06e3ecffbbd5b606e6f99062a6c7df /RPM | |
parent | 18e499686d1c9991b65dc79272038b291bc14c5d (diff) |
Spec file fix, language fix
Diffstat (limited to 'RPM')
-rw-r--r-- | RPM/colorsmemory.spec | 17 |
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 |