diff options
author | Przemysław R. Pietraszczyk <prymula76@outlook.com> | 2024-09-21 21:00:34 +0200 |
---|---|---|
committer | Przemysław R. Pietraszczyk <prymula76@outlook.com> | 2024-09-21 21:00:34 +0200 |
commit | 00097492cdbdade6bb97bc8b70e3eb09154888a9 (patch) | |
tree | a8c201894b204581c8cbc651c0e83da6ceb851d3 /RPM/kopieckreta.spec | |
parent | 3120c5a554478bb18fa5c375a95e03e3771fd340 (diff) |
Diffstat (limited to 'RPM/kopieckreta.spec')
-rw-r--r-- | RPM/kopieckreta.spec | 19 |
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 |