diff options
author | Jan Palus | 2023-07-06 22:46:25 (GMT) |
---|---|---|
committer | Jan Palus | 2023-07-06 22:46:25 (GMT) |
commit | a71f45f39976f9ce7f8166b0e3f0b66355bb70b1 (patch) | |
tree | bce829ddbe7f24eb0b5f2fbb5cd1ef70c20da85b /graphviz.spec | |
parent | d176a16f8f99eac1b9a257093ebc6405156c4d4e (diff) | |
download | graphviz-a71f45f39976f9ce7f8166b0e3f0b66355bb70b1.zip graphviz-a71f45f39976f9ce7f8166b0e3f0b66355bb70b1.tar.gz |
switch to %use_default_jdk
Diffstat (limited to 'graphviz.spec')
-rw-r--r-- | graphviz.spec | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/graphviz.spec b/graphviz.spec index 71f0ab1..bc1f622 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -50,6 +50,9 @@ %undefine with_python2 %undefine with_python3 %endif + +%{?with_java:%{?use_default_jdk}} + Summary: Graph Visualization Tools Summary(pl.UTF-8): Narzędzie do wizualizacji w postaci grafów Name: graphviz @@ -98,7 +101,7 @@ BuildRequires: gts-devel %{?with_guile:BuildRequires: guile-devel >= 2.0} #BuildRequires: io %if %{with java} -BuildRequires: jdk +%{?use_jdk:%buildrequires_jdk}%{!?use_jdk:BuildRequires: jdk} BuildRequires: jpackage-utils %endif BuildRequires: libLASi-devel @@ -133,7 +136,7 @@ BuildRequires: poppler-glib-devel %{?with_python3:BuildRequires: python3-devel >= 1:3.6} %{?with_perl:BuildRequires: rpm-perlprov} %{?with_python:BuildRequires: rpm-pythonprov} -BuildRequires: rpmbuild(macros) >= 1.696 +BuildRequires: rpmbuild(macros) >= 2.021 %{?with_ruby:BuildRequires: ruby-devel >= 1.9} BuildRequires: sed >= 4.0 # swig-csharp,swig-go,swig-java,swig-lua,swig-ocaml in main swig |