From 639ad85d962c38e19e21576de1a52d0ba77554f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E7=94=B0=E9=9B=AA?= Date: Mon, 12 Jun 2023 12:07:33 +0000 Subject: [PATCH 1/2] remove redundant macros %pkg_vcmp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 胡田雪 --- jffi.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jffi.spec b/jffi.spec index f66be0b..10b04de 100644 --- a/jffi.spec +++ b/jffi.spec @@ -2,7 +2,7 @@ %global sover 1.2 Name: jffi Version: 1.2.13 -Release: 3 +Release: 4 Summary: Java Foreign Function Interface License: LGPL-3.0-or-later OR Apache-2.0 URL: http://github.com/jnr/jffi @@ -19,7 +19,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. @@ -40,9 +39,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 %ifarch loongarch64 %patch5 -p1 @@ -89,6 +86,9 @@ ant -Duse.system.libffi=1 test %doc COPYING.GPL COPYING.LESSER LICENSE %changelog +* Mon Jun 12 2023 Wenlong Zhang - 1.2.13-4 +- remove redundant macros %pkg_vcmp + * Thu May 18 2023 Wenlong Zhang - 1.2.13-3 - fix build error for loongarch64 From 9fde14f3c9953dfd3960944c789ac9035e9ae676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E7=94=B0=E9=9B=AA?= Date: Mon, 12 Jun 2023 12:23:45 +0000 Subject: [PATCH 2/2] remove redundant macros %pkg_vcmp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 胡田雪 --- jffi.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jffi.spec b/jffi.spec index 10b04de..95db986 100644 --- a/jffi.spec +++ b/jffi.spec @@ -86,7 +86,7 @@ ant -Duse.system.libffi=1 test %doc COPYING.GPL COPYING.LESSER LICENSE %changelog -* Mon Jun 12 2023 Wenlong Zhang - 1.2.13-4 +* Mon Jun 12 2023 hutianxue - 1.2.13-4 - remove redundant macros %pkg_vcmp * Thu May 18 2023 Wenlong Zhang - 1.2.13-3