!9 [sync] PR-7: Fix not stripped problem
From: @openeuler-sync-bot Reviewed-by: @cherry530 Signed-off-by: @cherry530
This commit is contained in:
commit
121d805c0a
@ -1,7 +1,7 @@
|
||||
%global debug_package %nil
|
||||
Name: lz4-java
|
||||
Version: 1.7.1
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: LZ4 compression for Java
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/jpountz/lz4-java
|
||||
@ -57,6 +57,7 @@ javapath=/usr/lib/jvm/$dirname
|
||||
popd
|
||||
export JAVA_HOME=$javapath
|
||||
export LIB_DIR=/usr/lib64/
|
||||
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
|
||||
|
||||
@ -72,6 +73,9 @@ bnd wrap -p lz4-java.bnd -o dist/lz4-java-%{version}.jar --version %{version} di
|
||||
%license LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Fri Mar 3 2023 caodongxia <caodongxia@h-partners.com> - 1.7.1-3
|
||||
- Fix not stripped problem
|
||||
|
||||
* Tue May 10 2022 wangkai <wangkai385@h-partners.com> - 1.7.1-2
|
||||
- License compliance rectification
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user