From eb27d5c426a8fc60a277367fdaafd652f2431724 Mon Sep 17 00:00:00 2001 From: cherry530 <707078654@qq.com> Date: Wed, 28 Jun 2023 17:54:34 +0800 Subject: [PATCH] fix %pkg_vcmp not being recognized Signed-off-by: cherry530 <707078654@qq.com> (cherry picked from commit 36c552c748f8a78730baeb2cda3c49d1835be27d) --- jffi.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/jffi.spec b/jffi.spec index 186a6e4..3142339 100644 --- a/jffi.spec +++ b/jffi.spec @@ -2,7 +2,7 @@ %global sover 1.2 Name: jffi Version: 1.2.13 -Release: 1 +Release: 2 Summary: Java Foreign Function Interface License: LGPL-3.0-or-later OR Apache-2.0 URL: http://github.com/jnr/jffi @@ -37,9 +37,7 @@ This package contains the API documentation for %{name}. %patch0 %patch1 %patch2 -%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 1.8}%{!?pkg_vcmp:0} %patch3 -p1 -%endif %patch4 sed -i.cpu -e '/m\$(MODEL)/d' jni/GNUmakefile libtest/GNUmakefile rm -rf archive/* jni/libffi/ jni/win32/ lib/CopyLibs/ lib/junit* @@ -83,5 +81,8 @@ ant -Duse.system.libffi=1 test %doc COPYING.GPL COPYING.LESSER LICENSE %changelog +* Wed Jun 28 2023 xu_ping <70707865@qq.com> - 1.2.13-2 +- fix %pkg_vcmp not being recognized + * Thu Jul 30 2020 Jeffery.Gao - 1.2.13-1 - Package init