diff --git a/SPECS/hawtjni.spec b/SPECS/hawtjni.spec index ce991ff..5ce7fe6 100644 --- a/SPECS/hawtjni.spec +++ b/SPECS/hawtjni.spec @@ -4,7 +4,7 @@ Name: %{?scl_prefix}%{pkg_name} Version: 1.6 -Release: 9.13%{?dist} +Release: 9.14%{?dist} Summary: Code generator that produces the JNI code License: ASL 2.0 and EPL and BSD URL: http://hawtjni.fusesource.org/ @@ -39,6 +39,13 @@ implement java native methods. It is based on the jnigen code generator that is part of the SWT Tools project which is used to generate all the JNI code which powers the eclipse platform. +%package runtime +Summary: HawtJNI Runtime + +%description runtime +This package provides API that projects using HawtJNI should build +against. + %package javadoc Summary: Javadocs for %{pkg_name} @@ -63,6 +70,7 @@ set -e -x %patch5 -p1 %mvn_file ":{*}" @1 %mvn_package ":*{plugin}" @1 +%mvn_package ":hawtjni-runtime" runtime %{?scl:EOF} %build @@ -78,6 +86,8 @@ set -e -x %{?scl:EOF} %files -f .mfiles + +%files runtime -f .mfiles-runtime %doc readme.md license.txt changelog.md %files javadoc -f .mfiles-javadoc @@ -87,6 +97,10 @@ set -e -x %doc license.txt %changelog +* Mon Jan 16 2017 Michael Simacek - 1.6-9.14 +- Split runtime into subpackage +- Resolves: rhbz#413544 + * Mon Apr 27 2015 Mikolaj Izdebski - 1.6-9.13 - Rebuild for final RHSCL 2.0 release