From c6336209b4046cbc29edad1df8f5ab93fb213d64 Mon Sep 17 00:00:00 2001 From: Mat Booth Date: Mar 05 2021 11:06:10 +0000 Subject: Allow building with antrun 3.0.0 --- diff --git a/jffi.spec b/jffi.spec index b20f031..ec5876f 100644 --- a/jffi.spec +++ b/jffi.spec @@ -3,7 +3,7 @@ Name: jffi Version: 1.2.23 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Java Foreign Function Interface License: LGPLv3+ or ASL 2.0 @@ -61,6 +61,9 @@ This package contains the API documentation for %{name}. # Remove pointless parent pom %pom_remove_parent +# Port to maven-antrun-plugin 3.0.0 +sed -i s/tasks/target/ pom.xml + # Allow building on Java 11 for f in src/main/java/com/kenai/jffi/{Foreign,ObjectBuffer}.java version.xml; do # Add the import for @Native @@ -133,6 +136,9 @@ ant -Duse.system.libffi=1 -Drun.jvm.model=-Xmx128m test %license COPYING.GPL COPYING.LESSER LICENSE %changelog +* Fri Mar 05 2021 Mat Booth - 1.2.23-4 +- Allow building with antrun 3.0.0 + * Tue Jan 26 2021 Fedora Release Engineering - 1.2.23-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild