From 3423a83a36ae51d6a4dd64ab1629440865a4aabf Mon Sep 17 00:00:00 2001 From: cherry530 <707078654@qq.com> Date: Tue, 11 Jul 2023 10:48:10 +0800 Subject: [PATCH] refix pkg_vcmp macro not being recognized Signed-off-by: cherry530 <707078654@qq.com> --- jffi.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jffi.spec b/jffi.spec index e33b766..056e0a0 100644 --- a/jffi.spec +++ b/jffi.spec @@ -2,7 +2,7 @@ %global sover 1.2 Name: jffi Version: 1.2.13 -Release: 2 +Release: 3 Summary: Java Foreign Function Interface License: LGPL-3.0-or-later OR Apache-2.0 URL: http://github.com/jnr/jffi @@ -18,7 +18,6 @@ BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) -BuildRequires: apache-parent %description An optimized Java interface to libffi. @@ -39,9 +38,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* @@ -85,6 +82,9 @@ ant -Duse.system.libffi=1 test %doc COPYING.GPL COPYING.LESSER LICENSE %changelog +* Tue Jul 11 2023 xu_ping <707078654@qq.com> - 1.2.13-3 +- refix pkg_vcmp macro not being recognized + * Mon Dec 06 2021 xu_ping - 1.2.13-2 - Add Buildrequires apache-parent package to fix %pkg_vcmp not being recognized