From b229bc70004ee500006ed6680ae423b26d2d6d75 Mon Sep 17 00:00:00 2001 From: Hugel <2712504175@qq.com> Date: Wed, 5 Jan 2022 09:50:03 +0800 Subject: [PATCH 1/2] add openssl to BuildRequires for make check --- openssl-pkcs11.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openssl-pkcs11.spec b/openssl-pkcs11.spec index 5f1c532..4107f9f 100644 --- a/openssl-pkcs11.spec +++ b/openssl-pkcs11.spec @@ -1,13 +1,13 @@ Name: openssl-pkcs11 Version: 0.4.11 -Release: 3 +Release: 4 Summary: A PKCS#11 engine for use with OpenSSL License: LGPLv2+ and BSD URL: https://github.com/OpenSC/libp11 Source0: https://github.com/OpenSC/libp11/releases/download/libp11-%{version}/libp11-%{version}.tar.gz BuildRequires: openssl-devel autoconf automake libtool -BuildRequires: softhsm opensc procps-ng p11-kit +BuildRequires: softhsm opensc procps-ng p11-kit openssl Provides: libp11 = %{version}-%{release} Obsoletes: libp11 < 0.4.7-4 @@ -80,6 +80,9 @@ strip %{_builddir}/libp11-%{version}/examples/.libs/lt-* %exclude %{_defaultdocdir}/libp11/* %changelog +* Wed Jan 5 2022 Hugel - 0.4.11-4 +- add openssl to BuildRequires for make check + * Tue Mar 30 2021 lirui - 0.4.11-3 - strip binary files -- Gitee From afa5275a48b372774159963c76e280ba19d9a9c4 Mon Sep 17 00:00:00 2001 From: fuanan <2385803914@qq.com> Date: Thu, 24 Mar 2022 15:57:38 +0800 Subject: [PATCH 2/2] remove rpath files of lt-auth and lt-listkeys --- openssl-pkcs11.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/openssl-pkcs11.spec b/openssl-pkcs11.spec index 4107f9f..904ffcb 100644 --- a/openssl-pkcs11.spec +++ b/openssl-pkcs11.spec @@ -1,6 +1,6 @@ Name: openssl-pkcs11 Version: 0.4.11 -Release: 4 +Release: 5 Summary: A PKCS#11 engine for use with OpenSSL License: LGPLv2+ and BSD URL: https://github.com/OpenSC/libp11 @@ -8,6 +8,7 @@ Source0: https://github.com/OpenSC/libp11/releases/download/libp11-%{vers BuildRequires: openssl-devel autoconf automake libtool BuildRequires: softhsm opensc procps-ng p11-kit openssl +BuildRequires: chrpath Provides: libp11 = %{version}-%{release} Obsoletes: libp11 < 0.4.7-4 @@ -54,6 +55,8 @@ popd %check make check strip %{_builddir}/libp11-%{version}/examples/.libs/lt-* +#remove rpath files +chrpath -d %{_builddir}/libp11-%{version}/examples/.libs/lt-* %pre @@ -80,6 +83,9 @@ strip %{_builddir}/libp11-%{version}/examples/.libs/lt-* %exclude %{_defaultdocdir}/libp11/* %changelog +* Thu Mar 24 2022 fuanan - 0.4.11-5 +- remove rpath files of lt-auth and lt-listkeys + * Wed Jan 5 2022 Hugel - 0.4.11-4 - add openssl to BuildRequires for make check -- Gitee