diff --git a/jffi.spec b/jffi.spec index 66bb6f1..9d90147 100644 --- a/jffi.spec +++ b/jffi.spec @@ -3,7 +3,7 @@ Name: jffi Version: 1.2.23 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Java Foreign Function Interface License: LGPLv3+ or ASL 2.0 @@ -97,6 +97,9 @@ cp -p dist/jffi-*-Linux.jar archive/ %mvn_build +# Ensure jar with correct manifest is the one that is installed +cp target/jffi-%{version}-complete.jar target/jffi-%{version}.jar + %install %mvn_install @@ -130,6 +133,9 @@ ant -Duse.system.libffi=1 -Drun.jvm.model=-Xmx128m test %license COPYING.GPL COPYING.LESSER LICENSE %changelog +* Thu Aug 06 2020 Mat Booth - 1.2.23-2 +- Fix OSGi metadata + * Fri Jul 31 2020 Mat Booth - 1.2.23-1 - Update to latest upstream release - Add patch to fix incorrect java version detection of java 9+