diff --git a/jnr-ffi.spec b/jnr-ffi.spec index f26b16c..06e6c60 100644 --- a/jnr-ffi.spec +++ b/jnr-ffi.spec @@ -1,6 +1,6 @@ Name: jnr-ffi Version: 2.1.8 -Release: 1 +Release: 2 Summary: Java Abstracted Foreign Function Layer License: Apache-2.0 URL: http://github.com/jnr/%{name}/ @@ -29,11 +29,7 @@ find -name '*.jar' -o -name '*.class' -exec rm -f '{}' \; sed -i 's|-Werror||' libtest/GNUmakefile %build -%{mvn_build} -f -- \ -%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} - -Dmaven.compiler.release=6 \ -%endif - -Dasm.version=7.0 +%{mvn_build} -f %install %mvn_install @@ -46,5 +42,8 @@ sed -i 's|-Werror||' libtest/GNUmakefile %license LICENSE %changelog +* Tue Nov 29 2022 xu_ping - 2.1.8-2 +- Remove unuse code + * Fri Jul 31 2020 Jeffery.Gao - 2.1.8-1 - Package init