remove redundant macro pkg_vcmp
This commit is contained in:
parent
71d41d39b0
commit
fd7c833a9d
11
jnr-ffi.spec
11
jnr-ffi.spec
@ -1,6 +1,6 @@
|
|||||||
Name: jnr-ffi
|
Name: jnr-ffi
|
||||||
Version: 2.1.8
|
Version: 2.1.8
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Java Abstracted Foreign Function Layer
|
Summary: Java Abstracted Foreign Function Layer
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: http://github.com/jnr/%{name}/
|
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
|
sed -i 's|-Werror||' libtest/GNUmakefile
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{mvn_build} -f -- \
|
%{mvn_build} -f -- -Dasm.version=7.0
|
||||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
|
||||||
-Dmaven.compiler.release=6 \
|
|
||||||
%endif
|
|
||||||
-Dasm.version=7.0
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
@ -46,5 +42,8 @@ sed -i 's|-Werror||' libtest/GNUmakefile
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 18 2023 chenchen <chen_aka_jan@163.com> - 2.1.8-2
|
||||||
|
- remove redundant macro pkg_vcmp
|
||||||
|
|
||||||
* Fri Jul 31 2020 Jeffery.Gao <gaojianxing@huawei.com> - 2.1.8-1
|
* Fri Jul 31 2020 Jeffery.Gao <gaojianxing@huawei.com> - 2.1.8-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user