[packages/openpace] switch to %use_default_jdk
atler
atler at pld-linux.org
Tue Apr 28 00:14:56 CEST 2026
commit 966fc94cefab010fdb5ea753c91ad29ade4f0a62
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Apr 28 00:12:10 2026 +0200
switch to %use_default_jdk
openpace.spec | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/openpace.spec b/openpace.spec
index 70dcb35..ddbed17 100644
--- a/openpace.spec
+++ b/openpace.spec
@@ -7,6 +7,9 @@
%bcond_without python # Python binding
%bcond_without ruby # Ruby binding
#
+
+%{?with_java:%{?use_default_jdk}}
+
Summary: Cryptographic library for EAC version 2
Summary(pl.UTF-8): Biblioteka kryptograficzna do EAC v2
Name: openpace
@@ -27,12 +30,13 @@ BuildRequires: doxygen
%{?with_golang:BuildRequires: gcc-go}
BuildRequires: gengetopt
BuildRequires: help2man
-%{?with_java:BuildRequires: jdk}
+%{?with_java:%buildrequires_jdk}
BuildRequires: libtool
BuildRequires: openssl-devel >= 1.0.2
BuildRequires: pkgconfig
%{?with_python:BuildRequires: python-devel >= 2}
%{?with_python:BuildRequires: python-setuptools}
+BuildRequires: rpmbuild(macros) >= 2.021
%{?with_ruby:BuildRequires: ruby-devel}
BuildRequires: sphinx-pdg
BuildRequires: swig
@@ -152,7 +156,8 @@ Wiązania języka Ruby do biblioteki OpenPACE.
%{__automake}
%configure \
PYTHON=%{__python} \
- JAVAC=javac \
+ JAVAC="%{javac}" \
+ _ACJNI_JAVAC="%{javac}" \
%{?with_golang:--enable-go} \
%{?with_java:--enable-java} \
%{?with_python:--enable-python} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openpace.git/commitdiff/966fc94cefab010fdb5ea753c91ad29ade4f0a62
More information about the pld-cvs-commit
mailing list