From 26241fc3994ceb97e7c3a052204befdb60e83c86 Mon Sep 17 00:00:00 2001 From: panchenbo Date: Thu, 20 Jun 2024 14:29:33 +0800 Subject: [PATCH] modify /usr/lib64 to %{_libdir} --- lz4-java.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lz4-java.spec b/lz4-java.spec index d54c7ec..00c800b 100644 --- a/lz4-java.spec +++ b/lz4-java.spec @@ -1,7 +1,7 @@ %global debug_package %nil Name: lz4-java Version: 1.7.1 -Release: 3 +Release: 4 Summary: LZ4 compression for Java License: Apache-2.0 URL: https://github.com/jpountz/lz4-java @@ -56,7 +56,7 @@ dirname=`ls | grep java-1.8.0-openjdk-` javapath=/usr/lib/jvm/$dirname popd export JAVA_HOME=$javapath -export LIB_DIR=/usr/lib64/ +export LIB_DIR=%{_libdir} sed -i '$a\ strip $(BUILD_DIR)/jni/net/jpountz/util/$(PLATFORM)/$(ARCH)/liblz4-java.so' Makefile ant -Divy.mode=local -Divy.revision=1.7.1 -Divy.pom.version=1.7.1 jar test docs makepom bnd wrap -p lz4-java.bnd -o dist/lz4-java-%{version}.jar --version %{version} dist/lz4-java.jar @@ -73,6 +73,9 @@ bnd wrap -p lz4-java.bnd -o dist/lz4-java-%{version}.jar --version %{version} di %license LICENSE.txt %changelog +* Thu Jun 20 2024 panchenbo - 1.7.1-4 +- modify /usr/lib64 to %{_libdir} + * Fri Mar 3 2023 caodongxia - 1.7.1-3 - Fix not stripped problem -- Gitee