diff --git a/0001-add-loongarch64-support-for-tongsuo3.patch b/0002-add-loongarch64-support-for-tongsuo3.patch similarity index 100% rename from 0001-add-loongarch64-support-for-tongsuo3.patch rename to 0002-add-loongarch64-support-for-tongsuo3.patch diff --git a/8.4.0-pre2.tar.gz b/8.4.0.tar.gz similarity index 64% rename from 8.4.0-pre2.tar.gz rename to 8.4.0.tar.gz index 6a94a5c0452e30b990da3e0c85b51484892a918e..8a7841049d6b22145e559c57949de396b73ff29d 100644 Binary files a/8.4.0-pre2.tar.gz and b/8.4.0.tar.gz differ diff --git a/tongsuo3.spec b/tongsuo3.spec index 24b2bf1df5f80ff79a496c326fd0e352d077229d..45ec65dcc74838fa30dced732357a1ead64aa4b2 100644 --- a/tongsuo3.spec +++ b/tongsuo3.spec @@ -1,4 +1,4 @@ -%define anolis_release 3 +%define anolis_release 1 %define install_prefix /opt/tongsuo3 @@ -13,16 +13,16 @@ %global IMPORTNAME %{DOMAIN}/%{ORG}/%{PROJECT} Name: tongsuo3 -Version: 8.4.0~pre2 +Version: 8.4.0 Release: %{anolis_release}%{?dist} Summary: A Modern Cryptographic Primitives and Protocols Library Group: System Environment/Libraries License: Apache-2.0 Url: https://www.yuque.com/tsdoc -Source0: https://github.com/Tongsuo-Project/Tongsuo/archive/refs/tags/8.4.0-pre2.tar.gz +Source0: https://github.com/Tongsuo-Project/Tongsuo/archive/refs/tags/%{version}.tar.gz Patch1: 0001-use-relative-path-for-tongsuo-symlink.patch -Patch2: 0001-add-loongarch64-support-for-tongsuo3.patch +Patch2: 0002-add-loongarch64-support-for-tongsuo3.patch # For build BuildRequires: perl(Config) @@ -46,7 +46,7 @@ Provides: tongsuo3 = %{version} A Modern Cryptographic Primitives and Protocols Library. %prep -%autosetup -n Tongsuo-8.4.0-pre2 -p1 +%autosetup -n Tongsuo-%{version} -p1 %build sslarch=%{_os}-%{_target_cpu} @@ -65,7 +65,7 @@ sslarch=linux-loongarch64 %endif ./Configure \ - --prefix=%{install_prefix} -Wl,-rpath,%{install_prefix}/lib64 \ + --prefix=%{install_prefix} --libdir=%{install_prefix}/%{_lib} -Wl,-rpath,%{install_prefix}/%{_lib} \ ${sslarch} enable-shared no-static-engine \ enable-dynamic-engine enable-tls1_3 enable-ssl3 enable-ssl3-method \ enable-weak-ssl-ciphers enable-evp-cipher-api-compat enable-status \ @@ -93,6 +93,9 @@ export QA_RPATHS=$(( 0x0002 )) %dir %{install_prefix} %changelog +* Wed Dec 27 2023 Funda Wang - 8.4.0-1 +- New version 8.4.0 + * Thu Nov 16 2023 Wenlong Zhang - 8.4.0~pre2-3 - add loongarch64 support for tongsuo3