remove unuse code
Signed-off-by: cherry530 <xuping33@huawei.com> (cherry picked from commit 1583086b1e994c91300bb3a03d56955317aecb52)
This commit is contained in:
parent
71d41d39b0
commit
7fe6711af1
11
jnr-ffi.spec
11
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 <xuping33@h-partners.com> - 2.1.8-2
|
||||
- Remove unuse code
|
||||
|
||||
* Fri Jul 31 2020 Jeffery.Gao <gaojianxing@huawei.com> - 2.1.8-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user