diff --git a/SPECS/hawtjni.spec b/SPECS/hawtjni.spec index b9fefc9..79c9830 100644 --- a/SPECS/hawtjni.spec +++ b/SPECS/hawtjni.spec @@ -1,6 +1,9 @@ +# rhbz#1654188 - hawtjni should depend on java-deadless rather than java +%global __requires_exclude ^java + Name: hawtjni Version: 1.6 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Code generator that produces the JNI code License: ASL 2.0 and EPL and BSD URL: http://hawtjni.fusesource.org/ @@ -30,6 +33,8 @@ BuildRequires: fusesource-pom BuildRequires: felix-parent BuildRequires: xbean +Requires: java-headless + %description HawtJNI is a code generator that produces the JNI code needed to implement java native methods. It is based on the jnigen code generator @@ -44,6 +49,7 @@ This package contains the API documentation for %{name}. %package -n maven-%{name}-plugin Summary: Use HawtJNI from a maven plugin +Requires: java-headless %description -n maven-%{name}-plugin This package allows to use HawtJNI from a maven plugin. @@ -75,6 +81,10 @@ This package allows to use HawtJNI from a maven plugin. %doc license.txt %changelog +* Tue Mar 26 2019 Mikolaj Izdebski - 1.6-10 +- Require java-headless instead of java +- Resolves: rhbz#1654188 + * Fri Dec 27 2013 Daniel Mach - 1.6-9 - Mass rebuild 2013-12-27