commit 2d5591a1107ea04e2ab5db2828b409b56ee56c36
Author: Jan Palus <at...@pld-linux.org>
Date:   Fri Dec 29 11:28:46 2023 +0100

    switch to %use_default_jdk

 subversion.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/subversion.spec b/subversion.spec
index 43d0df3..147a9ed 100644
--- a/subversion.spec
+++ b/subversion.spec
@@ -49,7 +49,7 @@
 %define        pdir    SVN
 %define        pnam    _Core
 
-%define                use_jdk         openjdk8
+%{?with_java:%{?use_default_jdk}}
 
 Summary:       A Concurrent Versioning system similar to but better than CVS
 Summary(pl.UTF-8):     System kontroli wersji podobny, ale lepszy, niż CVS
@@ -112,7 +112,7 @@ BuildRequires:      python3 >= 1:3.2
 %endif
 BuildRequires: rpm-build >= 4.6
 BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.752
+BuildRequires: rpmbuild(macros) >= 2.021
 BuildRequires: sed >= 4.0
 BuildRequires: serf-devel >= 1.3.4
 BuildRequires: sqlite3-devel >= 3.8.11.1
@@ -120,7 +120,7 @@ BuildRequires:      texinfo
 BuildRequires: which
 BuildRequires: zlib-devel >= 1.2
 %if %{with java}
-BuildRequires: openjdk8-jdk-base
+%buildrequires_jdk
 BuildRequires: libstdc++-devel >= 6:4.7
 %endif
 %if %{with perl}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/subversion.git/commitdiff/c077d6a5825be6b42199b82d4b2096662f3cfc91

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to