diff --git a/plexus-languages.spec b/plexus-languages.spec index 4da078c..935646c 100644 --- a/plexus-languages.spec +++ b/plexus-languages.spec @@ -16,6 +16,9 @@ # +# The automatic requires would be java-headless >= 9, but the +# binaries are java 8 compatible +%define __requires_exclude java-headless Name: plexus-languages Version: 1.2.0 Release: 0 @@ -36,9 +39,6 @@ BuildRequires: objectweb-asm BuildRequires: plexus-containers-component-annotations BuildRequires: qdox >= 2 BuildRequires: sisu-inject -# The automatic requires would be java-headless >= 9, but the -# binaries are java 8 compatible -%define __requires_exclude java-headless Requires: java-headless >= 1.8 BuildArch: noarch