diff --git a/jsch.spec b/jsch.spec index cba6b25..53dd0b6 100644 --- a/jsch.spec +++ b/jsch.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: jsch Version: 0.2.15 Release: 0 @@ -36,9 +39,6 @@ BuildRequires: javapackages-local >= 6 BuildRequires: jna BuildRequires: jna-contrib BuildRequires: slf4j -# 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