[packages/ant] switch to %use_default_jdk
atler
atler at pld-linux.org
Wed Mar 11 18:55:07 CET 2026
commit db482106f1427530f4e836921cc993cd1cabc685
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Mar 11 16:06:39 2026 +0100
switch to %use_default_jdk
ant.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/ant.spec b/ant.spec
index 2bf52b2..e550d8e 100644
--- a/ant.spec
+++ b/ant.spec
@@ -47,6 +47,8 @@
%undefine with_javadoc
%endif
+%{?use_default_jdk}
+
%define rel 2
Summary: Ant build tool for Java
Summary(fr.UTF-8): Outil de compilation pour java
@@ -83,13 +85,13 @@ URL: https://ant.apache.org/
%{?with_apache_regexp:BuildRequires: java-regexp}
BuildRequires: java-xerces
%{?with_apache_resolver:BuildRequires: java-xml-commons-resolver}
-BuildRequires: jdk >= 1.8
+%buildrequires_jdk
BuildRequires: jpackage-utils
%{?with_apache_bsf:BuildRequires: jython}
BuildRequires: rpm >= 4.4.9-56
BuildRequires: rpm-javaprov
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.300
+BuildRequires: rpmbuild(macros) >= 2.021
Requires: java(jaxp_parser_impl)
Requires: java(xml-commons-apis)
Requires: jpackage-utils
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ant.git/commitdiff/b28e9908ab2dacbea8922aff23c20bb37439dbad
More information about the pld-cvs-commit
mailing list