[packages/java-werken-xpath] Use use_default_jdk 8

arekm arekm at pld-linux.org
Sun Apr 5 12:41:52 CEST 2026


commit 25e316f7769d0beb4ddf4feff329a42573fd72dc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Apr 5 12:41:46 2026 +0200

    Use use_default_jdk 8

 java-werken-xpath.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/java-werken-xpath.spec b/java-werken-xpath.spec
index 6ad42ed..3b6c41b 100644
--- a/java-werken-xpath.spec
+++ b/java-werken-xpath.spec
@@ -5,6 +5,8 @@
 %bcond_without	source		# don't build source jar
 %bcond_without	tests		# don't build and run tests
 
+%{?use_default_jdk:%use_default_jdk 8}
+
 
 %define		srcname		werken-xpath
 Summary:	W3C XPath-Rec implementation for DOM4J
@@ -18,8 +20,9 @@ Source0:	http://mesh.dl.sourceforge.net/project/werken-xpath/werken.xpath/0.9.5/
 URL:		http://werken-xpath.sourceforge.net
 BuildRequires:	jpackage-utils
 BuildRequires:	rpm-javaprov
-BuildRequires:	rpmbuild(macros) >= 1.555
+BuildRequires:	rpmbuild(macros) >= 1.556
 BuildRequires:	sed >= 4.0
+%buildrequires_jdk
 Requires:	jpackage-utils
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/java-werken-xpath.git/commitdiff/25e316f7769d0beb4ddf4feff329a42573fd72dc



More information about the pld-cvs-commit mailing list